On TechRepublic: Five super-secret features in Windows 7
BNET Business Network:
BNET
TechRepublic
ZDNet

February 21st, 2008

Cryogenically frozen RAM bypasses all disk encryption methods

Posted by George Ou @ 11:59 pm

Categories: Apple, Data theft, Exploit code, Microsoft, Open source, Passwords, Privacy, Punditocracy, Vulnerability research

Tags: Software, Disk, RAM, USB, Computer, Memory, Productivity, Semiconductors, Hardware, Components

Computer encryption technologies have all relied on one key assumption that RAM (Random Access Memory) is volatile and that all content is lost when power is lost. That key assumption is now being fundamentally challenged with a $7 can of compressed air and it’s enough to give every security professional heart burn.

We all had some theoretical concerns, but surely it would be too difficult to transport hot memory from one computer to another to extract its contents right? That’s what we all thought until a group of researchers from Princeton University showed that memory wasn’t as volatile as we had all assumed (see Techmeme). As a matter of fact, memory would hold its contents for a duration of seconds or even minutes with the power cut off. If that wasn’t long enough, a can of compressed air used upside down will cryogenically freeze memory and keep the data intact for several minutes to an hours. This means the ultrasensitive encryption keys used to protect data can be exposed in the clear.

Also see: Images: How to bypass FileVault, BitLocker security

Most of the time, the compressed air probably isn’t even necessary but it can offer a sure way to get the job done since the RAM can be safely moved to a different computer. Once that computer boots up in to a special OS designed for RAM forensics, it is possible to dump the raw contents of memory on to storage. Even if parts of the key were lost due to power-loss decay, a simply exhaustive search should be able to recreate the key. But by freezing the memory, it’s unlikely that much data would be lost in the first place.

This same attack works without the compressed air or RAM migration if the computer is configured for USB or LAN boot. You simply put in a USB dongle and boot off that dongle or you can boot off the network. Booting off the optical drive is probably just as easy and more likely to work. Then you can dump the RAW memory contents to the USB dongle or a network share. If the computer will only boot to the hard drive and the BIOS is locked from reconfiguration, then you might run in to some problems because you’ve already wasted a minute trying to find all this out but the freeze and memory migrate method gets around any of these boot-up limitations.

If an embedded TPM is involved, a simple swapping of the hard drive will get around all these problems. Once the raw contents are saved to disk, forensics software can retrieve the keys from disk encryption systems such as Vista BitLocker, Apple FileVault, TrueCrypt, dm-crypt, and potentially a bunch of other data encryption solutions as well. Once is key is exposed, the hard drive might as well not be encrypted at all.

The challenge we are facing here is fundamentally difficult because the problem stems from a combination of hardware, software, and usability. The software assumes the hardware (RAM) will lose its content as soon as power is lost and that simply isn’t the case. RAM is designed to be low power, low latency, low cost, high density, and high throughput but nowhere on that list is “quick to forget when powered off”. Even if the memory could be designed to rapidly expire in under a second, -150 Celsius liquid nitrogen can extend that time by orders of magnitude.

We might design encryption software to flush the key every few minutes when not in use but that gets in to usability issues. No one wants to be forced to pull out a USB dongle every few minutes or have to type in a password to extract the key from the TPM. Sort of a user-friendly transparent proximity solution where the user wears some sort of secure wireless token that can securely hand out the encryption key whenever needed by the push of a button do I see it practical to frequently flush the encryption key from the encryption software. There was little motivation to build such a system but with this latest breakthrough in offensive capability, we might have to consider it.

George Ou is Technical Director of ZDNet. See his full profile and disclosure of his industry affiliations.

  • Talkback
  • Most Recent of 60 Talkback(s)
35 seconds to get into PC, freeze RAM, get RAM, decrypt, before data loss
From the actual technical article http://citp.princeton.edu.nyud.net/pub/coldboot.pdf:

"Our ???rst tests measu... (Read the rest)
Posted by: GiveMeGizmos Posted on: 03/04/08 You are currently: a Guest | | Terms of Use
fascinating  killerbunny | 02/22/08
You need physical access  voska1 | 02/22/08
Your correct.  phatkat | 02/22/08
The purpose of disk encryption is to protect you from stolen hardware  georgeou | 02/22/08
It sure is  voska1 | 02/22/08
I'm glad someone's ...  thx-1138_@... | 02/22/08
Looks like, though...  John L. Ries | 02/23/08
Still very risky  nucrash | 02/22/08
If you're safe from physical access, there would be no need for disk encryp  georgeou | 02/22/08
Sounds Ideal  nucrash | 02/25/08
Encyption Legislation  benjaminwright75205 | 02/22/08
No, this just means we need to fix the encryption technology  georgeou | 02/22/08
Simple Fix....  mrOSX | 02/25/08
Lame, highly improbable, and vested interest involved.  techboy_z | 02/22/08
Nothing lame about it  georgeou | 02/22/08
You call it lame, but you took the time to read it...(nt)  hjagla | 02/22/08
This is stupid.  Eriamjh | 02/22/08
Soldered??  aureolin@... | 02/22/08
RAM for Macbook Air is soldered to the motherboard  GiveMeGizmos | 02/26/08
Welcome to the 1980s  georgeou | 02/22/08
No, You Are Stupid  DarienHawk67 | 02/22/08
Hence the need for encrypted RAM use  Been_Done_Before | 02/22/08
Can't do that. At some point in time, the data must be decrypted  georgeou | 02/22/08
RE: Cryogenically frozen RAM bypasses all disk encryption methods  phatkat | 02/22/08
RE: Cryogenically frozen RAM bypasses all disk encryption methods  d1g1tal_ph3r3t | 02/22/08
Turn the damn thing off!  hummingfrog | 02/22/08
Yes, but laptops tend to disappear when they're on too  georgeou | 02/22/08
Good reason...  John L. Ries | 02/23/08
A bit far-fetched  riredale | 02/22/08
How do you pull that off if you yank battery and power cord?  georgeou | 02/22/08
hmm...  lostarchitect | 02/22/08
Lots of hardware changes could be made  georgeou | 02/22/08
I believe you are correct.  joe.smetona@... | 02/23/08
If you're at the airport or cafe  georgeou | 02/23/08
A great research piece  techr@... | 02/22/08
The hack is to TURN IT OFF & beat up anyone who has a can of compressed air  GiveMeGizmos | 02/22/08
Most people love suspend mode  terry flores | 02/22/08
They are BS'ing you.  cornpie | 02/22/08
How long does it take to shut down a laptop by yanking the cord and battery  georgeou | 02/22/08
Of course I have.  cornpie | 02/23/08
Yeah, Reasonable & Practical -- and don't go overboard on this FUD nonsense  GiveMeGizmos | 02/23/08
The lesson here is to DISABLE suspend mode  georgeou | 02/23/08
That's in Windows - How to do that to Sleep in Mac OS X????  GiveMeGizmos | 02/24/08
One other thing..  cornpie | 02/23/08
RE: Cryogenically frozen RAM bypasses all disk encryption methods  walkerjian@... | 02/22/08
It's flushed before it hybernates  georgeou | 02/23/08
Can't the OS automatically flush the RAM of data ...  P. Douglas | 02/23/08
You can still chill the RAM and yank it out  georgeou | 02/23/08
not easy though  CobraA1 | 02/24/08
have an idea...  patibulo | 02/23/08
Is this the same OS X that the nitwits at (Big Box store) claim uses only  HypnoToad72 | 02/23/08
Looks like a very good reason...  John L. Ries | 02/23/08
ack!  John L. Ries | 02/23/08
Maybe we're overreacting here ...  terry flores | 02/24/08
A few things to note  CobraA1 | 02/24/08
TPM never releases its private key to memory  CobraA1 | 02/24/08
If you've done nothing wrong, you've got nothing to hide  roaming | 02/25/08
RE: Cryogenically frozen RAM bypasses all disk encryption methods  archangelwade@... | 02/26/08
TrueCrypt erases keys from RAM  GiveMeGizmos | 02/27/08
35 seconds to get into PC, freeze RAM, get RAM, decrypt, before data loss  GiveMeGizmos | 03/04/08

What do you think?

SponsoredWhite Papers, Webcasts, and Downloads

advertisement

Recent Entries

Premier Vendor Content Whitepapers, webcasts & resources from our Power Center Sponsors
advertisement

Archives

Favorite Links

ZDNet Blogs

White Papers, Webcasts, and Downloads