| By Java News Desk | Article Rating: |
|
| July 1, 2003 12:00 AM EDT | Reads: |
16,145 |
When Govindavajhala Sudhakar, a Princeton college student from Bangalore, presented a paper on JVM security at an IEEE symposium on computer security, the press naturally took notice. In addition, the ink is still wet on stories of how Muhammad Danka took only a few minutes to find a technique that allowed him to reset passwords of any Microsoft Passport user's account - www.siliconvalley.com/mld/ siliconvalley/5822963.htm.
College students seem to be particularly adept at hacking and, with this in mind, CNET reported: "New hacking tool sees the light," http://news.com.com/2100-1009_3-1001406.html.
What Govindavajhala did was to create a Java applet with two classes, A and B (www.cs.princeton.edu/~sudhakar/ papers/memerr.pdf). The program creates a single instance of A and fills the remainder of the heap with instances of B that point to the singleton A. A and B are defined so that the size they occupy in the JVM (including their object header) is a power of 2. If one of the bits in the JVM where B points to A were to flip, then there's a chance it would likely point to the base of one of the B objects instead.
It's hard to see how this corrupted heap is little more than an academic "so what?" However, the paper assures us that this can be used to read and write arbitrary JVM memory and thereby poses a security threat. Giving the benefit of the doubt on this issue, how's this bit flip going to occur on the PC where the attack applet is lurking?
One method described is to rely on chance because when a cosmic ray interferes with the RAM holding the JVM, random bit flips can occur. Not content with waiting for this event to happen, the paper describes how to take apart a smoke detector to create a source of alpha particles, or use high-energy protons created by particle accelerators, although the favored technique is infrared radiation. The "researchers" opened the back of their PC and shone a 50-watt light bulb onto the memory chips. "As we were fine-tuning this experiment, we found that introducing large numbers of memory errors would often cause the operating system not only to crash, but to corrupt the disk-resident software so that reboot was impossible without reinstallation of the operating system." This is some kind of research euphemism for "Instead of our perfectly engineered single bit flip, we kept frying the hard drive by mistake."
Not content with the unfortunate experimental side effect of frazzling their disk, the authors then go on to describe how a real attacker would not have the luxury of opening the box anyway, and how for a desktop PC "the attacker would have to heat the entire box in an oven." Remember readers, the attacker is trying to just flip a single bit in the JVM heap containing his string of B objects, and he's just put your PC into an oven. What happens if he overcooks it and your prized 3GHz Pentium comes out well done rather than rare? This is covered with the superb understatement, "We don't know whether the memory would become unreliable before other components failed," or in other words "If your PC gets turned to toast, it's all in the name of scientific progress."
When questioned by CIOL, www.ciol.com/content/developer/2003/ 103051401.asp, Govindavajhala stated, "Now, in India, some places go to 50ºC in the summer. Probably bits are already flipping in my homeland. Now, all I need to do to take over a good number of machines in India is to put this applet up on my Web page and wait for hits from India in summer. Computers of a billion people are at stake."
I think perhaps after spending too long in the sun himself, it's not only the PC's bits that have flipped. What's next for the IEEE, "Security Flaw: Monkeys with typewriters break 128-bit encryption."
Published July 1, 2003 Reads 16,145
Copyright © 2003 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Java News Desk
JDJ News Desk monitors the world of Java to present IT professionals with updates on technology advances, business trends, new products and standards in the Java and i-technology space.
![]() |
Andy Schwarz 07/07/03 10:39:00 PM EDT | |||
The point of the article is that if you have some control over the JVM (running your applet) as well as the physical machine (think a smart card), then you can break into other applets/their memory. I think this was featured in last month's Schneier's cryptogram |
||||
- It's the Java vs. C++ Shootout Revisited!
- Patterns for Building High Performance Applications
- Asynchronous Logging Using Spring
- Java for Programmers (2nd Edition)
- Cross-Platform Mobile Website Development – a Tool Comparison
- Three Buzzwords That Every CIO Hears but One They Should Listen To
- Write Once Run Anywhere or Cross Platform Mobile Development Tools
- Immersing into JavaScript Frameworks
- Workday Reportedly Prepping to Go Public
- Cloud Expo New York: The Java EE 7 Platform - Developing for the Cloud
- Book Review: Sams Teach Yourself Java in 24 Hours
- OpenOffice.com Lives
- Book Excerpt: Introducing HTML5
- Adobe Sends Flex to the Apache Foundation
- Five Years Waiting for JRE 7: Is It Justified? (Part 1)
- Book Excerpt: Java Application Profiling Tips and Tricks
- i-Technology in 2012: Five Industry Predictions
- It's the Java vs. C++ Shootout Revisited!
- Patterns for Building High Performance Applications
- OpenXava 4.3: Rapid Java Web Development
- The Next Web Architecture
- Asynchronous Logging Using Spring
- Java for Programmers (2nd Edition)
- Is Write Once Run Anywhere Ever Going to Be a Reality?
- A Cup of AJAX? Nay, Just Regular Java Please
- Java Developer's Journal Exclusive: 2006 "JDJ Editors' Choice" Awards
- JavaServer Faces (JSF) vs Struts
- The i-Technology Right Stuff
- Rich Internet Applications with Adobe Flex 2 and Java
- Java vs C++ "Shootout" Revisited
- Bean-Managed Persistence Using a Proxy List
- Reporting Made Easy with JasperReports and Hibernate
- Creating a Pet Store Application with JavaServer Faces, Spring, and Hibernate
- Why Do 'Cool Kids' Choose Ruby or PHP to Build Websites Instead of Java?
- What's New in Eclipse?
- i-Technology Predictions for 2007: Where's It All Headed?



















