Spyware, Adware and Trojans
Home > Ask the Security Experts > Information Security Threats Questions & Answers > What is Spycar?
Ask The Security Expert: Questions & Answers
EMAIL THIS

What is Spycar?

Ed Skoudis EXPERT RESPONSE FROM: Ed Skoudis

Pose a Question
Other Security Categories
Meet all Security Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 21 September 2007
How can Spycar be used to analyze the effectiveness of various products?

>
EXPERT RESPONSE

Back in May 2006, when my colleague Tom Liston and I originally released Spycar, it worked well in analyzing the effectiveness of behavior-based antimalware products, as well as in identifying whether the tools had behavior-based detection capabilities at all. Spycar, still available for free, throws any one of 17 different aggressive spyware-like behaviors onto a machine. It then tries to coax an antispyware tool into detecting the action and blocking it.

Most antivirus and antispyware vendors today rely on signature-based detection, which identifies malware by checking for specific bit patterns in a file or in memory. Because such detection looks for a malware sample in its entirety, bad guys can avoid the technology by slightly tweaking their malware. Newer heuristic detection capabilities still look for patterns, but now they seek only telltale piece parts of malware, rather than match signatures against a whole file.

With behavior-based detection, however, the antimalware tool allows a program to run. If the program engages in evil behavior, the tool then kills the process and possibly rolls back any changes. The Spycar tool is designed to imitate the behaviors of evil programs, but in an entirely benign and completely reversible fashion. Some malware alters the hosts file, for example, mapping the domain names of some antivirus companies to an individual's own localhost IP address (127.0.0.1). Such an entry prevents the user from receiving signature updates. Spycar mimics this action in a benign way by appending an innocuous entry to the hosts file, with the hope that behavior-based defenses will block it. Spycar likewise alters the Run, RunOnce, and RunOnceEx registry keys in the HKLM and HKCU portions of the Registry, which adds an innocuous auto-start program that runs whenever someone boots the machine or logs on. Again, the hope is that an antimalware tool will detect Spycar's attempted changes and block them.

You can download Spycar and attempt to run it on your machine. Simply download each individual Spycar test one by one, and then run the program that is delivered to you. Spycar doesn't infect a machine, and it cleans itself up with the running of a program called TowTruck, also available at www.spycar.org. The TowTruck executable analyzes a system to see which of the Spycar tests were successful. After the analysis, the program rolls everything back to the pre-Spycar state.

At first, we had some good successes in testing with Spycar, finding some flaws in various antimalware tools, and learning about the strengths of others. You can read about our findings in the May 2006 issue of Information Security Magazine.

Then… Wham! The various antivirus and antispyware vendors wrote signatures to detect Spycar. Suddenly, for some vendors, Spycar could no longer measure whether these products had behavior-based detection capabilities and whether they were any good. That was a significant bummer, and the signatures remain a problem today with some but not all vendors. You can still run Spycar as a pure-play behavior-based detection tool. It can check that your antivirus technology detects the behaviors that Spycar models. Beware of testing it against signature-based products, however. Antivirus mechanisms may stop it from running and evaluating your behavior-based defenses.

Tom Liston and I have worked in the lab to brainstorm another approach, resulting in the creation of a new Spycar tool, which we haven't yet released. This new version models multiple behaviors simultaneously. Instead of just altering the hosts file or doing the other 16 behaviors one at a time, Spycar can be configured to simultaneously perform any combination of 25 different behaviors. The new design should allow Spycar to evaluate antimalware tools that have sophisticated behavior-based scoring systems.

But, alas, how can we deal with the signature problem? The new Spycar design is radically polymorphic, changing itself fundamentally each time it is run. That makes it far less detectable by signature-based heuristics, which is the good news. The bad news is that Tom Liston dreamed up some pretty radical morphing code for the new version, which we're not sure we want to unleash on the world at this time. It's nifty stuff, but we'll keep it in the lab for now.

More information:

  • Learn other ways to test an antivirus tool's behavior-based functions.
  • Ed Skoudis reveals the best bot detection mechanisms.


  • Sound Off! -   


    Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


    RELATED CONTENT
    Information Security Threats
    What are the dangers of cross-site request forgery attacks (CSRF)?
    Should social engineering tests be included in penetration testing?
    What kind of data is compromised during a Google hack?
    Best practices for using restriction policy whitelists
    Defining mobile device security concerns
    What security measures can be taken to stop crimeware kits?
    What software development best practices can prevent input validation attacks?
    What is the most secure way for application developers to manage cookies?
    Is there a market for standalone antivirus products?
    Can 'herd intelligence' effectively stop malware?

    Viruses, Worms and Other Malware
    New defenses for automated SQL injection attacks
    Information security book excerpts and reviews
    Yahoo, McAfee to warn users of dangerous websites
    Botnets and ethics
    Interview: Jim Kirkhope of NCR
    Trojan downloaders, droppers skyrocket, Microsoft says
    New phishing, Zeus Trojan technique spreads crimeware
    Researchers uncover tool used to infect websites, spread malware
    RSA 2008: Defeating botnets
    Malware found on HP ProLiant server USB keys

    Spyware, Adware and Trojans
    Stolen data ending up in Google cache, say researchers
    Information security book excerpts and reviews
    Yahoo, McAfee to warn users of dangerous websites
    Botnets and ethics
    Security Services: Webroot Email Security SaaS
    Interview: Jim Kirkhope of NCR
    Trojan downloaders, droppers skyrocket, Microsoft says
    Kraken botnet balloons to dangerous levels
    New Storm attack exploits April Fool's Day
    Panda latest AV firm trying to adapt with the times
    Spyware, Adware and Trojans Research

    RELATED GLOSSARY TERMS
    Terms from Whatis.com − the technology online dictionary
    bot worm  (SearchSecurity.com)
    directory traversal  (SearchSecurity.com)
    Kraken  (SearchSecurity.com)
    man in the browser  (SearchSecurity.com)
    Mytob  (SearchSecurity.com)
    polymorphic malware  (SearchSecurity.com)
    RavMonE virus  (SearchSecurity.com)
    RFID virus  (SearchSecurity.com)
    Rock Phish  (SearchSecurity.com)
    Zotob  (SearchSecurity.com)

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary



    Search and Browse the Expert Answer Center
    Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
    Browse our Expert Advice

    TechTarget Security Media
    Information Security View this month\\'s issue and subscribe today.
    Information Security Decisions Apply online for free conference admission.
    SearchSecurity.com
    HomeNewsMagazineWebcastsWhite PapersLearningAdviceTopicsEventsAbout Us

    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




    All Rights Reserved, Copyright 2003 - 2008, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts