>

Scientific Frontline® On-Site Search Engine by Google Co-op

Current UTC Time
 
News Home, where you will find the "Current Top Stories"The Communication Center contains current news briefs from major Universities, NASA, ESA, and the top three Aviation Mfg.Science section contains all the latest knowledge in Medical Research, Archeology, Biology, and other General Science NewsCurrent Earth Science and Environmental discoveries.The E.A.R., Environmental Awareness Report. E.A.R. will keep you advised of Environmental Alerts, Government, University, and public projects. All the current space discoveries from Hubble, Spitzer, Chandra X-Ray, ESO, Gemini, Subaru, ESA, NASA, and many more. The latest in space theories from leading astronomers and scientist from around the world.The Space Weather Forecast Center by Scientific Frontline, Current up-to-date space weather, forecasts, alerts and warnings. Images from SOHO, GOES, and STEREO. Plus solar observations from Erika RixCurrent space missions newsThe Cassini Main Page. Containing all the latest news from the Cassini Spacecraft around Saturn. Leading into Cassini status reports, The Cassini Gallery of all the latest images from Cassini. Seeing Saturn and all her moons like never before.Daily Sky maps, Celestial Events Calendar.Observatories Gallery, images from The Great Observatories and other leaders in astronomy.The Stellar Nights  Gallery, An amateur astronomical collection from John Crilly, Richard Handy, Erika Rix, and Paul RixCloudy Nights Telescope Reviews / An Atronomical Community.The latest in Computer, Nanotechnology, and General Technological advancements.The latest in Aviation achievements in civil, military, and space aviationThe World News Report,  news from the Voxant Viral Syndication, known as the Newsroom. Contains the latest videos from major news sources.The news archive from Scientific Frontline's past articles. A world of knowledge at your fingertips.Abstracts, Journals, and Technical papers maintained by Scientific Frontline. The Gateway to all the galleries in the Scientific Frontline collectionThe Scientific Frontline Discussion Rooms. Open to the public.upcoming events, seminars, and lectures from major universities, government, and privately sponsored programsSite Related links from major universities, government and private research labs.Assorted Downloads related to space, science, aviation, including screensavers and ASTROMONY SOFTWARE, and other endorsed programs.Words from Heidi-Ann Kennedy, Director Scientific FrontlineThe foundation of an online publication by SFL ORG. News Network called Scientific FrontlineContact page to Scientific Frontline / SFL ORG. News NetworkDisclaimer / Legal Notice for use of the SFL ORG. News Network's publication Scientific Frontline
an online publication of the SFL ORG. Educational News Network

Good Code, Bad Computations: a Computer Security Gray Area

Tuesday, October 28, 2008

Larger Version | PDF Tech Paper
Ryan Roemer and Erik Buchanan, graduate students from UC San Diego’s computer science department published work showing that the building of bad programs from good code using “return-oriented programming” can be automated and that this vulnerability applies to RISC computer architectures and not just the x86 architecture (which includes the vast majority of personal computers).

Credit: University of California, San Diego's Jacobs School of Engineering
If you want to make sure your computer or server is not tricked into undertaking malicious or undesirable behavior, it’s not enough to keep bad code out of the system.

Two graduate students from UC San Diego’s computer science department—Erik Buchanan and Ryan Roemer—have just published work showing that the process of building bad programs from good code using “return-oriented programming” can be automated and that this vulnerability applies to RISC computer architectures and not just the x86 architecture (which includes the vast majority of personal computers).

Last year, UC San Diego computer science professor Hovav Shacham formally described how return-oriented programming could be used to force computers with the x86 architecture to behave maliciously without introducing any bad code into the system. However, the attack required painstaking construction by hand and appeared to rely a unique quirk of the x86 design.

This new automation and generalization work from graduate students and professors from UC San Diego’s Jacobs School of Engineering will be presented on October 28 at ACM’s Conference on Communications and Computer Security (CCS) 2008, one of the premier academic computer security conferences.

Most computer security defenses are based on the notion that preventing the introduction of malicious code is sufficient to protect a computer. This assumption is at the core of trusted computing, anti-virus 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,” said UC San Diego computer science professor Stefan Savage, an author on the CCS 2008 paper.

Return-oriented Programming

Return-oriented programming exploits start out like more familiar attacks on computers. The attacker takes advantage of a programming error in the target system to overwrite the runtime stack and divert program execution away from the path intended by the system’s designers. But instead of injecting outside code—the approach used in traditional malicious exploits—return-oriented programming enables attackers to create any kind of nasty computation or program by using just the existing code.

You can create any kind of malicious program you can imagine—Turing complete functionality,” said Shacham.

For example, a user’s Web browser could be subverted to record passwords typed by the user or to send spam e-mail to all address book contacts, using only the code that makes up the browser itself.

There is value in showing just how big of a potential problem return-oriented programming may turn out to be,” said computer science graduate student Erik Buchanan.

The term “return-oriented programming” describes the fact that the “good” instructions that can be strung together in order to build malicious programs need to end with a return command. The graduate students showed that the process of building these malicious programs from good code can be largely automated by grouping sets of instructions into “gadgets” and then abstracting much of the tedious work behind a programming language and compiler.

Imagine taking a 700 page book, picking and choosing words and phrases in no particular order and then assembling a 50 page story that has nothing to do with the original book. Return-oriented programming allows you to do something similar. Here the 700 page book is the code that makes up the system being attacked—for example, the standard C-language library libc—and the story is the malicious program the attacker wishes to have executed.

We found that return-oriented programming poses a much more general vulnerability than people initially thought,” said computer science graduate student Ryan Roemer. He and Buchanan chose to study return-oriented programming for a class project after they heard Shacham outline a series of open questions in a guest lecture he gave in Savage’s computer security course last winter.

Living with Return-Oriented Programming

The threat posed by return-oriented programming, across all architectures and systems, has negative implications for an entire class of security mechanisms: those that seek to prevent malicious computation by preventing the execution of malicious code,” the authors write in their CCS 2008 paper.

For instance, Intel and AMD have implemented security functionality into their chips (NX/XD) that prevents code from being executed from certain memory regions. Operating systems in turn use these features to prevent input data from being executed as code (e.g., Microsoft’s Data Execution Prevention feature introduced in Windows XP SP2). The new research from UC San Diego, however, highlights an entire class of exploits that would not be stopped by these security measures since no malicious code is actually executed. Instead, the stack is “hijacked” and forced to run good code in bad ways.

We have demonstrated that return-oriented exploits are practical to write, as the complexity of gadget combination is abstracted behind a programming language and compiler. Finally, we argue that this approach provides a simple bypass for the vast majority of exploitation mitigations in use today,” the computer scientists write.

The authors outline a series of approaches to combat return-oriented programming. Eliminating vulnerabilities permitting control flow manipulation remains a high priority—as it has for 20 years. Other possibilities: hardware and software support for further constraining control flow and addressing the power of the return-oriented approach itself.

Finally, if the approaches fail, 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,” the authors write.

Source: University of California, San Diego / Jacobs School of Engineering

AddThis Social Bookmark Button

Scientific Frontline®
RSS Feeds

Scientific Frontline®
The Comm Center
The E.A.R.®
World News Report
Stellar Nights®
Cassini Gallery
Mars Gallery
Missions Gallery
Observatories Gallery
Observatories Gallery
Space Weather Alerts
Events
Directors Chair

Scientific Frontline®
Is supported in part by
Readers Like You”
 
Scientists Store and Retrieve Data Inside an Atom Solar Power Game-Changer: “Near Perfect” Absorption of Sunlight, From All Angles Computer Scientist Forges New Line Of Defense Against Malicious Traffic Navigate Back or Forward Through Technology News, Related Page or Pick an Article From The News Ticker.


Scientific Frontline®, Stellar Nights®, E.A.R.®, and Environmental Awareness Report®”
Are Registered Trademarks of the
Online Publication of the SFL ORG. Educational News Network
Oklahoma City, Oklahoma USA
A Not-for-Profit Educational News Service
© 2005 - 2008 All Rights Reserved


Home | Comm. Center | Science | Earth Science | Space | Space Weather Center | Aviation | Technology | Galleries | About Us | Contact Us | Site Map | FAQ