02/22/2008, 10:10am, EST
Friday, February 22ndFileVault vulnerable to RAM hack
Apple's FileVault is among the encryption technologies that may expose its secrets in RAM, suggests a paper produced at Princeton University. Through several experiments, computer scientists with Princeton discovered that many computers leave encryption data in RAM during two vulnerable states: powering down, and rebooting. While accessing data after power-down requires super-cooling the RAM and transferring it to another machine for examination, the reboot phase may be more easily exploitable.
During this phase, Princeton researchers were able to use small kernel files to help salvage memory and dump it to permanent storage, in some cases using USB drives, or a netboot infrastructure. From there it was possible to extract temporary decryption information, compensating for errors by relying on some of the common behaviors of encryption software.
Aside from FileVault, other encryption formats that were cracked included TrueCrypt, dm-crypt, and Windows Vista's BitLocker. Researchers managed to crack and mount a BitLocker volume in 25 minutes; FileVault did not fare much better however, as it was not only broken but revealed multiple copies of the login password.
At present, no easy fix for the vulnerability is available. It is suggested in fact that computers will need either new hardware or a radically different encryption scheme, and even with these it could merely make an attack more difficult.
Filed under: security
Other story tags: Mac OS X, Windows, Vista, FileVault, BitLocker
,
, 15
,
,
,
,
, 
subscribe to comments
for this article
To the business that might leave access to its machines open to the public, it may again be an issue if passwords are compromised.
For the time being, especially without any researchers' applied vulnerabilities statements (from a 3rd party, not a security bloatware vendor), this story is just a FUD monger.
These researchers have demonstrated that by chilling the RAM chips in a system they can preserve the contents of data in the RAM chip long enough to boot up the system with a special kernel that can save off the data.
This nothing really specific to FileVault, Mac OS X, Windows, etc. it is simply exploiting an assumption that most vendors make in that information in RAM will be lost across power cycles.
As an additional note, most security systems - whether computer-related or as mundane as the lock on your front door or the alarm system on your house - can be defeated in some manner. It's usually a question of the degree of difficulty, with the goal being to make breaking in so inconvenient that it will deter most crooks/hackers and motivate the really, really determined and capable ones to go find easier targets.
There is one simple and easy fix if you are that concerned about this kind of attack: when your machine is not in use, shut it down instead of putting it in sleep/standby mode. The contents of RAM are (more likely to be) lost, and the encryption key is thus not recoverable.
So no, this isn't "FUD", but this is a very difficult and obscure attack that would have to really be targeted at an individual, and is the stuff of government and industrial espionage, not someone getting their laptop bag stolen. Fixing this shortcoming would require a lot of changes in terms of assumptions made about RAM states and so on. It's an interesting discovery, and definitely could have important implications for extremely critical and sensitive data that may be actively targeted by an adversary. But for the normal encryption user, this is, in all practical and real respects, meaningless.
Not necessarily. The point of secure VM is that it encrypts the memory data before writing it to disk. It all depends on how the encryption information used in an encryption system is stored in memory. If it is dealt with "correctly", it would be expunged from memory after it is used (or at shutdown), being overwritten and all that stuff. Only those who leave it in memory would be affected (which probably is everybody).
There is one simple and easy fix if you are that concerned about this kind of attack: when your machine is not in use, shut it down instead of putting it in sleep/standby mode. The contents of RAM are (more likely to be) lost, and the encryption key is thus not recoverable.
Based on what I've read, that's not true. (That's like saying wiping a drive with all zeroes makes the data unrecoverable).
Or like the time they used infared to take a picture of the keyboard used to enter a password to the vault (why not a key pad, I do not know ??) to see which numbers were entered and then break into the vault.
Yea, I like those kinds of shows where it only takes 2 million in technology and talent to steal 1 million in cash (which gets cut to $500,000 since its stolen money and needs to be fenced. :-) )
en