Title :
Using memory errors to attack a virtual machine
Author :
Govindavajhala, Sudhakar ; Appel, Andrew W.
Author_Institution :
Princeton Univ., NJ, USA
Abstract :
We present an experimental study showing that soft memory errors can lead to serious security vulnerabilities in Java and .NET virtual machines, or in any system that relies on type-checking of untrusted programs as a protection mechanism. Our attack works by sending to the JVM a Java program that is designed so that almost any memory error in its address space will allow it to take control of the JVM. All conventional Java and .NET virtual machines are vulnerable to this attack. The technique of the attack is broadly applicable against other language-based security schemes such as proof-carrying code. We measured the attack on two commercial Java virtual machines: Sun´s and IBM´s. We show that a single-bit error in the Java program´s data space can be exploited to execute arbitrary code with a probability of about 70%, and multiple-bit errors with a lower probability. Our attack is particularly relevant against smart cards or tamper-resistant computers, where the user has physical access (to the outside of the computer) and can use various means to induce faults; we have successfully used heat. Fortunately, there are some straightforward defenses against this attack.
Keywords :
Internet; Java; security of data; .NET virtual machines; IBM Java virtual machines; JVM; Java; Sun Java virtual machines; arbitrary code execution; language-based security schemes; multiple-bit errors; physical access; program data space; proof-carrying code; security vulnerabilities; single-bit error; smart cards; soft memory errors; tamper-resistant computers; type-checking; untrusted programs; virtual machine attack; Computer errors; Error correction; Hardware; Java; Memory management; Physics computing; Program processors; Protection; Security; Virtual machining;
Conference_Titel :
Security and Privacy, 2003. Proceedings. 2003 Symposium on
Print_ISBN :
0-7695-1940-7
DOI :
10.1109/SECPRI.2003.1199334