DocumentCode
3452516
Title
Using memory errors to attack a virtual machine
Author
Govindavajhala, Sudhakar ; Appel, Andrew W.
Author_Institution
Princeton Univ., NJ, USA
fYear
2003
fDate
11-14 May 2003
Firstpage
154
Lastpage
165
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;
fLanguage
English
Publisher
ieee
Conference_Titel
Security and Privacy, 2003. Proceedings. 2003 Symposium on
ISSN
1081-6011
Print_ISBN
0-7695-1940-7
Type
conf
DOI
10.1109/SECPRI.2003.1199334
Filename
1199334
Link To Document