PCMag editors select and review products independently. If you buy through affiliate links, we may earn commissions, which help support our testing.

Black Hat: Antivirus Software Needs Transparency

 & Neil J. Rubenking Principal Writer, Security

Our team tests, rates, and reviews more than 1,500 products each year to help you make better buying decisions and get more from technology.

Our Expert
LOOK INSIDE PC LABS HOW WE TEST
65 EXPERTS
43 YEARS
41,500+ REVIEWS

The most common test for an antivirus utility involves showing it thousands or millions of samples and checking how many it recognizes. More advanced tests observe the product in action as it cleans up malware infestations and prevents attacks. Vulnerability researcher Tavis Ormandy feels this just isn't the right way to evaluate a product.

In a talk at the Black Hat conference Ormandy, better known as a Google infosec engineer, reported on a completely different approach. Ormandy contends that antivirus vendors should be completely open about the way their products work, rather than hiding behind market-speak and techno-babble.

Some vendors say that revealing their techniques and algorithms would weaken their security. Ormandy referenced Kerckhoff's principle, which states that a cryptographic system should be secure even if everything about it is public. He argues that the same should be true of antivirus software.

Ormandy chose Sophos, a well-known enterprise-focused antivirus, for an experiment. Working from a list of stated features, Ormandy reverse-engineered and disassembled the product to see exactly how those features are implemented. The results were alarming.

Putting Sophos to the Test

Virus signatures are the simplest part of any antivirus product, so Ormandy decoded the system used to store Sophos's signatures. He concluded that despite claims that the signatures are reviewed by expert researchers, the vast majority are auto-generated and many reference irrelevant data.

The product offers exploit mitigation, but Ormandy determined that it does absolutely nothing under Windows versions prior to Vista. It still loads and links to every running process under Vista or later, but it does nothing. Based on other elements of this component he concluded that whoever wrote the code for this feature misunderstood certain security aspects of Windows.

Ormandy reverse-engineered the proprietary 64-bit encryption system used in Sophos's antivirus, not to be confused with Sophos SafeGuard full disk encryptoin. Modern encryption systems generally use keys of 256-bits or more. He found that Sophos's system requires the decryption key to be present in the file, and concluded that it's not really encryption at all, just a layer of obfuscation to slow down hackers.

The product's pre-execution analysis feature runs suspect code in an emulator to detect dangerous activities. However, it's barely functional. Sophos touts the ability to unpack malware hidden using packers, but actually it doesn't work with any modern packers. The "gene and genotype" system is extremely simplistic. And so on.

This presentation was certainly an eye-opener. Ormandy declined to speculate whether other prominent antivirus products would have fared any better. He reported that Sophos was "good-natured and receptive" when he sent them a draft of the presentation, and that they're already working to fix some of the problems he reported. I hope he'll put more products through this grueling regimen in the future.

About Our Expert

Neil J. Rubenking

Neil J. Rubenking

Principal Writer, Security

My Experience

When the IBM PC was new, I served as the president of the San Francisco PC User Group for three years. That’s how I met PCMag’s editorial team, who brought me on board in 1986. In the years since that fateful meeting, I’ve become PCMag’s expert on security, privacy, and identity protection, putting antivirus tools, security suites, and all kinds of security software through their paces.

Before my current security gig, I supplied PCMag readers with tips and solutions on using popular applications, operating systems, and programming languages in my "User to User" and "Ask Neil" columns, which began in 1990 and ran for almost 20 years. Along the way, I wrote more than 40 utility articles, as well as Delphi Programming for Dummies and six other books covering DOS, Windows, and programming. I also reviewed thousands of products of all kinds, ranging from early Sierra Online adventure games to AOL’s precursor Q-Link.

In the early 2000s, I turned my focus to security and the growing antivirus industry. After years of working with antivirus, I’m known throughout the security industry as an expert on evaluating antivirus tools. I serve as an advisory board member for the Anti-Malware Testing Standards Organization (AMTSO), an international nonprofit group dedicated to coordinating and improving testing of anti-malware solutions.

The Technology I Use

Much of the testing I do, particularly testing with real-world ransomware, is just plain dangerous. To perform such tests safely, I sequester them inside virtual machines managed by VMWare Workstation. For cross-platform testing, I use a MacBook Air, a Google Pixel 4, and a 6th-generation iPad.

I rely on my Delphi coding skills to create and maintain small applications. These include programs to check whether an antivirus correctly handled the malware it detected, launch dangerous URLs and record the security program’s reaction, and analyze the malware that I collect for use in testing. I also wrote a tiny browser and text editor for use in testing security apps that have predefined reactions for known products.

I do my writing and research on a Dell OptiPlex desktop, relying on Microsoft Word (my fingers know all the shortcuts). Many of my articles include charts and analysis; Excel is my go-to for those. When work hours end, though, I escape the bounds of Microsoft and Windows. There’s an iPhone in my pocket, I relax with my oversized iPad, and my Kindle Oasis is always loaded with the best science fiction and fantasy.

Read full bio