Frequently speakers will pronounce the typical virus detection scheme of pattern matching “doesn’t work” and (for dramatic emphasis or hyperbole) is “dead.” The argument is that pattern files miss so many malicious files. See, for example, Eighty percent of new malware defeats anti-virus, wherein
the general manager of the Australian Computer Emergency Response Team (AusCERT), Graham Ingram, told the audience that popular desktop anti-virus applications “don’t work”.
“At the point we see it as a CERT, which is very early on — the most popular brands of anti-virus on the market … have an 80 percent miss rate. That is not a detection rate that is a miss rate.
“So if you are running these pieces of software, eight out of 10 pieces of malicious code are going to get in,” said Ingram.
This should not be a surprising finding. The population of malware that Graham Ingram drew samples from is the population of newly-released malware samples. As Ingram points out, malware developers test their variants against anti-virus software to avoid detection using current pattern files. They have many tools at their disposal, and can obfuscate their threat to evade pattern matching systems. That is, the samples were designed to avoid detection and many (80%) were successful.
The leap from “misses 80 percent of newly released malware samples” to “doesn’t work” or “is dead” does not get clarified.
Ryan Naraine (in Anti-Virus Is Dead, D-E-A-D, Dead!) cites Mr. Williams as justification for his claim that:
The spyware guys are having a field day playing — and winning — cat-and-mouse with AV vendors. Quick spam run with a new Trojan; sit back and watch the AV guys scramble to ship signatures; tweak the code, send another spam run, watch and giggle as another round of .DAT files get built; repeat, rinse, dry.
Similarly, Amrit Williams blogged that Anti-virus is Dead.
Stand-alone, signature-based, anti-virus is dead. The stand-alone anti-spyware market is over too, if it even existed!
Signature based AV isn’t protecting anyone anymore, it certainly wasn’t providing any protection against spyware or some of the nastier threats that have popped up recently.
…
Bottom Line: By the end of 2007 stand-alone AV will be dead, d-e-a-d, dead! Organizations need to evolve their client security programs or expect to see increased costs as the number of agents continues to rise.
Amrit Williams argues that because anti-virus isn’t detecting new variations of threats, its isn’t providing any protection. Mr. Williams also argues that if a system is compromised, it provides no protection from outbound (botnet) traffic and does not detect rootkits that have been installed.
In an August 2009 whitepaper, Cyveillance reports that anti-virus vendors are generally unable to detect that day’s newly released malware.
As the results show, even the most popular AV solutions detect less than half of the latest malware threats. So if you visit a malicious Web site you could have a more than 1 in 2 chance of being infected with malware.
This should not be a surprising finding. What is surprising is that signature-based, preventative methods fared as well as they did against newly-released malware.
A SANS handler diary posting “Is Anti-Virus Dead?” by John Bambenek argues that
anti-virus by its very nature is reactive… it will only block against known threats.
That is its role. Anti-virus software blocks against known threats. The virus pattern updates are reactions to known threats. Once deployed, anti-virus software provides defensive protection against known threats.
Mr. Bambenek also points out that anti-virus solutions never have been sufficient. Exactly.
Chris Brenton has a “Why anti-virus is dead presentation” posted.
In Introducing Stealth Malware Taxonomy, Joanna Rutkowsky provides an image of anti-virus vendors:
The A/V industry has developed lots of mechanisms to determine whether a given executable is “bad” or “good”, such as behavior monitoring, sandboxing, emulation, AI based heuristics and not to mention all the signature based approaches.
In Rutkowska: Anti-Virus Software Is Ineffective (Ryan Narain in e-week October 26, 2006). Ms. Rutkowsky had demonstrated Blue Pill at Black Hat. At the presentation and in the interview, Ms. Rutkowsky explained how undetectable some attacks can be. She, too, seems to have expectations about anti-virus software that would not have been within the product specifications.
I’m not very impressed with existing anti-virus solutions, especially for the Windows platform. They all concentrate on finding “the bad” instead of verifying that system is in a “good” shape.
So, we can see very sophisticated technology employed by anti-virus products to handle various .exe-packers and decide whether the .exe file in question is “good” or “bad.”
The problem: Over the years, anti-virus vendors have adopted more and more responsibility for detecting various forms of malware. An anti-virus vendor who restricted their scope to viruses (employing the SANS definition of virus, where malicious code attaches to trusted code) would have no customers. The customer expectation is to detect worms, Trojan Horse programs, spyware, at least some of the hacking tools. If enough customers complain that their hackings tools have legitimate uses, the anti-virus vendor will drop detection. Anti-virus vendors face legal challenges when they detect Trojan Horse programs. After all, the user chose to install the program (invited the Trojan Horse in). The vendor of the Trojan Horse program can accuse the anti-virus vendor of restraint of trade, as in Zango v. Kaspersky.
Through this scope creep, customers have come to rely upon anti-virus software to enforce the detection of a vague set of out-of-bounds software. Anti-virus vendors willingly encourage this attitude. Disappointment arises when vendor and customer don’t share expectations.
People sometimes choose to install a keylogger to monitor their child’s, spouse’s or employee’s activity. Should anti-virus vendors detect keyloggers, such as Perfect Keylogger, as malware? Someone needed to choose to install Perfect Keylogger, and it is detected as malware but many anti-virus vendors. Competitors, such as Spector Pro, KeyHost, and E-Blaster are not detected as malware.
Presentations, such as Reality Check: Emerging Information Security Threats, show the lengths that attackers go to in an effort to get money. Malware is often employed. It is evident that anti-virus software alone is not sufficient, but it is also evident that anti-virus software is always part of your defenses.
The “Is Anti-Virus Dead?” speculation relies upon expectations that are not shared. If the expectation is that anti-virus software using pattern matching (including heuristics) should always be a sufficient defense, that it should always detect new malware, then that expectation will not be met. Instead, anti-virus software should be supplemented with other measures.
For example, the new malware variations do not reflect new vulnerabilities. The new malware variations are attempts to avoid existing pattern detection of previous exploits. If the vulnerabilities have been mitigated (typically by patching), then the new and undetected malware variations that anti-virus software does not yet detect have no effect.
Bear in mind your preventative and defensive measures:
- Patch vulnerabilities.
- Use anti-virus software with pattern matching technology to detect known exploits of vulnerabilities, even those you have patched. Prevent the exploits from executing, even those that will fail because the vulnerability has been patched.
- Block access to known malware distributors.
- Remove unnecessary services and ports.
Supplement these preventative measures with reactive discovery measures.
- Use behavioral analysis technology to (among other things) detect unknown exploits of unpatched vulnerabilities. See Using Behavioral Analysis To Discover Undetected Malware.
- Use analysis technologies that do not require behavioral analysis, such as those described in “What’s Different About This Approach?” to detect unknown exploits of unpatched vulnerabilities.
Do not confuse the preventative role of pattern matching anti-virus technology with the reactive role of behavioral analysis.
Restore a compromised system to a trustworthy state by reimaging it or using one of the methods described in “Alternatives To Reimaging“. Specifically, do not rely upon virus cleaning measures, for reasons described in “Can You Clean a Virus?“.

July 8, 2009 at 9:26 am |
[...] Analysis To Discover Undetected Malware This post exists to flesh-out an outline in “Is Anti-Virus Dead?” The [...]
December 14, 2009 at 11:11 am |
[...] Anti-Virus: Note the changed role of Anti-Virus. Its role in Prevention and Recovery is diminished, but its role in Detection is (or should be) more significant. Not “dead“. [...]