Welcome Guest. | Log In| Register | Membership Benefits
  • Email this page E-mail this page
  • |  Print Print this page
  • |   Bookmark and Share

Exploit Could Taint Forensics

Cross-site request forgery (CSRF) attack could falsely implicate an innocent user

Jan 28, 2008 | 08:00 AM

By Kelly Jackson Higgins
DarkReading

What if a hacker could taint your forensics investigation with an exploit? That's one of the scarier risks associated with cross-site request forgery (CSRF), a common and stealthy vulnerability found in many Web applications. (See CSRF Vulnerability: A 'Sleeping Giant' and New Tool Eases CSRF Bug Discovery.)

CSRF can be used by an attacker to force a user's browser to conduct searches on behalf of the attacker, grab files or pages, post messages to online forums, and even make changes to the user's Website accounts. So when an organization is conducting either its regular Internet monitoring of inappropriate use by its users, or a full-blown forensics investigation, a CSRF exploit could falsely implicate an innocent user, says Chuck Willis, principal consultant with Mandiant, who will give a presentation on this topic at Black Hat D.C. next month.

These investigations often rely on a user's Web browser cache and history to reconstruct a user's suspicious activity, so if the user's machine is infected with CSRF, that data isn't reliable and an innocent user could be mistakenly accused of wrongdoing when it was actually an attacker behind it.

"Without them knowing it, the [exploit] could be transparently making Web pages and loading pages in the background they don't know are there," Willis says. "And there's also typically a lot of traffic going out from the browser as well."

A CSRF attack on the user's browser eventually could be raised as a defense in a case, Willis notes, so an investigator needs to take that possibility that into account during an investigation. "Was the bad activity in the cache or history not actually done by that person? You need to proactively look at that."

Merely analyzing browser history can help by looking for patterns, such as checking the sites where the user last visited before the suspicious activity started. Building a timeline of activity is the best bet -- checking the content of the sites visited before the bad activity, caches, deletions, and other online activity, he says. "If he saved porn on his own computer, that's a big indication" of inappropriate behavior by the user rather than an attack, he says. "[But] if it's all just in the Web browser cache, be aware" that it may not be the user's doing, he says.

Willis says CSRF flaws are even more widespread in Web applications than the better-known cross-site scripting bug, but so far have not been widely exploited. "It's [CSRF] really a feature of the HTTP protocol in some ways," Willis says. "So unless you're actively doing things to prevent it, you're going to end up with it" in your applications, he says.

"Automated tools for scanning for cross-site scripting have been around for quite awhile," he says. "CSRF is harder to test for."

Willis says his Black Hat talk is more about making sure organizations doing forensics and Internet monitoring are aware of this problem. "We want to make sure they are aware of this issue so that they can be prepared for it," he says. "You have to actually figure out what happened and not jump to conclusions."

Have a comment on this story? Please click "Discuss" below. If you'd like to contact Dark Reading's editors directly, send us a message.

  • Mandiant


  • Subscribe to RSS










    Bugs
    ENTERPRISE VULNERABILITIES
    Vulnerability:suse linux
    Published:2010-01-22
    Severity:High
    Description:SUSE Linux Enterprise 10 SP3 (SLE10-SP3) configures postfix to listen on all network interfaces, which might allow remote attackers to bypass intended access restrictions.
    Vulnerability:ie
    Published:2010-01-22
    Severity:High
    Description:The URL validation functionality in Microsoft Internet Explorer 7 and 8 does not properly process input parameters, which allows remote attackers to execute arbitrary local programs via a crafted URL, aka "URL Validation Vulnerability."
    Vulnerability:bind
    Published:2010-01-22
    Severity:Medium
    Description:ISC BIND 9.0.x through 9.3.x, 9.4 before 9.4.3-P5, 9.5 before 9.5.2-P2, 9.6 before 9.6.1-P3, and 9.7.0 beta does not properly validate DNSSEC (1) NSEC and (2) NSEC3 records, which allows remote attackers to add the Authenticated Data (AD) flag to a forged NXDOMAIN response for an existing domain.
    Vulnerability:ie
    Published:2010-01-22
    Severity:High
    Description:Microsoft Internet Explorer 6, 6 SP1, 7, and 8 does not properly handle objects in memory, which allows remote attackers to execute arbitrary code by accessing an object that (1) was not properly initialized or (2) is deleted, leading to memory corruption, aka "Uninitialized Memory Corruption Vulnerability," a different vulnerability than CVE-2009-2530 and CVE-2009-2531.
    Vulnerability:ie
    Published:2010-01-22
    Severity:High
    Description:Microsoft Internet Explorer 8 does not properly handle objects in memory, which allows remote attackers to execute arbitrary code by accessing an object that (1) was not properly initialized or (2) is deleted, leading to memory corruption, aka "Uninitialized Memory Corruption Vulnerability," a different vulnerability than CVE-2009-3671, CVE-2009-3674, and CVE-2010-0246.


    Briefing Centers
    POWERFUL INFORMATION
    AT YOUR FINGERTIPS
    (SPONSORED LINKS)