Slashdot Mirror


Klez: a closer look

sheriff_p writes "Anyone recieving even a small amount of email is likely to have encountered Klez varients of some form in the last few months - Message Labs shows it as being the biggest email-transmitted virus of all time by some way. So just how boring is it? Virus Bulletin has an indepth look at what makes Klez tick." And today alone, Klez virus e-mails were 90% of my e-mail by bytecount. YAY Outlook!

67 of 196 comments (clear)

  1. Nice article by stevenbee · · Score: 5, Insightful
    I appreciate the fact that they acknowledge the role played by social engineering as a vector.
    As I have tried to explain to my more gullible user-friends, a little crankiness goes a long way
    towards virus protection!

    : )

    --
    Don't read this!
  2. Follow the Yellow Klez road. by tcd004 · · Score: 5, Interesting

    Klez has been great for my company! We just classify every copy of Klez we receive as "corporate acquistion of capital" and assign it a monetary value. We've got 6.2 billion in Klez inventory baby!

    But seriously...127K seems to be the magic number for Klez.
    So couldn't a filter simply be set up to block all emails 127k in size?

    tcd004

    1. Re:Follow the Yellow Klez road. by jandrese · · Score: 4, Interesting

      Maybe we should start doing that for all mail trojans? I know I'd be thrilled to discover that man of various random sizes might disappear at my mail filter because it just happens to be the same size as a worm. Seems to me it'd be better just to block the worm directly...oops, many companies already do this.

      --

      I read the internet for the articles.
    2. Re:Follow the Yellow Klez road. by jd142 · · Score: 4, Interesting

      Um, that sort of security is just stupid and provides a false sense of security. If you were being sarcastic, I missed it. What happens when klez mutates into a slightly different size?

      True story: I was helping a user send out emails to a group of students. Her subject was "Important message about your scholarship." She kept getting messages back that the mail was infected with the Melissa virus. Well, she wasn't sending any attachments, so I thought we had a variant that piggybacked on outgoing mail messages. I searched her machine. I moved her to a different machine and searched it. Same thing. I re-imaged a machine. Same thing.

      I also couldn't figure out where it was being caught. The message wasn't coming from our server because the infected message wasn't the same.

      I traced it back to the main university's mail servers. So I called them up and told them that their anti-virus software was catching a virus that we couldn't find and could they tell us what they were using. They said they weren't using anti-virus scanning software.

      Turns out some bright bulb had written a perl script that flagged every outgoing message with a subject that contained "Important message" as being infected with the Melissa virus.

      A half a day wasted trying to track down a non-existant virus. And as soon as the Melissa virus changed its subject line, the script would let it through. What a joke.

    3. Re:Follow the Yellow Klez road. by jandrese · · Score: 2

      I think you missed the point. When I said block the worm directly, I'm talking about those filters that scan attachements and look for the worm itself. If it finds the worm attached to your messages, it cleans off the worms and warns the sender that they may be infected. Sometimes they just drop the message entirely. Your admin should be dopeslapped for writing such a bonehead script, but that doesn't mean that proper filtering is useless. It's certainly better than just discarding every 127k message, especially as the size of the bogus message isn't always the same.

      --

      I read the internet for the articles.
  3. Re:Stupid Address Books by doctor_oktagon · · Score: 3, Informative

    Encryption doesn't solve anything if the method of opening the address book is the point of failure.

    i.e. the virus doesn't raw-read the address file, it uses the Outlook API to look it up on it's behalf, just like any other program.

    Hence, the fact the address book file is now encrypted does not stop the virus using it.

    You dig? ;-)

  4. Re:Stupid Address Books by Quietust · · Score: 2

    Perhaps I'm missing something, but how would encrypting the address book help?
    It's not like the virus is accessing raw binary data from the address book; more than likely it's using some sort of API call to get the data.

    --
    * Q
    P.S. If you don't get this note, let me know and I'll write you another.
  5. More to do with admin set up. by CountBrass · · Score: 5, Insightful

    We use outlook and exchange server where I work. Never, ever, seen a virus in the two and a half years I've worked here. Why ? because the admins know what they're doing and catch all the viruses before they ever get anywhere near us delicate users. I'm not an especial fan of MS (I'm a bastion of Java in a sea of MS where I work) but all the sniping at Outlook is just bs. People target outlook and other MS products because it's popular. I mean, why bother writing a virus that targets some system only a couple of geeks ever run ? The key factor is competent admins, properly configuring and defending the systems they're responsible for.

    --
    Bad analogies are like waxing a monkey with a rainbow.
    1. Re:More to do with admin set up. by autechre · · Score: 5, Informative


      Not all of the complaints about Outlook are "bs". Certainly, a lot of people seem to like the interface. This is one point that has probably kept it on users' desktops.

      However, it will randomly refuse to work with perfectly functional IMAP servers. Some people have had it delete everything in their inbox. And many aspects of its design make it an easy target for virus writers. Up until recently, even if you knew what you were doing and wanted to, you couldn't prevent Outlook from displaying HTML (and everything associated with it, such as Javascript and Web bugs). It's gotten a bit more difficult to have it automatically execute attachments, but apparently not difficult enough. (In all fairness, it should be pointed out that a large section of the population would simply execute those attachments themselves anyway).

      It's easy to say that you're safe at work. You're sitting behind various filters set up by competant administrators. But many people at home don't have that option. If an ISP started filtering out attachments by file type, many would doubtless scream bloody murder. Home users are the main problem here (not that it's necessarily their fault). In an unprotected environment, Outlook still makes it too easy for virus writers, and while I would love to be in a world where everyone was shielded by competent admins (hello big job market for me!), we currently aren't.

      --
      WMBC freeform/independent online radio.
    2. Re:More to do with admin set up. by Sloppy · · Score: 5, Insightful
      People target outlook and other MS products because it's popular.

      Outlook is targeted because it's the only email client that anyone has ever heard of (probably the only email client in the history of the world) that executed a script mailed to it, without user interaction. (Yes, that has been fixed, but it's still in people's heads.) It's also the only email client I've seen (though probably not the only on in history in history) that will allow a user to execute an attached script just by clicking on it. Traditionally, email clients aren't desktop shells; they might go to the trouble to display static attachments such as pictures, but executing scripts is way over the line. Traditionally, if you want to execute an attachment, you have to save it and execute it seperately. A sane and responsible software designer would never entertain such an idea for more than a few seconds. Microsoft did.

      Outlook's reputation is deserved. You're lucky your mail is so well filtered by good Admins, because as an Outlook user, you would be in unusual danger without those Admins.

      --
      As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
  6. Good way to filter UCE by Anonymous Coward · · Score: 4, Informative

    Set up an E-Mail address at your domain, called something like:

    ignoreme@example.net

    and publish it on your webpage, as an address for UCE only, and ask people not to send correspondence to it.

    Then, filter all E-Mail received in your other mail boxes, against all of the mail received by ignoreme, and any that matches, delete.

    1. Re:Good way to filter UCE by HiQ · · Score: 3, Funny

      Dear Sir,

      I don't know how you know my E-mail address, but thanks to you the spam will arrive in huge amounts
      if readers were to follow this example. Now I have get myself a new address.

      Sincerest,

      ignoreme@example.net

    2. Re:Good way to filter UCE by JimDabell · · Score: 2, Interesting

      example.net is guaranteed not to exist - that's why he used that domain in his example. And yes, I know you were joking, but a lot of people don't know this.

  7. Re:Stupid Address Books by Vanders · · Score: 5, Insightful

    Well, yes they could do that. I'm sure everyone will feel safe for a couple of months, until the encryption is broken, or a loophole is discovered. Then it will be back to square one.

    It would appear that a more long term solution would be to remove scripting! I have yet to see a use of scripting used within an email that could not be done if Microsoft removed scripting from Outlook. The only thing anyone ever uses is the ability to add buttons to the top of the email. You do not need a turing complete scripting language that can open sockets and read the address book to do that.

    Then again, baubles and shiny things make managers with budgets happy, I guess.

  8. Defenition of unpopular... by karot · · Score: 5, Funny

    ...is when even viruses don't send you mail :-(

    Steve ;-)

    --
    Enjoy Y2K? Roll-on Year 2037!
  9. Re:biggest of all time? by back@slash · · Score: 2, Funny

    Personally I get the enlarge your penis by up to three inches distribution quite a bit. I'm thinking a lot of my male associates must have some ... errr deficiencies... that they keep opening that particular email up and spreading it to me.

    --
    This comment was generated by a Squadron of Ultra Ninjas
  10. Re:Stupid Address Books by Anonymous Coward · · Score: 3, Funny

    It would only help if the addresses were encrypted with a one-way hash ;)

  11. Hemos, CmdrTaco by Lxy · · Score: 5, Insightful

    Silly question:

    Whenever Hemos or CmdrTaco posts about a Windows virus, they always end with "yadda yadda 90% of my e-mail yadda...". How is it that you can run the #1 geek news site and still have e-mail viruses infaltrating your inbox? Is it that much trouble to install MIMEDefang? If you'd like, I'll offer up my services as a consultant to install virus scanning software on your e-mail server, since you two obviously can't figure it out, but I hope that isn't neccesary.

    --

    There is no reasonable defense against an idiot with an agenda
    :wq
    1. Re:Hemos, CmdrTaco by _xeno_ · · Score: 5, Informative
      They still have to download the crap before they can filter it, right? How do you know that they aren't filtering it all out and aren't looking at a report that says "Filtered e-mail: 90% Klez, 9% Spam, 0.45% Troll, 0.45% Flamebait, 0.05% Stupid, 0.04% Real, 0.02% Complaints About Slashdot Math"?

      Maybe Hemos came up with the figure by checking his e-mail and watching as 90% of it was filtered into the bitbucket. Maybe he still filters it by hand - regardless, when a massive collection of your inbox is junk, you still have to watch it go through the filter. (Well, OK, not always - there are filter setups where you don't see it, but let's not get too technical, alright?)

      The bottom line is this: they may filter it, but they still have to deal with the incoming bytes in some way. The "90%" figure probably comes from either a filter report, or from watching the data be filtered if they're using client-based filtering. Just because they know that 90% of their incoming e-mail is crap doesn't mean they manually sort it.

      --
      You are in a maze of twisty little relative jumps, all alike.
    2. Re:Hemos, CmdrTaco by quantaman · · Score: 3, Funny

      Yeah but if all the viruses are gone the spam won't have anything to keep it company :)

      --
      I stole this Sig
    3. Re:Hemos, CmdrTaco by spitzak · · Score: 2

      I'd like to know exactly what logic you use to equate "filtered" with "didn't get it in the first place".

    4. Re:Hemos, CmdrTaco by Alsee · · Score: 2

      and still have e-mail viruses infaltrating your inbox? Is it that much trouble to install MIMEDefang

      If you instal MIMEDefang your mailbox will still fill up with virii that get sent to you, they'll just be "defanged".

      -

      --
      - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
  12. Question by Mr_Silver · · Score: 5, Informative
    Unless I'm misreading this, isn't the major thing about this virus that it runs automatically using an IE exploit?

    I mean, that the whole going through your contacts/sent items list and mailing them is all very well, but I can write some perl that does that with your Pine folders easily enough.

    I posted an article a while ago on this but it was rejected. It's a Wired article entitled "The Great MS Patch Nobody Uses". Granted it is Microsoft's fault this stupid stupid exploit happened in the first place, but it's also interesting to note that the fix for 80% of these problems have been available for over a year virtually unnoticed.

    And finally, if you're running procmail then:

    :0 B
    * Content-Disposition: attachment
    * name=.*\.(com|exe|pif|scr|bat|lnk|shf|vbs)
    {
    # Stick it somewhere
    :0 B:
    /home/accountname/mail/viruses
    }

    does a pretty good job of filtering out that sort of junk.

    --
    Avantslash - View Slashdot cleanly on your mobile phone.
    1. Re:Question by Your_Mom · · Score: 3, Insightful
      Granted it is Microsoft's fault this stupid stupid exploit happened in the first place, but it's also interesting to note that the fix for 80% of these problems have been available for over a year virtually unnoticed.
      Oh, it has been noticed. But unfortunately, it breaks more then it fixes, 'normal' (as in /real/ normal, not this "open up the word document in the e-mail thing") attachment use is broken beyond belief. Attachments get randomly locked, certain file associations get wiped out across the system. The reason why no one downloads it is because it breaks more then it fixes. I rolled it out on two machines as a test run and they had nothing but complaints, jst to see how bad it was I downloaded it onto my machine and i nearly pulled all my hair out trying to repair what I had before that this nasty patch wiped out. Not fun. I had to reinstall Lookout on every machine that got it and applied their "lite" version of their patch included in the Office Service Pack which had most of the anal restrictions removed.
      --
      Objects in the blog are closer then they ap
    2. Re:Question by indiigo · · Score: 2, Informative

      That "great MS patch" does not block a significant variety of HTML and js born code. There have been about 7 exploits each on 2002 and 2000 that work on Outlook messages if html is enabled, regardless of that patch. They were just patched last month, in fact.

      --
      fslg503-985-8686503-985-8686503-985-8686503-985-86 8650 3-985-fdsg8686503-985-8686503-985-8686503-9
    3. Re:Question by 0x0d0a · · Score: 2

      Bah. Patch distribution is *part* of the designer's responsibility. If there are a lot of vulnerable systems out there, it doesn't matter that there's a patch out if the vendor did a poor job of notification or whatever.

      You can't say "well, I have a bunch of holes, but I made a patch, so the fact that I put out tons of vulnerable systems and 95% of them are still vulnerable doesn't count".

  13. Re:Why use an address book anyway? by jandrese · · Score: 2

    You'll see the value once you start to make more friends. Especially if your friends have ugly email addresses on a variety of providers. Besides, there's an easier way to avoid spreading virusues than avoiding your addressbook: just avoid Outlook.

    --

    I read the internet for the articles.
  14. Re: YAY Outlook! by Misch · · Score: 2

    Well, you know the HTML specs, when a browser sees a tag it doesn't recognize, it *should* just ignore them. Obviously, your browser doesn't recognize the tag yet ;-)

    --

    --You will rephrase your request for me to go to hell. Goto statements are not acceptable programming constructs
  15. No Problems Here by WellHungYungWun · · Score: 2, Interesting

    I am an avid Outlook user, I love the ease of use, and all the features. I have received like 2 viruses in my whole time using my computer. Maybe I'm just unpopular, or I just use virus protection with hueristics scanning. Or maybe my Microsoft based Email Server actually does a pretty decent job of blocking all the crap from flowing down the pipe. I agree with another post in that kiddies write virii for Outlook cuz everyone uses it. Hense M$'s Market Share. If everyone used pine, it would be Pine Bashing time. Now Mod me down now because I flamed LInux like you always do.

    --
    "On a long enough timeline, the survival rate for everyone drops to zero."
    1. Re:No Problems Here by spitzak · · Score: 2
      You were infected with 2 viruses? That's not something to brag about.

      If you mean you just saw two viruses, then that means you are not receiving any. I would be much more impressed if you said you received thousands of viruses, but that you have proof that Outlook de-fanged or filtered them.

  16. Klez nightmare by pubjames · · Score: 2


    This article is very timely for me. I had never received an email virus until about a week ago. Now I get Klez virtually every day.

    Fortunately I look the descision a long time ago not to use Outlook as my email client (I use Eudora). However, Klez is still a nightmare because it can randomly choose an address for the "From:" field from the computer it has infected, which means that if someone you know gets infected, you can get irate emails from people telling you not to send them viruses!

    Nightmare.

  17. Some geeks actually have jobs... by cnelzie · · Score: 2, Insightful

    ...that require semi-regular contact with many people. Personally, I am the IT Manager and Corporate Buyer for the company that I work for.

    Small company, so I wear a few hats. Anyway, I have a fairly decent sized Address book that contains virtually all of the vendors that I have to deal with, business contacts at both client sites as well as my geek contacts that let me bounce ideas off of them.

    Sure, if you are a "house-geek" or a college geek, you probably only have a small number of people to E-mail. (Mostly your 3733t friends and such.) However, once you hit the "real" world you find that your boundless memory actually has a few boundries.

    -.-

    --
    If you ignore the other uses of a tool, does that make the tool less useful, or you less useful?
  18. Re:Stupid Address Books by mpe · · Score: 2

    If Microsoft would just do good encrypting on the address book, and update it every once and a while for new encryption, stuff like this wouldn't happen because the virii wouldn't be able to get the addresses of every person using Outlook.

    Unless every use of the address book required the user to enter a key then this would do nothing especially useful. Since a virus could easily decrypt the data, assuming it even needed to.

    At the least, this would slow a virus down.

    Only if the encryption was complex enough that decrypting the data too a long period of time...

  19. The Difference In Receipt Rates Is In the User by RhettLivingston · · Score: 3, Insightful

    My wife and I both use Outlook for all of our email. Neither of us have ever been infected by the virus because we've kept up with updates to Outlook that block you from opening programs (and we know better).

    She receives several copies a day of the Klez virus. I've never received it despite having about the same overall email traffic.

    I think that the difference lies in who we know. I'm a Computer Engineer and she's a counselor. Thus, the average individual with my email address is a lot more computer savvy than those with her email address.

    1. Re:The Difference In Receipt Rates Is In the User by pubjames · · Score: 2

      She receives several copies a day of the Klez virus. I've never received it despite having about the same overall email traffic.

      I think the problem is that it just takes one person that you know to have this virus and not know about it.

  20. Once more, with feeling by Matey-O · · Score: 2

    1. set up mail filter to punt any attachments to .jpg, .gif, .txt, .zip 2. There is no step two.

    --
    "Draco dormiens nunquam titillandus."
  21. Re:Stupid Address Books by Vanders · · Score: 3, Insightful

    Nearly. It doesn't go far enough, IMHO. Active Scripting is still there, but Microsoft have increased the security restrictions, and done some of the more obvious stuff (Like adding warning dialog boxes under certain circumstances, stripping obviously infected attachements etc.)

    Scripting is still there, however. How much do you trust that there is not Yet Another Security Loophole in there somewhere?

    The fact remains that if there is no scripting at all in Outlook, it will make it impossible for worms to spread themselves via. Outlook.

  22. A question by pubjames · · Score: 3, Interesting

    If I receive emails with the Klez virus attached, that means someone I know is probably infected, doesn't it?

    In which case (since the From: field is not necessarily indicative of who it came from) how can I find out who it came from so that I can tell them that they're infected?

    1. Re:A question by BubbaFett · · Score: 2

      If I receive emails with the Klez virus attached, that means someone I know is probably infected, doesn't it?

      Not necessarily. I find that I get most of mine from infected spammers.

    2. Re:A question by Our+Man+In+Redmond · · Score: 2

      Well, I got a Klez the other day. First one I'd seen in months, and it was from a friend I hadn't heard from in a while. So, I wrote him back after checking the mail headers.

      ======================

      Hey man, long time no see.

      I got this today with your name on it. It's a copy of the Klez virus, which may mean some of your computers at work may have that virus on them. I'd check to make sure.

      On the other hand, the mail trail says it originated from someotherisp.net. I don't know anyone who uses that service, but perhaps you do. If so, they could be sending out mails in your name, so you might want to check with them.

      Anyway, how are things?

      --
      Someone you trust is one of us.
  23. Re:What would it take by dzym · · Score: 2
    So all you'd have to do is take the MS patch for this already RELEASED, and write a worm that automatically applies the patch.

    Brilliant. Sheer brilliance.

  24. Re:What would it take by SpelledBackwards · · Score: 2, Insightful

    These are nicknamed "White Worms" (like white magic, which is a helpful form of magic), but the problem is that they're still viruses/worms that exploit security holes and waste companies' bandwidth (remember how Nimda and CodeRed really put a strain on lots of servers?) If you wrote one of these and spread it, companies would still try and sue you, and law enforcement agencies would still prosecute you.

  25. possibly stupid question about Klez's appearance by AdamBa · · Score: 3, Interesting
    Since the detail link up there is /.ed...I keep getting these emails like "your email was rejected by our virus filter" and then there is an email attached, which looks like it came from me, that has Klez in it. Most of these are from people I have never contacted via email that are not in my address book.

    So can I just assume that Klez is just generating these on its own and it's actually the *other* guy who is infected? Because I run Norton AntiVirus with the latest filters...or am I actually infected with Klez and I am really generating all this email that is bouncing at the other end?!?

    Inquiring minds want to know. Thanks.

    - adam

  26. MOD parent up by renehollan · · Score: 2

    DAMN! That's the best suggestion I've seen in a long time.

    --
    You could've hired me.
  27. Klez Variant? by olethrosdc · · Score: 2, Interesting

    Recently I received something that could be a new variany of Klez. The difference is that it does not look at your own computer for contacts. It looks at web-pages. This is how it seems to work:

    1. Download a random web-page.
    2. Rip all the addresses.
    3. Choose a small phrase from the web-page
    4. Spoof an email from one address to another, using the key-phrase.
    5. Go to 1.
    This seems to be a much better option than using the outlook addressbook, because it is more probable that emails will be read by the corresponding parties. Why? Because they are both mentioned on the same web-page, so they must have some common interest. The subject line can be something related to their interest too... it is not like getting a pr0n email from a priet in Nevada or something B]
    --

    I miss my rubber keyboard.(Homepage)

  28. the forged From: line makes all the difference by frankie · · Score: 4, Informative

    Klez is not really such a smart virus, compared to some of the earlier Outlook scripts that would grab a real document off the luser's HD and send it. The thing that makes it a major PITA is the forgery.

    The only way to track down a Klez sender is to follow the Received: headers back to the ISP, and ask them to search their RADIUS &/or DHCP logs to figure out which user was at that address at the time the message was sent. Most ISP's that I've contacted would rather not bother, so the infected PCs remain blissfully ignorant.

    Alternately, the ISP could require authenticated SMTP, and attach the real user ID to every message in some way. Or install a virus filter on the outbound connection. But once again, they don't want to bother. It's the tragedy of the commons.

  29. Irrelevant query by multipartmixed · · Score: 2

    Klez doesn't read your addressbook, it just snoops the network interface. Far more effective.

    --

    Do daemons dream of electric sleep()?
  30. Forged sender by yet+another+coward · · Score: 2, Interesting

    I know that Klez forges the "From:" line in the header. There is a "From" (no colon) line at the top of email messages. I believe that this line comes from another source not forged by Klez. Usually, this line appears to be correct. The "From" (no colon) email address tends to agree with the first mail server that relayed the message. Is my understanding correct?

    Two or three times, I have tried to warn users that they are infected by sending messages to the "From" (no colon) address. It never has worked. Why not? Every time, I have ended up emailing the administrators of the domain or mail server. (BTW, most places do a terrible job of monitoring email to postmaster.) I always have included the headers so that the administrator could track down the infected user by date and IP address. Each time, the administrator then contacted the user and put a stop to the problem. How come the user never fixes it? Shouldn't my emails have gotten through? Did the users just ignore my warnings or was there something else at work?

  31. NNTP/ mailing lists by oliverthered · · Score: 2

    1. Connect to a mail list archive
    2. etc.......

    Mailing lists are better, because the sender is ofter waiting for a reply.

    --
    thank God the internet isn't a human right.
  32. Re:possibly stupid question about Klez's appearanc by dodobh · · Score: 2

    Its the other guy. Mostly, the virus will not forge the return-path header, but some variants do that too. As mentioned elsewhere, the only solution is to contact the ISP concerned.
    You will be clean.

    Just another postmaster.

    --
    I can throw myself at the ground, and miss.
  33. Klez Quick Fix? by N8F8 · · Score: 3, Interesting

    Last month my work PC was infected with Klez. Although Norton apparently can detect the virus it doesn't seem to be able to destroy it. I went to the Nortin site and tried the Klez cleaner and insturctions, but it didn't do any good. Then I noticed that Klez runs under the Guest account. I changed the password on the Guest account tand the problem seemed to go away.

    --
    "God fights on the side with the best artillery." - Napoleon, Marshal of France - speaking truth to power
  34. New poll! by Webmoth · · Score: 5, Funny

    The virus I've had the hardest time getting rid of:

    [ ] Nimda
    [ ] Klez
    [ ] ILoveYou
    [ ] Sircam
    [ ] Hybris
    [ ] Whatever CowboyNeal has

    --
    Give me my freedom, and I'll take care of my own security, thank you.
    1. Re:New poll! by 0x0d0a · · Score: 2

      A Slashdot poll that doesn't have an answer for Linux users?

  35. Re:biggest of all time? by ergo98 · · Score: 2

    I'm getting various Klez emails in my Hotmail at the rate of about 6 a day : Clearly these viruses are scanning the newsgroups as they are not coming from people I know or converse with (I use my Hotmail account as a reply for newsgroup postings, so I get about 60 spams a day). I find it humorous, and of the potential for conspiracy theorists, that shortly after Hotmail started selling memberships for expanded storage space, I started getting a warning every 2 days or so about running out of space : Of course I'd check my account to find that 90% of the space suckage were various Klez viruses (which Hotmail does not, at least up until yesterday, filter out. Again, warm up the conspiracy machine...).

    It should be noted that only a small proportion of the messages contain "Klez" in the subject. I've seen it with subject lines that seem faintly related to newsgroups that I've posted in : SQL Server terms, HTML phrases, CSS selectors, etc.

  36. Procmail rule to catch Klez by FattMattP · · Score: 3, Interesting
    I use this procmail rule to catch Klez viruses:

    :0 B
    * ! ^Received:
    * 9HyTO130D42FAAAAU1bo5RoAAGoAi9joFC4AAIvwi0UIg.YBVm hmB0EAjbgsAQAA6MMaAABQ
    klez

    The lameness filter is putting a space in the string of characters above so be sure to remove it when you put this in your procmailrc file. Also remove the space before the :0 B in the first line.

    --
    Prevent email address forgery. Publish SPF records for y
    1. Re:Procmail rule to catch Klez by Lysander+Luddite · · Score: 2

      Can you provide a decent resource for using procmail? My sysadmin tells me it is on the machine, but I have no idea how to use it and spending a dozen hours learning how to configure it to prevent spam/worms seems beyond my tolerance.

      I wouldn't know how to cut and paste your line into the app.

    2. Re:Procmail rule to catch Klez by Scooby+Snacks · · Score: 2, Informative

      Try this to get started.

      --

      --
      Runnin' around, robbin' banks all whacked on the Scooby Snacks...
    3. Re:Procmail rule to catch Klez by FattMattP · · Score: 2

      man procmailrc
      man procmailex

      You'll want to have a decent grasp of regular expressions as procmail is centered around them. Also check out the faq that the other poster linked to.

      --
      Prevent email address forgery. Publish SPF records for y
    4. Re:Procmail rule to catch Klez by ColaMan · · Score: 2

      Try This Procmail Script. It's pretty handy, fixes those auto-xecute mime problems, renames files so that you have to save them before opening them, and cleans up any active html/scripting. It can be setup to email back people who have sent suspicious stuff, will filter on filename if you want - it's quite comprehensive.

      --

      You are in a twisty maze of processor lines, all alike.
      There is a lot of hype here.
  37. how I deal with Klez by Dr.+Awktagon · · Score: 3, Informative

    Well, the anti-virus companies won't tell you how to block Klez (except by buying their products) but I funnel all my mail through a custom filter and this is the algorithm I use to get rid of Klez-like messages, once and for all:

    If message contains multipart/alternative entity,
    and entity has a part with a filename,
    and the filename's extension doesn't match the entry in /etc/mime.types,
    then drop the message.

    You could also, I think, send a "you're an idiot" bounce message to the envelope MAIL FROM: address (not the header From:, it's wrong). That one usually looks correct. Not sure though, probably best to just drop them.

    There are other clues in the message, such as IFRAME code, etc., but this seems foolproof, and I can't imagine any normal email program generating multipart/alternative sub-parts with a filename.

  38. my slashdot spam account gets wailed on with Klez by Indy1 · · Score: 3, Interesting

    my dedicated slashdot spam account gets roughly 2-5 emails with klez per week. I dont know if some virus writing moron has a address harvester or what, but thats the only way i ever get email viruses. I should clarify, my mail server catches the bugs, squashes em, then mails me the paticular details so my actual email client never gets infected.

    --
    Lawyers, MBA's, RIAA? A jedi fears not these things!
  39. Re:YAY OUTLOOK? by uebernewby · · Score: 2

    just push your mail providers to install a virus scanner on ther mailer daemon side..

    Not necessarily something a provider wants to do. For starters, scanning thousands upon thousands of incoming e-mails puts a heavy strain on the servers. More importantly, however, is that by doing so a provider implicitly admits legal responsibility for what their users are doing on their systems. If you can read through users' e-mails to determine if they're infected with a virus, Big Bad Government is going to come in to ask you to scan for evidence of illegal actions as well.

    For this reason, my employer has, for now, decided to forego server side virus scanning, and I pretty much would agree with him.

    --

    News and bla for computer musicians: http://lomechanik.net/
  40. Re:90%? really? by Patrick13 · · Score: 3, Informative

    In the height of the Klez infections (about 2 1/2 months ago), I got 76 emails infected with Klez in one morning.

    The trick with Klez is that it spoofs the "from" header, and chooses an address at random from the infected computer's address book and its web cache.

    I got tons of infected emails from people who had only surfed into a page containing one of my email addresses. Since I have 25 or design clients, this can add up to quite a few "webmaster@" email addresses. While my busiest site gets about 700 unique visitors daily, overall, my email accounts are exposed to ca. 4500 uniques daily.

    That's a lot of novice users who think that getting an email that has the subject:

    "A Excite Game"

    and a body message that runs something like:

    This is a excite game I made. It is my first try at a game. I hope you like it!

    is a legit email. I have personally gotten this one over and over again, with the adjective randomized (a FUNNY game, a NEW game, etc.).

    I can't believe that people open it, but they do. And they get infected, and then I get mails from them, spoofed to appear to be coming someone in their address book, or their browser cache.

    Which makes it a drag, because you can't easily track down the offending individual.

    The reason I think this virus is so prevalent (aside from the fact that most users are so gullible) is simply because you can't email the infected party and say "hey, you are infected with Klez", but with other viruses, such as SirCam and what not, you could, therefore stopping the virus infection, eventually.

    --
    ::.. check out some Cell Phone Reviews
  41. gotcha by AdamBa · · Score: 2
    So the header is spoofed, making it look like the email came from me. Then the virus filter software, which is supposed to report to the infected person, instead generates a report to everybody *but* the infected person. And since the report includes the original email, the virus filter effectively winds up sending all the messages that it was supposed to filter out.

    Clever.

    - adam

  42. Lotus Bloats by mangu · · Score: 2
    Furthermore, scripting can be handled safely within a corporate environment -- see Lotus Notes.

    We use Lotus at my company. But I still get about a dozen emails a day from Klez. But I never got any virus originating from a Linux machine...

  43. Re:YAY OUTLOOK? by John+Hasler · · Score: 2

    toncho/~ apt-cache search virus
    clamav - powerful anti-virus scanner for Unix.
    mailscanner - An email virus scanner and spam tagger.
    renattach - Rename attachments on the fly.
    sanitizer - The Anomy Mail Sanitizer - an email virus scanner
    xbill - Get rid of those Wingdows Viruses!
    amavis-exim - Interface between MTA and virus scanner.
    amavis-milter - Interface between MTA and virus scanner.
    amavis-postfix - Interface between MTA and virus scanner.
    scannerdaemon - virus scanner written in Java
    virussignatures - virus signatures for ScannerDaemon

    --
    Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
  44. Re:90%? really? by Dragoness+Eclectic · · Score: 2

    Yes, really. My mailbox is constantly full of the damn things (well, that, and SPAM from Korea). I have a number of readers of my small fanfiction page, and I think they all use Windows/Outlook Express, so there you go. They are not computer geeks; they know how to use a computer to read and send e-mail, to browse the web, and to write stuff/design websites in some cases, but, like most Windows users, their computers are tools to get a job done, not a way of life.

    I, on the other hand, am a programmer who uses Linux at home; I didn't get infected by those damn Klez viruses, nor do I even download them--I limit fetchmail on the size of attachment and inspect the oversized mails thru my ISP's web interface every few days. Almost everytime, they are Klez viruses, though I'm also seeing some Goldfish thingy, starting recently.

    I'm really, really sick of this crap filling up my mailbox. It's viral spam: an unspeakable hybrid of two of the worst internet evils.

    --
    ---dragoness