Friday, February 22, 2008

Defeating full-disk encryption with a can of compressed air

I found this absolutely astounding.


 

But upon reflection, it makes sense.


 

From Bruce Schneier's blog


 

Cold Boot Attacks Against Disk Encryption

Nice piece of research:


 

We show that disk encryption, the standard approach to protecting sensitive data on laptops, can be defeated by relatively simple methods. We demonstrate our methods by using them to defeat three popular disk encryption products: BitLocker, which comes with Windows Vista; FileVault, which comes with MacOS X; and dm-crypt, which is used with Linux.

[...]

The root of the problem lies in an unexpected property of today's DRAM memories. DRAMs are the main memory chips used to store data while the system is running. Virtually everybody, including experts, will tell you that DRAM contents are lost when you turn off the power. But this isn't so. Our research shows that data in DRAM actually fades out gradually over a period of seconds to minutes, enabling an attacker to read the full contents of memory by cutting power and then rebooting into a malicious operating system.

Interestingly, if you cool the DRAM chips, for example by spraying inverted cans of "canned air" dusting spray on them, the chips will retain their contents for much longer. At these temperatures (around -50 °C) you can remove the chips from the computer and let them sit on the table for ten minutes or more, without appreciable loss of data. Cool the chips in liquid nitrogen (-196 °C) and they hold their state for hours at least, without any power. Just put the chips back into a machine and you can read out their contents.

This is deadly for disk encryption products because they rely on keeping master decryption keys in DRAM. This was thought to be safe because the operating system would keep any malicious programs from accessing the keys in memory, and there was no way to get rid of the operating system without cutting power to the machine, which "everybody knew" would cause the keys to be erased.

Our results show that an attacker can cut power to the computer, then power it back up and boot a malicious operating system (from, say, a thumb drive) that copies the contents of memory. Having done that, the attacker can search through the captured memory contents, find any crypto keys that might be there, and use them to start decrypting hard disk contents. We show very effective methods for finding and extracting keys from memory, even if the contents of memory have faded somewhat (i.e., even if some bits of memory were flipped during the power-off interval). If the attacker is worried that memory will fade too quickly, he can chill the DRAM chips before cutting power.

There seems to be no easy fix for these problems. Fundamentally, disk encryption programs now have nowhere safe to store their keys. Today's Trusted Computing hardware does not seem to help; for example, we can defeat BitLocker despite its use of a Trusted Platform Module.

The paper is here; more info is here. Articles
here.

There is a general security problem illustrated here: it is very difficult to secure data when the attacker has physical control of the machine the data is stored on. I talk about the general problem here, and it's a hard problem.


 


 

(By the way, did you know that Bruce Schneier's tears can burn holes through an OpenBSD firewall? Lucky for us, Bruce Schneier never cries.)

Wednesday, February 20, 2008

You can has cheeseburger, too!

Sorry. You're getting a whole pile of LOLcats whether you want 'em or not.

Humorous Pics
moar humorous picsHumorous Pictures
moar humorous picsHumorous Pictures
moar humorous picsHumorous Pictures
moar humorous picsHumorous Pictures
moar humorous picsHumorous Pictures
moar humorous picsHumorous Pictures
moar humorous picsHumorous Pictures
moar humorous picsHumorous Pictures
moar humorous picsfunny pictures
moar humorous picsfunny pictures
moar humorous pics

Thursday, January 24, 2008

So you want to use Excel 2003 and Excel 2007 on the same machine....

I'm blogging this so I can find it next time I need it.

Scenario: You have Excel 2003 installed (maybe as part of Office 2003). You want to install Excel 2007, and leave Excel 2003 installed. You want .xlsx files to open in Excel 2007 when you double-click 'em, and you want .xls files to open in Excel 2003.

Solution:

Install Excel 2007 - customize your installation
Upgrade tab: select keep all previous versions installed
File location tab: change from the default path (c:\program files\microsoft office) to a different path (such as c:\program files\microsoft office 2007) This may not be strictly necessary but it makes me feel safer.

Then, do a repair on Office 2003 using Add/Remove Programs control panel (in W2k or XP) or the Programs control panel in Vista.

Alternately, you can run the following commands (from this usenet conversation):

1. Close Excel
2. Windows Start Button|Run, type
"C:\Program Files\Microsoft Office\OFFICE11\excel.exe" /unregserver 3. Windows Start Button|Run
"C:\Program Files\Microsoft Office\OFFICE11\excel.exe" /regserver
(If you originally installed Office 2003 in a different location you will need to change those commands to reflect the correct path to excel.exe.)

There are some other gotchas to Exchange 2003/2007 coexistence. See my del.icio.us bookmarks for Office 2007 for more.

Saturday, January 12, 2008

Even more Best of 2007 Rhapsody playlists

My friend Ryan is a major music buff, and every year he's put together his favorites as an Advent calendar, with a new song & review each day. 2007 version, 2005 version.

He also Rhapsodized our awesome local radio station's ( KEXP) best of list.

Paste Readers: more best albums of 2007

Inevitably, readers of Paste magazine wrote in to say "I can't believe you left ______ off your list of top albums of 2007!

Here's what they suggested:

Rilo Kiley - Under The Blacklight
Richard Thompson - Sweet Warrior
The Go! Team - Proof Of Youth
Beirut - Flying Club Cup
Romantica - America
Shout Out Louds - Our Ill Wills
Rickie Lee Jones - The Sermon on Exposition Boulevard
John Doe - A Year In The Wilderness

I'm listening now, and I like what I hear!

Rhapsody Playlist: Paste Readers: more best albums of 2007

Thursday, December 20, 2007

Unified Communications & work-life balance: a plea for 'off-duty' mode

Need a mode for mobile comms devices so that 'work stuff' doesn't bug you.
Email should arrive silently
phone calls from work contacts should go straight to voicemail (maybe with a 'press 1 if it's urgent and you really need to ring through')
IM status should be "off duty" (or "do not disturb" - but that kind of implies working really hard, doesn't it?)

Personal contacts, emails and IM's are allowed through though.

Saying "well, you can sset that up" - doesn't do any good for the vast majority of people who never even LOOK at the settings, much less change any of them. It needs to be a top-level, out of the box config.

Whoever delivers this functionality will be hailed as saviors, antidotes to the always-connected, always-interrupted life of the crackberry toters.

Friday, December 14, 2007

Testing 123

This is a test post.

Wednesday, December 12, 2007

The Zen of Using COTS

One of my rules of thumb for COTS (Commercial Off The Shelf) software is: use it the way the designers thought you would. That way you can cruise along the "happy path to success" instead of fighting the system and trying to use it in ways the designers didn't anticipate – encountering bugs and poor usability along the way.

You may have seen this idea writ large in ERP implementations as "adapt the business process to the system instead of vice versa". Think of this as the microscale version.

Or call it the Zen of using COTS.

Monday, December 10, 2007

Microsoft's "Vista Tips N Tricks" site ownz0r3d?

The Windows Vista Tps & Tricks site used to be a Microsoft site that had "tips and tricks for the non-technical user" faced with Windows Vista. (Archive.org has several captures of that content.)

But now, it shows... a biography of John "The Yank" Harrington ???



Hmm, looks like maybe someone snarfed up the domain registration away from MS?



Maybe this is one of those domain name registration renewals that the indicted MS embezzler claimed to have done but didn't....

Update: Google's cache of windowsvistatnt.com shows the bogus version, too.

Saturday, December 01, 2007

The Bug!

Scoble is right - this is TOO cool!