
98 COMMUNICATIONS OF THE ACM | MAY 2009 | VOL. 52 | NO. 5
research highlights
provide key material to access the volume). MacIver appar-
ently has not published on this subject.
Researchers have known since the 1970s that DRAM cell
contents survive to some extent even at room temperature
and that retention times can be increased by cooling.
13
In
2002, Skorobogatov
17
found significant retention times with
static RAMs at room temperature. Our results for DRAMs
show even longer retention in some cases.
Some past work focuses on “burn-in” effects that
occur when data is stored in RAM for an extended period.
Gutmann
9, 10
attributes burn-in to physical changes in mem-
ory cells, and he suggests that keys be relocated periodically
as a defense. Our findings concern a different phenomenon.
The remanence effects we studied occur even when data is
stored only momentarily, and they result not from physical
changes but from the electrical capacitance of DRAM cells.
A number of methods exist for obtaining memory
images from live systems. Unlike existing techniques, our
attacks do not require access to specialized hardware or a
privileged account on the target system, and they are resis-
tant to operating system countermeasures.
9. CONCLUSION
Contrary to common belief, DRAMs hold their values for
surprisingly long intervals without power or refresh. We
show that this fact enables attackers to extract cryptographic
keys and other sensitive information from memory despite
the operating system’s efforts to secure memory contents.
The attacks we describe are practical—for example, we have
used them to defeat several popular disk encryption sys-
tems. These results imply that disk encryption on laptops,
while beneficial, does not guarantee protection.
In recent work Chan et al.
4
demonstrate a dangerous exten-
sion to our attacks. They show how to cold-reboot a running
computer, surgically alter its memory, and then restore the
machine to its previous running state. This allows the attacker
to defeat a wide variety of security mechanisms—including
disk encryption, screen locks, and antivirus software—by tam-
pering with data in memory before reanimating the machine.
This attack can potentially compromise data beyond the local
disk; for example, it can be executed quickly enough to bypass
a locked screen before any active VPN connections time out.
Though it appears that this attack would be technically chal-
lenging to execute, it illustrates that memory’s vulnerabil-
ity to physical attacks presents serious threats that security
researchers are only beginning to understand.
There seems to be no easy remedy for memory rema-
nence attacks. Ultimately, it might become necessary to treat
DRAM as untrusted and to avoid storing sensitive data there,
but this will not be feasible until architectures are changed
to give running software a safe place to keep secrets.
Acknowledgments
We thank Andrew Appel, Jesse Burns, Grey David, Laura
Felten, Christian Fromme, Dan Good, Peter Gutmann,
Benjamin Mako Hill, David Hulton, Brie Ilenda, Scott Karlin,
David Molnar, Tim Newsham, Chris Palmer, Audrey Penven,
David Robinson, Kragen Sitaker, N.J.A. Sloane, Gregory
Sutter, Sam Taylor, Ralf-Philipp Weinmann, and Bill Zeller
for their helpful contributions. This work was supported in
part by a National Science Foundation Graduate Research
Fellowship and by the Department of Homeland Security
Scholarship and Fellowship Program; it does not necessarily
reflect the views of NSF or DHS.
References
1. Arbaugh, W., Farber, D., Smith, J.
A secure and reliable bootstrap
architecture. In Proceedings of the
IEEE Symposium on Security and
Privacy (May 1997), 65–71.
2. Boyen, X. Halting password
puzzles: Hard-to-break encryption
from human-memorable keys. In
Proceedings of the 16th USENIX
Security Symposium (August 2008).
3. Canetti, R., Dodis, Y., Halevi, S.,
Kushilevitz, E., Sahai, A. Exposure-
resilient functions and all-or-nothing
transforms. In EUROCRYPT 2000,
volume 1807/2000 (2000), 453–469.
4. Chan, E.M., Carlyle, J.C., David, F.M.,
Farivar, R., Campbell, R.H. Bootjacker:
Compromising computers using
forced restarts. In Proceedings of the
15th ACM Conference on Computer
and Communications Security
(October 2008), 555–564.
5. Chow, J., Pfaff, B., Garfinkel, T.,
Rosenblum, M. Shredding your
garbage: Reducing data lifetime
through secure deallocation. In
Proceedings of the 14th USENIX
Security Symposium (August 2005),
331–346.
6. Dwoskin, J., Lee, R.B. Hardware-rooted
trust for secure key management and
transient trust. In Proceedings of the
14th ACM Conference on Computer
and Communications Security
(October 2007), 389–400.
7. Dyer, J.G., Lindemann, M., Perez, R.,
Sailer, R., van Doorn, L., Smith, S.W.,
Weingart, S. Building the IBM 4758
secure coprocessor. Computer 34
(Oct. 2001), 57–66.
8. Ferguson, N. AES-CBC + Elephant
diffuser: A disk encryption algorithm
for Windows Vista, (August 2006).
9. Gutmann, P. Secure deletion of
data from magnetic and solid-state
memory. In Proceedings of the 6th
USENIX Security Symposium (July
1996), 77–90.
10. Gutmann, P. Data remanence
in semiconductor devices. In
Proceedings of the 10th USENIX
Security Symposium (August 2001),
39–54.
11. Heninger, N., Shacham, H. Improved
RSA private key reconstruction for
cold boot attacks. Cryptology ePrint
Archive, Report 2008/510, December
2008.
12. Lie, D., Thekkath, C.A., Mitchell, M.,
Lincoln, P., Boneh, D., Mitchell, J.,
Horowitz, M. Architectural support for
copy and tamper resistant software.
In Symposium on Architectural
Support for Programming Languages
and Operating Systems (2000).
13. Link, W., May, H. Eigenschaften von
MOS-Ein-Transistorspeicherzellen
bei tiefen Temperaturen. Archiv für
Elektronik und Übertragungstechnik
33 (June 1979), 229–235.
14. MacIver, D. Penetration testing
Windows Vista BitLocker drive
encryption. Presentation, Hack In The
Box (September 2006).
15. Pettersson, T. Cryptographic key
recovery from Linux memory dumps.
Presentation, Chaos Communication
Camp (August 2007).
16. Shamir, A., van Someren, N. Playing
“hide and seek” with stored keys.
LNCS 1648 (1999), 118–124.
17. Skorobogatov, S. Low-temperature
data remanence in static RAM.
University of Cambridge Computer
Laborary Technical Report 536, June
2002.
18. Weinmann, R.-P., Appelbaum, J.
Unlocking FileVault. Presentation,
23rd Chaos Communication
Congress, December 2006.
J. Alex Halderman
(jhalderm@eecs.umich.edu)
University of Michigan.
Seth D. Schoen
(schoen@eff.org)
Electronic Frontier Foundation.
Nadia Heninger
(nadiah@cs.princeton.edu)
Princeton University.
William Clarkson
(wclarkso@cs.princeton.edu)
Princeton University.
William Paul
(wpaul@windriver.com)
Wind River Systems.
Joseph A. Calandrino
(jcalandr@cs.princeton.edu)
Princeton University.
Ariel J. Feldman
(ajfeldma@cs.princeton.edu)
Princeton University.
Jacob Appelbaum
(jacob@appelbaum.net)
The Tor Project.
Edward W. Felten
(felten@cs.princeton.edu)
Princeton University.
© 2009 ACM 0001-0782/09/0500 $5.00