ie8 fix
madison

Zero Day

Ryan Naraine, Emil Protalinski and Dancho Danchev

Postcards from the anti-virus world

By | May 10, 2010, 5:01am PDT

Summary: Some of the recent reports of anti-virus bypass tricks are interesting but I am inclined to think they do not constitute a security flaw.

Guest editorial by Michal Zalewski

Researchers say they’ve devised a way to bypass protections built in to dozens of the most popular desktop anti-virus products, including those offered by McAfee, Trend Micro, AVG, and BitDefender.” - The Register

Sounds familiar? For the past three years or so, such headlines have appeared in the press on a fairly regular basis. This makes one wonder: is there something rotten in the anti-virus world? After all, of all things, we ought to be able to get the security tools right.

Well, the picture is more complicated than it may seem. We intuitively draw parallels between these findings and the vulnerabilities commonly found in other types of software - but the issue here is very different: all consumer-grade anti-virus software simply must be designed to be bypassable, even if only transiently so. To understand this, we need to realize that there is nothing fundamentally different between a botnet client and a legitimate chat application: they both use roughly the same OS facilities in a very similar manner, and while differences are often observed in practice, they are not essential in any way. The intent of the actions performed by these two programs is the only distinguishing factor. Yet, this property can’t be algorithmically assessed - not only because the task is notoriously hard to formalize, but also because automated reasoning about the behavior of computer programs is, in many cases, provably impossible.follow Ryan Naraine on twitter

Because of this, the anti-virus model is nothing like that of “proper” security tools. Instead of eliminating essential mechanisms depended on by the rogue code, AV software tries to stop specific, previously recorded attack patterns: known bad binaries, known suspicious sequences of system calls, and so forth. Some heuristics are employed, but in the end, it always comes down to blacklisting - a canonical bad practice in the field of information security. Surprisingly, in this particular context, it actually works:

  1. Most users are not running up-to-date antivirus software - therefore, there is relatively little incentive for attackers to spend too much time on evading the checks. As a result, most of the malicious code you can run into will trip existing signatures or simple behavioral heuristics. The users of antivirus products remain at a distinct advantage.
  2. Although a percentage of new malware is created specifically to avoid detection, the two possible outcomes are just as favorable to the users of antivirus products:
    • When malware authors aim for rapid, nondiscriminate propagation, the new variant is quickly captured in the wild, and the tools are updated with new signatures or scan algorithms. In this case, a majority of users are protected before they come into contact with the new payload.
    • When malware authors want to stay under the radar, and only go after select targets, the majority of users are not interesting enough to end up in the crosshairs - and therefore, the problem is highly self-limiting.

As should be evident, this model works reasonably well to protect casual users. It also tends to fall apart for any entity interesting enough to attract specific attention of determined (but not necessarily skilled!) attackers; for these targets, anti-virus software perhaps reduces operational costs by reducing the likelihood of nuisance infections, but does relatively little to prevent more serious trouble.

Some of the recent reports of antivirus bypass tricks are interesting (this particular research rehashes a problem that all ptrace()-based debuggers and sandboxing tools have to deal with) - but in light of the above, I am inclined to think they do not constitute a security flaw. The attention they nevertheless receive demonstrates that we have only a vague idea of the limitations of AV applications; sadly, with poor understanding, come unrealistic expectations - a major foe of any and all security work.

PS. It is frustrating that contemporary computers are so confusing and vulnerable, that we need such a wonderfully imperfect mechanism to protect the casual user to begin with. That, however, is a wholly different tale.

* Michal Zalewski is a security researcher at Google. He has written and released many security tools, including ratproxy, skipfish and the browser security handbook.  He can be found at the lcamtuf’s blog and on Twitter.

Kick off your day with ZDNet's daily e-mail newsletter. It's the freshest tech news and opinion, served hot. Get it.

Topics

Ryan Naraine is a journalist and social media enthusiast specializing in Internet and computer security issues.

Disclosure

Ryan Naraine

The most important disclosure is of my employment with Kaspersky Lab as a member of the global research and analysis team. Kaspersky Lab is a global company specializing in anti-malware and secure content management technologies. I do not own stocks or other investments in any technology company.

Biography

Ryan Naraine

Ryan Naraine is a journalist and social media enthusiast specializing in Internet and computer security issues. He is currently security evangelist at Kaspersky Lab, an anti-malware company with operations around the globe. He is taking a leadership role in developing the company's online community initiative around secure content management technologies.

Prior to joining Kaspersky Lab, Ryan was Editor-at-Large/Security at eWEEK, leading the magazine's and Web site's coverage of Internet and computer security issues and managing the popular SecurityWatch blog, covering the daily threats, vulnerabilities and IT security technologies. He also covered IT security, hacker attacks and secure content management topics for Jupiter Media's internetnetnews.com.

Ryan can be reached at naraine SHIFT 2 gmail.com. For daily updates on Ryan's activities, follow him on Twitter.

Related Discussions on TechRepublic

Did you know you can take part in these discussions with your ZDNet membership?
19
Comments

Join the conversation!

Just In

RE: Postcards from the anti-virus world
FAULKNE 13th Oct
Good day to confirm this comment I would appreciate T h e b e s t o f Z D N e t d e l i v e r e d your website very nice to everyone Yes, Oracle is the only one with shared-disk architecture, but that is there advantage. It means you can add or remove nodes and the database lives on. In a shared nothing architecture, if you lose a node, you lose the system. I'm sure Oracle appreciates EMC highlighting their advantage.I also desire to signal in your RSS feeds. Thank you as soon as once again and maintain up the great operate Awesome post! Thank you very much || thanks for nice content this is really benefit to me.
0 Votes
+ -
@Larry Dignan: Hire this Man!
Dietrich T. Schmitz,Your Linux Advocate 10th May 2010
Nicely written. Regretfully though, the article stops short of providing a solution or work-around (for the reader's sake) to the current reported A-V conundrum.
0 Votes
+ -
@Dietrich T. Schmitz,Your Linux Advocate

This guy does write good article... but I wonder how well his current employer (*cough* google *cough*) followed his advice since google had some major breach by malwares not long ago.
0 Votes
+ -
RE: Postcards from the anti-virus world
Dietrich T. Schmitz,Your Linux Advocate 10th May 2010
@Samic

Bad cough there.
  • Flagged
..and Windows. It is there fault they got hacked, since they trusted Microsoft products to be secure.
  • Flagged
0 Votes
+ -
oh, thank you :D!! haha yeah totally xD replica watches
0 Votes
+ -
RE: RE: Postcards from the anti-virus world
wizard57m@... Updated - 10th May 2010
Just an observation...
In regards to point 1, "Most users are not running up-to-date antivirus software", no argument there. However,
you can't then make the following in point 2, "When malware authors aim for rapid, nondiscriminate propagation, the new variant is quickly captured in the wild, and the tools are updated with new signatures or scan algorithms. In this case, a majority of users are protected before they come into contact with the new payload." Point 2 then becomes null and invalid.
You can't have "most users" running outdated antivirus
AND at the same time have a "majority of users" being
protected via updated signatures and algorithms.
Point 2 should be that users need to be taught to maintain their antivirus and system updates.
0 Votes
+ -
Cloud Anti Virus can Fight!
simplify-solutions 10th May 2010
Yes I completely agree with Michal on his viewpoint. And as I read an article on http://www.simplify.co.in about the power of cloud anti virus system, made me think that yes it can be daringly strong answer to these intrusions, especially when we will have enough bandwidth.
0 Votes
+ -
RE: Postcards from the anti-virus world
wizard57m@... 10th May 2010
this is a repost of one above reported as spam...darn, it's
getting bad when the spammers on these Talkbacks report
all the other posts as spam then plug their bogus web sites.

Just an observation...
In regards to point 1, "Most users are not running up-to-date antivirus software", no argument there. However,
you can't then make the following in point 2, "When malware authors aim for rapid, nondiscriminate propagation, the new variant is quickly captured in the wild, and the tools are updated with new signatures or scan algorithms. In this case, a majority of users are protected before they come into contact with the new payload." Point 2 then becomes null and invalid.
You can't have "most users" running outdated antivirus
AND at the same time have a "majority of users" being
protected via updated signatures and algorithms.
Point 2 should be that users need to be taught to maintain their antivirus and system updates.
0 Votes
+ -
Fixing the symptom, not the problem
terry flores 10th May 2010
Maintaining antivirus updates is okay, but there are inherent flaws in the basic architecture. Anti-virus as an installable, configurable application is ALWAYS going to be vulnerable to attack. There are many malware attacks that INSTRUCT the user to disable their own protection before proceeding! And users do it! Why? Because they are told to do it on a regular basis by "legitimate" software applications. Therefore it becomes easy to use social engineering to convince a user to do the same for other purposes.
0 Votes
+ -
Windows was originally designed with some security features, but nowhere near what was needed in a multi-user open-networked world. Microsoft has never been able to recover this situation, partly their fault and partly ours. They deliberately left "back-doors" open for their own control, and users have always preferred convenience and flexibility over security.

When I got started in this business, my company did code reviews of commercial software before it was installed in our data centers, checking for security gaps and backdoors. Now it seems that every software vendor out there considers it their right to "phone home", do unsolicited downloads, and install hidden software without so much as a casual mention to the user. In my view, every commercial software vendor acts like a thief and a spy, and most website operators as well.

What's going to change this? If more layers of anti-virus and firewalling doesn't solve the problem, then the days of stand-alone computing are going to return. The balance will tilt away from convenience back to more stable situations, like burning the core OS and security into hardware. And users will finally learn not to tolerate empty "privacy statements" and shrink-wrapped disclaimers.
0 Votes
+ -
RE: Postcards from the anti-virus world
efsane Updated - 9th Apr 2011
Well done! Thank you very much for professional templates and community edition
sesli sohbet sesli chat
0 Votes
+ -
I also desire to signal in your RSS feeds. Thank you as soon as once again and maintain up the great operate! nccma cooler
0 Votes
+ -
I used to be more than happy to seek out this internet-site.I wanted to thanks in your time for this glorious read!! I positively enjoying each little bit of it and I have you bookmarked to check out new stuff you weblog post. this thread is amazing i like your work and i appreciate you that you have share a useful stuff thanks for sharing the i shop abatwa
0 Votes
+ -
I used to be more than happy to seek out this internet-site.I wanted to thanks in your time for this glorious read!! I positively enjoying each little bit of it and I have you bookmarked to check out new stuff you weblog post.Bookmarking now thanks please consider a follow up post. power sa shop
0 Votes
+ -
I think the representation of this article is actually superb one. This is my first visit to your site. Thanks a lot and keep sharing the information. Keep updating the information for all of us. Thanks ZDNet Government was launched as the brand's first industry vertical, with a mission to cater to IT professionals in the public secto I agree with your post. However, do you have any sources I can cite for my paper wheel car com bury
0 Votes
+ -
Well welcome, hopefully you can become a vital member of the community and really help to push far ahead of google. Which Im sure the development team would love. This will of course earn you alot points too and get you on the leaders board. z d n e t t h a n k Im not sure i come to an agreement with you on every level, howevor it absolutely was a good posting, many thanks for taking the time to put up your ideas.
0 Votes
+ -
This is my first visit to z d n e t site. Thanks a lot and keep sharing the information. Keep updating the information for all of us.how can i clean up, because i don???t know why it seems my skeen has to fat i get the glasses dirty every day.i search y a h o o Very good quality indeed. I surely recommend it. The template used in their site is also great.
0 Votes
+ -
Fantastic news about the new release.I positively enjoying each little bit of it and I have you b o o k m a r k e d to check out new stuff you weblog post.Im not sure i come to an agreement with you on every level, howevor it absolutely was a good posting, many thanks for taking the time to put up your ideas
0 Votes
+ -
Good day to confirm this comment I would appreciate T h e b e s t o f Z D N e t d e l i v e r e d your website very nice to everyone Yes, Oracle is the only one with shared-disk architecture, but that is there advantage. It means you can add or remove nodes and the database lives on. In a shared nothing architecture, if you lose a node, you lose the system. I'm sure Oracle appreciates EMC highlighting their advantage.I also desire to signal in your RSS feeds. Thank you as soon as once again and maintain up the great operate Awesome post! Thank you very much || thanks for nice content this is really benefit to me.

Join the conversation!

Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]
ie8 fix
Click Here
ie8 fix

The best of ZDNet, delivered

ZDNet Newsletters

Get the best of ZDNet delivered straight to your inbox

Facebook Activity

White Papers, Webcasts, & Resources
ie8 fix
ie8 fix