Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Elian (119)

Elian
  (email not shown publicly)
http://www.sidhe.org/~dan/
AOL IM: DanSugalski (Add Buddy, Send Message)

Perl 6/Parrot internals ex-design team lead.

Journal of Elian (119)

Thursday May 09, 2002
11:45 AM

Facing the cascading upgrade hell

[ #4794 ]

So, I installed SpamAssassin. It's been only a few hours, and I love it already. Unfortunately one of the things I'd hope it would catch, it doesn't--the klez worm and its kindred. I've no complaints about that, though, as it never claimed it did, and what it does it does really well.

Since I still want Klez dead, that means Plan B. In this case, MIMEDefang from Roaring Penguin. That's fine, except it wants Sendmail 8.12.x, while I'm running a RedHat build of 8.11.x. (Which I manage, no less, through the mailconf portion of linuxconf) There are many things I like doing, but rebuilding sendmail is not one of them. Every time I do, something gets screwed up, probably because I insist on using a custom config setup with a tool that hates custom configs. (I keep my mailing list aliases in a separate aliases file, though given how often they change there's little point these days)

Of course, I'm also running a 2.2.something linux kernel, with an older glibc, so I have no doubt that when I go to build the new sendmail I'll find a dozen other upgrades needed, and each of those will will want a dozen upgrades more...

It's times like this I really miss the VMS "stable API with backwards compatibility" mindset. :(

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I filter on a "Content-ID" header in the body. I procmail those to a mailfile that I periodically check and clean. I've only had about ten pieces of mail end up in that box that weren't Klez since I started doing that. It appears that MH or Pine sometimes (and I don't know when) adds the Content-ID header to attachments. Every bloody Klez virus has that header, though.

    --Nat

    • Hrm. Sounds like a good thing to add to SpamAssassin's ruleset. I think I shall go do that. Thanks!
    • We'll see if it catches non-klez mail, but for now, this SpamAssassin rule:

          rawbody CONTENT_ID /^Content-ID:/is
          describe CONTENT_ID Content-id in the body usually means Klez
          score CONTENT_ID 5.6

      looks to be a winner.
  • if you used qmail and qpsmtpd [develooper.com] you could just use our klez patch [perl.org] to filter it out.
    --

    -- ask bjoern hansen [askbjoernhansen.com], !try; do();

    • Yeah, but that'd require using qmail. Alas, I have non-technical issues with it, so I don't. (Not that I'd be looking forward to getting the sendmail->qmail transition done well--I'm not a Unix sysadmin by trade)
  • This is probably our number one question about spamassassin. My response is that catching viruses is a hell of a different task to catching spam. While the engine is similar, the structure around it is different (it's kinda like the difference between a car and a boat).

    Heuristically detecting viruses is a bitch of a problem. Well not exactly a bitch, it's actually far easier than detecting spam because you can determine that something is trying to do something malicious (even in PE code) (I had a talk abou
    • I'm fine with SpamAssassin not doing virus detection. (Not that it matters, as there aren't any functional WinBoxes around the house) I was just kinda hopeful that the klez worm mail would have a distinctive enough signature that it'd be able to detect it without me actually having to do any work. :)

      Still, can't complain--it works as advertised, and rather well at that. And thanks to Nat, I managed to abuse it into doing things it didn't advertise, so I'm happy. It's on my permanent list 'o cool system uti
      • Now if we could just get these twits to stop doing this sort of nonsense in the first place....

        Hey don't say that! If it wasn't for microsoft and their great security I wouldn't have a job ;-)

        I'd give you the key to detecting all Klez variants if I knew exactly what it was myself, but I can't grok our AV guy's code. It's something to do with disassembling the PE code (Win32 binary) and detecting it based on the lack of the CompanyName header in there. Or something like that.

        Also of interest may be OpenA [openantivirus.org]
        • I'm sure you could find something useful to do with your time if you weren't writing virus filtering code. :)

          I threw a rule with a weight of 5.6 in my SpamAssassin config files for messages with a Content-ID: header in the body. Rumor has it that it's not a 100% guarantee, but it's working as a filter trigger for me.