E-mail users who were slow to update their antivirus software last week may have been surprised to receive a flood of e-mail messages containing ZIP files from long lost acquaintances, business partners and complete strangers.
The e-mail was sent by the recent Mydoom e-mail worm. The ZIP attachments were evidence of what antivirus experts say is a new trend in virus writing circles: using compressed ZIP files to hide viruses and elude detection by antivirus engines.
ZIP files are containers for one or more compressed files. Using programs like WinZip for Windows or Unzip for Unix, users compact files they want to store or transfer to others. The files must then be decompressed or "unzipped" before they can be viewed.
Long a staple of Internet and office communications, the compressed ZIP file has become embroiled in an arms race between virus writers and antivirus technology companies, experts say.
"We're definitely seeing a trend," said Alex Shipp, antivirus technology expert at MessageLabs Ltd. "It really took off in 2003. As soon as one virus was successful with technology like this, other virus writers took notice."
Virus authors learned long ago to hide their creations in e-mail file attachments, often disguising viruses as Windows screen saver (SCR) files or Windows program information (PIF) files, said Mike Hrabik, chief technology officer of Solutionary Inc., a managed security services company in Omaha, Nebraska.
While ZIP files were occasionally used to mask virus payloads, the practice wasn't common in virus writing circles because ZIPs, unlike SCR and PIF files, required separate software to be installed on the receiving system before the files could be opened and run on ubiquitous Windows machines, he said.
All that changed with the release of Microsoft Corp.'s Windows XP operating system, which included native support for opening ZIP files, allowing virus writers to count on users being able to unzip their attachment and open the virus file stored inside, Shipp said.
Gerhard Eschelbeck of security vulnerability scanning company Qualys Inc. agrees, saying that embedded support for ZIPs in modern systems makes them a rich target for worms like Mydoom.
In switching to ZIPs, virus authors were also picking up on trends in legitimate e-mail traffic to hide their own malicious creations, Shipp said.
"When corporations started blocking EXE (executable) files to prevent viruses from coming into their environment, people who wanted to send EXEs back and forth started zipping them before they sent them. Virus writers noticed that and took advantage of it," he said.
Unlike SCRs and PIFs, which have no use in legitimate exchanges, ZIP files are an important business tool that many individuals and organizations use to transfer large file. That makes it difficult for companies to strip them out of e-mail messages without affecting employees' work, experts say.
"For the most part, ZIPs are effective ways to send files, so blocking them is not something you want to do because it will break other functionality," said Craig Schmugar, antivirus research manager at Network Associates Inc.'s (NAI's) McAfee antivirus unit.
The files have other advantages for virus authors, as well, said Vipul Ved Prakash, founder and chief scientist at antispam company Cloudmark Inc. of San Francisco.

Sign up to receive Security Resource Alerts
A comprehensive security management solution can help you streamline, as well as grow, your current or evolving business. In this way, a strategic security approach can help you increase your competitiveness in these challenging market conditions.
Download now! »Find out how you can effectively collect, normalize and archive enterprise-wide, security-related data that is invaluable for security investigation and compliance reporting.
Download now! »This session focuses on the intersection of role management and identity compliance, and addresses the importance of identity compliance in enterprise governance and the challenges that organizations may face in achieving it.
View now! »