• On GameSpot: So-called 'Halo killer' gets 23 to life
July 21, 2008 9:54 AM PDT

Cold boot encryption-bypassing source code published

by Declan McCullagh
  • Font size
  • Print
  • 10 comments

A team of computer scientists has published source code that can in some circumstances bypass encryption used in Microsoft's BitLocker and Apple's FileVault and be used to view the contents of supposedly secure files.

We reported in February on their research, which describes how the contents of a computer's memory could be dumped to a hard drive and the encryption keys forcibly extracted.

The source code includes tools for imaging the target computer's memory through USB and Netboot, and analyzing the memory image to extract AES and RSA encryption keys, even if they're partially degraded. It was published to coincide with the Last HOPE hacker conference over the weekend in New York, where research team member Jacob Appelbaum gave a presentation.

This collection of utilities will be of special interest to security researchers and computer forensics specialists in law enforcement or working for police. (A Justice Department conference that starts Monday, for instance, includes two panels on computer forensics.) It allows police to seize a computer with an encrypted volume mounted that may be asleep or locked with a screensaver, plug in a UPS, and eventually extract its memory and encryption keys.

If you're worried about this threat or the possibility of nosy border guards rummaging through your files, unmount your encrypted volumes when you're not using them or, better yet, completely power down your computer.

As more people use encryption--FileVault is built into all recent versions of OS X--finding ways to respond to it will become more of a challenge for law enforcement. In December, a federal judge ruled a man charged with transporting illegal images could not be forced to turn over his PGP pass phrase.

Declan McCullagh, CNET News' chief political correspondent, chronicles the intersection of politics and technology. He has covered politics, technology, and Washington, D.C., for more than a decade, which has turned him into an iconoclast and a skeptic of anyone who says, "We oughta have a new federal law against this." E-mail Declan.
advertisement
 
Business supplies and services can get expensive. Get smart spending tips and learn about new cost-saving opportunities for your business
Recent posts from Politics and Law
Confidential 9/11 pager messages disclosed
IBM staffer posts pics on Facebook, loses benefits
Congress may probe leaked global warming e-mails
Spain mandates affordable broadband for all
Town to photograph every car that enters and leaves
Dot-com thinking for D.C.: Expert Labs debuts
FCC discusses barriers to national broadband plan
What Intel just bought for $1.25 billion: Less risk
Add a Comment (Log in or register) (10 Comments)
  • prev
  • 1
  • next
by ralfthedog July 21, 2008 10:09 AM PDT
Cool! this knowledge has existed for quite some time. People tend to be far to confident in their encryption and other security tools. As these exploits move out of the hands of governments and into the hands of the people, we will learn how better to protect ourselves.

The first step to protecting yourself from a gun is learning what a gun is and what it can do.
Reply to this comment
by kkohnen July 21, 2008 10:17 AM PDT
This is an argument for hardware bulk drive encryption such as Hitachi and Seagate offer. With those, the key doesn't stay in the computer memory - it gets stored in volatile RAM within the hard drive. Once that gets powered down you're pretty much secure.

Some notebooks have shock sensors. I imagine it wouldn't take much programming to make the shock sensor automatically power the computer down if it gets moved.

It's a real cat and mouse game out there!
Reply to this comment
by exmsft July 21, 2008 12:00 PM PDT
There's a free Mac Book Pro application that actually pretends to be a classic "car alarm" and goes off if the system is moved. More of a toy for now - but the potential is there to actually treat that as a real security solution in some manner
by inachu July 21, 2008 10:24 AM PDT
Oh I am sure there will be police who play GOOD COP/BAD COP just to find out that the only thing John Doe had on his pc was pictures of his wife and kids.

For this reason alone I will never ever give up my passwords to anyone.
Reply to this comment
by CmdrRickHunter July 21, 2008 10:51 AM PDT
First off, title is wrong. This is a hot-boot exploit. Shutting down your computer (his sugestion for avoiding the problem) is what is called a "cold boot." Second, @kkohnen, while relying on RAM in the harddrive itself is 'better,' there's still the fundamental issue that some part of your computer has the heys, and anyone with physical access and enough skill can get to them. Its as Mitnick once said, "The only computer that is truly safe is one in a guarded concrete bunker, underground, unplugged... and even then I'd check on it every now and then."
Reply to this comment
by declan00 July 21, 2008 11:30 AM PDT
If you actually read the paper, you'll see the title is "cold boot" attacks. If the computer is shut down for 30 seconds -- not a "hot boot" -- the keys will likely be able to be recovered. Hence the title of the paper and the article. Shutting it down for a few minutes, on the other hand, will probably cause sufficient memory decay.

You _did_ of course read the paper before saying the title was wrong, right?
by kkohnen July 21, 2008 11:37 AM PDT
Well, you have to actually have the key _SOMEWHERE_ in order to use the data. If I understand correctly, however, once you enter the key into the drive, you can't read it out again - the chip that holds and uses the key won't let you.

In addition, the AES key expansion schedule takes a small (e.g. 128 bit key) and expands it to well over 1,000 bits using a public domain algorithm. That puts LOTS of redundancy into the expanded key so that even if lots of the bits get corrupted, it's not hard to get the 128-bit key back. Having ONLY the key in memory makes it much harder to recover it if you do get a corrupted version - you don't have much of an idea how to extract the original key because there's no redundancy.

That said, you're right. Folks who really rely on information not being able to get out put it in guarded concrete bunkers. (Having the computers unplugged does, however, make it harder to get any work done).
by The_Decider July 21, 2008 1:11 PM PDT
Phrases to watch out for and will clue you in to the fact that the speaker doesn't know what he/she is talking about:

"The data is safe it is encrypted"

Besides what is mentioned in the article you would be surprised how easy it is to get keys via google.

"My network is secure, it is behind a firewall"

Unrelated to this article but it never ceases to amuse me.
Reply to this comment
by alegr July 21, 2008 2:03 PM PDT
"Besides what is mentioned in the article you would be surprised how easy it is to get keys via google." This is exactly what you said: "Phrases to watch out for and will clue you in to the fact that the speaker doesn't know what he/she is talking about"
by The_Decider July 22, 2008 12:09 AM PDT
Do you have a point?

The phrases were surrounded by " " the rest is commentary. Fairly obvious.
(10 Comments)
  • prev
  • 1
  • next

The browser battles go on and on

roundup From Firefox to IE and from Chrome to Opera and Safari, there's no sitting still for browser makers looking to keep their products fresh and competitive.

3G wireless still holds promise

The next generation of 4G wireless may get all the headlines, but advanced 3G technology will likely dominate services for the next few years.

About Politics and Law

News at the intersection of technology, politics, and law, ranging from intellectual property to censorship to tech policy.

Add this feed to your online news reader

Politics and Law topics

advertisement
advertisement

Inside CNET News

Scroll Left Scroll Right