Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Vulnerabilities / Threats

10/29/2008
04:44 PM
Connect Directly
Google+
Twitter
RSS
E-Mail
50%
50%

Hack Turns Application Code Against Itself

New attack uses application flaws to force good code to go rogue

Turns out you don't need malware to exploit a security flaw in an application: A pair of researchers has found a way to automatically make good code do bad things.

Researchers from the University of California at San Diego (UCSD) have devised a technique that basically lets an attacker bypass built-in system defenses aimed at blocking malware, and then execute instructions from inside the application. The process uses an application's vulnerability to turn it against the system on which it runs.

An attacker could take advantage of a flaw in a Web browser, for instance, to force the browser to spam the user's address book using only the browser's own code, according to the researchers.

"Most computer security defenses are based on the notion that preventing the introduction of malicious code is sufficient to protect a computer," said Stefan Savage, a UCSD computer science professor and co-author of the newly published paper, "When Good Instructions Go Bad: Generalizing Return-Oriented Programming to RISC" (PDF). "This assumption is at the core of trusted computing, antivirus software, and various defenses like Intel and AMD's no-execute protections. There is a subtle fallacy in the logic, however: Simply keeping out bad code is not sufficient to keep out bad computation."

Another UCSD researcher at Black Hat USA in August demonstrated a more manual technique for this -- against x86-based systems. But UCSD graduate students Erik Buchanan and Ryan Roemer in this latest research took it to the next level and automated the process, as well as extended it to RISC-based processors.

The researchers automated the development of malicious programs from code with "gadgets" to streamline the process. Since malware isn't involved, an attacker could hijack the application and force it to behave badly.

"The researchers' breakthrough is the ability to quickly extract patterns that can be used in such an attack to execute instructions that should be prevented by the OS," as well as using this so-called return-oriented technique against the RISC processing platform, says Pierre-Marc Bureau, a researcher with Eset.

While such an attack isn't likely a big threat today, it demonstrates how seemingly benign software bugs could become lethal. "You're not going to bother fixing a buffer overflow because it doesn't seem exploitable. But this shows that these kinds of flaws might be exploitable [after all] with these techniques," says Chris Wysopal, CTO at Veracode. "These aren't new exploits. But they are coming up with a generalized technique for exploiting some of those vulnerabilities we already know about."

Such an attack would take a relatively skilled hacker, says Randy Abrams, director of technical education at Eset. "For the criminal element, they'll go after the low-hanging fruit, and that is the user," Abrams says.

Aside from fixing certain types of application flaws or creating other security measures to protect against such attacks, the researchers say their finding could shift the focus to more behavior-based security. "We may be forced to abandon the convenient model that code is statically either good or bad, and instead focus on dynamically distinguishing whether a particular execution stream exhibits good or bad behavior," they wrote in their paper.

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.

Kelly Jackson Higgins is the Executive Editor of Dark Reading. She is an award-winning veteran technology and business journalist with more than two decades of experience in reporting and editing for various publications, including Network Computing, Secure Enterprise ... View Full Bio

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
Sodinokibi Ransomware: Where Attackers' Money Goes
Kelly Sheridan, Staff Editor, Dark Reading,  10/15/2019
Data Privacy Protections for the Most Vulnerable -- Children
Dimitri Sirota, Founder & CEO of BigID,  10/17/2019
State of SMB Insecurity by the Numbers
Ericka Chickowski, Contributing Writer,  10/17/2019
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
7 Threats & Disruptive Forces Changing the Face of Cybersecurity
This Dark Reading Tech Digest gives an in-depth look at the biggest emerging threats and disruptive forces that are changing the face of cybersecurity today.
Flash Poll
2019 Online Malware and Threats
2019 Online Malware and Threats
As cyberattacks become more frequent and more sophisticated, enterprise security teams are under unprecedented pressure to respond. Is your organization ready?
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2019-11674
PUBLISHED: 2019-10-22
Man-in-the-middle vulnerability in Micro Focus Self Service Password Reset, affecting all versions prior to 4.4.0.4. The vulnerability could exploit invalid certificate validation and may result in a man-in-the-middle attack.
CVE-2019-12967
PUBLISHED: 2019-10-22
Stephan Mooltipass Moolticute through 0.42.1 (and possibly earlier versions) has Incorrect Access Control.
CVE-2019-17189
PUBLISHED: 2019-10-22
totemodata 3.0.0_b936 has XSS via a folder name.
CVE-2019-4523
PUBLISHED: 2019-10-22
IBM DB2 High Performance Unload load for LUW 6.1 and 6.5 is vulnerable to a buffer overflow, caused by improper bounds checking which could allow a local attacker to execute arbitrary code on the system with root privileges. IBM X-Force ID: 165481.
CVE-2019-17424
PUBLISHED: 2019-10-22
A stack-based buffer overflow in the processPrivilage() function in IOS/process-general.c in nipper-ng 0.11.10 allows remote attackers (serving firewall configuration files) to achieve Remote Code Execution or Denial Of Service via a crafted file.