MIME tricks beat email virus scanners

Simple encoding dodges slip malware past gateways.

A security researcher released a report last week claiming that some simple manipulation allowed him to get mails containing the EICAR test virus string past a variety of mail scanning products. Software from BitDefender, ClamAV, F-Prot and Kaspersky was reported to be vulnerable to the trick.

Advertise on www.virusbtn.com

Stuttgart-based Hendrik Wiemer used Base64 encoding, including non-standard characters which should be ignored on decoding, to create a MIME document including the virus scanner test string. This was then passed through a small selection of mail scanners, of which only Alwil avast! and Barracuda's Spam Firewall were not fooled by the alteration of the file. F-Secure's Linux Gateway product reported it could not scan the mail, while the rest let it through without comment. Many email clients, including Microsoft Outlook, would correctly reassemble the EICAR string on receipt.

Further encoding produced even more failures to detect. It remains unclear whether the proof of concept would be viable with more complex, genuine malware.

A blog entry describing the test, including perl code to generate sample mails with complex encoding, is here. More information and mail-scanner test files are available from heise Security.

11 December 2006

Tags:    del.icio.us  digg this! digg this


Poll

How should software and OS patching/security updates be managed?
Manually, at the user's discretion
Automatically via an optional, user-defined schedule
Automatically via a fixed, but optional schedule
Automatically via a fixed schedule, on by default with opt-out system
Automatically and silently, with no option to run unpatched

Leave a comment
View 19 comments

Jobs Career Sidebar

Virus Bulletin

In this month's magazine:
  • Same malware, different code
  • Can you spare a seg?
  • Kernel mechanics of Rustock
  • Early warning approaches to combat typosquatting
  • The challenges of collecting and monitoring URLs that point to malware
  • Norman Network Protection Appliance
  • Anti-spam comparative review July 2009
Virus Bulletin 07 2009
Subscribe now!
Virus Bulletin currently has 165,654 registered users.