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.

VB100

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

Quick Links

Poll
The Japanese government is reported to have commissioned a 'defensive virus'. Is 'defensive' malware ever a good idea?
Yes
No
I don't know
Leave a comment
View 11 comments

99 Subscription Promo

Virus Bulletin
In this month's magazine:
  • Living the meme
  • If Svar is the answer...
  • Static analysis of mobile malware
  • And the devil is six: the security consequences of the switch to IPv6
  • Behind enemy lines: reporting from the CCC 28C3 Congress
Virus Bulletin 02 2012
Subscribe now!

Virus Bulletin currently has 224,223 registered users.