Computerworld
Security researcher: MIME flaw bypasses virus scanners
Matthew Broersma (Techworld.com)  14 December, 2006 15:23

Some of the most popular anti-virus scanners on the market are open to exploitation according to a security researcher.

Hendrik Weimer, author of Quantenblog, said he had found a way of encoding viruses so they go undetected by most of the scanners he tested.

The exploit involves MIME encoding, which was the subject of serious concern two years ago. Weimer said the trick could be significantly more dangerous than a vulnerability that lets attackers bypass a single virus scanner. "Much rarer are discoveries of new attack classes that are able to blindfold not one but many virus scanners. Here is one," he said in a blog post.

Multipurpose Internet Mail Extensions (MIME) is used to encode emails so that they can be handled by Simple Mail Transport Protocol (SMTP), which is designed to handle text only. Base64 encoding, an encoding method that falls under the MIME standard, uses an alphabet of 64 characters, each representing a previously defined value.

MIME decoders are supposed to ignore characters that aren't part of the defined Base64 alphabet, but Weimer found that such characters inserted in an encoded message could allow dangerous content to bypass a virus filter. "Some virus scanners will happily pass viruses once they come in an unusual but still RFC-compliant encoding," he wrote. "This is even more astonishing given such attacks have already been discussed before."

He had even better success when some levels of multipart/mixed content were wrapped around the malicious attachment. "Then, only one of the six tested virus scanners was able to detect the EICAR file," he wrote. Researchers use EICAR files to test virus scanners. Vulnerable scanners included BitDefender Mail Protection for SMB 2.0, ClamAV 0.88.7, F-Prot Anti-virus for Linux x86 Mail Servers 4.6.61 and Kaspersky Anti-Virus for Linux Mail Server 5.5.10, he said.

F-Secure Anti-Virus for Linux Gateways 4.65 was less vulnerable, as was F-Prot in some situations, while Avast! for Linux/Unix Servers 2.0.0 and Barracuda Spam Firewall (Firmware version 3.4.10.071) weren't vulnerable.

Weimer said a workaround was to use a separate daemon to perform correct MIME decoding, though not all antivirus products provide the command-line scanner necessary for this.

In 2004, information security consultancy Corsaire identified eight ambiguities in MIME that could allow dangerous content to slip past detection systems. The vulnerabilities were widespread and required many rounds of patching.

Computerworld Buyer's Guide - Vendors Matched to this Article

Comments

Post new comment

Login or register to link comments to your user profile, or you may also post a comment without being logged in.
The content of this field is kept private and will not be shown publicly.
Zones
Zone logoZones provide focussed content from Computerworld and leading technology partners.
Newsletter Subscription
Newsletter Subscription
Sign up for our Computerworld newsletters!
Syndicate content
 

Computerworld Webinar

Thursday, June 11th, 2009
10:30am EST (Sydney, Australia)
Screening at your PC

Computerworld is hosting a 30 minute live webinar to help you to learn how unified communications can save you money, foster innovation and business agility by making it easier for people to find, reach and collaborate with one another.

Register Now

Computerworld Community Comments
Whitepaper

Top 10 Ways to Increase IT ROI Without Adding Staff

Today, IT managers are looking for alternative strategies to increase their IT ROI. The first principle is: Simplify operations. Read this white paper for 10 specific strategies for increasing IT ROI.

Enterprise IT Buyer's Guide
Find Technology Vendors Fast
 
Find vendors by name | Find by category
Sponsored Links
 
Send Us E-mail | Privacy Policy
Features List | Media Kit | Advertising | Contact Us

Copyright 2009 IDG Communications. ABN 14 001 592 650. All rights reserved.
Reproduction in whole or in part in any form or medium without express written permission of IDG Communications is prohibited.