Popular disk encryption systems' keys recoverable from memory dump
simonedwards.blogspot.co.uk
simonedwards.blogspot.co.uk
This attack is not news, but Elcomsoft makes excellent tools that work so it makes it easier. There is no cracking going on. There is a question around hibernation - Truecrypt can dismount drives before hibernating so might be protected.
For better security shut your system off. Especially if you have a firewire port (because most computers with them can have a direct memory dump taken without any need to interact with the victim's computer).
Don't get too hasty there. The default for Truecrypt at least is to dismount upon hibernation.
And if the system requires that the volume be mounted when resuming the hibernated state, just turning the system on could compromise the system.
Short answer: Yes, it clears the keys upon dismount.
Longer answer: If you have a non-critical volume encrypted, set to dismount on hibernate, it clears the keys. Beware programs that still have files in in memory, though. If you have the system volume encrypted, then nobody can get the keys out of the hibernation file. Truecrypt is forced to leave the keys in memory here, but you just hibernated. The system is shut down. Give it a minute and the RAM will clear.
The interesting thing is that over the past few months I've been trained by the mods not to put a more accurate title, but always to go with the literal title as embedded in the article. Whenever I've tried to be helpful it's simply got changed back to the less informative version, so I've stopped bothering.
Does this indicate a change of policy? Should I now go back to providing accurate, informative titles?
If you're in a situation where you're truly concerned about your door being busted down you're almost guaranteed to be subject to a ram dump if you're vulnerable, primarily via firewire, unlocked workstations and local exploits but a myriad of less common vectors exist.
And you can perform the firewire attack using http://www.breaknenter.org/projects/inception/
Additionally memory can also be dumped via PCI e.g. http://www.grandideastudio.com/portfolio/tribble/
If you're concerned about such attacks you could use an external device which lets you enter a password using its own keyboard, meaning the key is stored in volatile memory on the external device - not accessible via a memory dumping tool. And then don't leave the device plugged into the computer when you're not around.
And bruteforce attacks have been around for a while using GPUs for instance Passware's forensic program.
For example, Bestcrypt from Jetico (http://www.jetico.com/encryption-bestcrypt-volume-encryption...) supports two-factor authentication with removable disks (including USB sticks) or hardware tokens or over the network. That is, the encryption keys are simply not available on a computer that may be stolen, for example.
In addition, all kinds of memory dumps, including hibernation and even crash dumps are fully encrypted.
I imagine in time, at the minimum the PGP and Truecrypt products will eventually catch up with similar features.
Used in that way, this greatly mitigates the risks mentioned in the article.
PrivateCore (http://www.privatecore.com) defends against memory extraction attacks like this. We treat main memory as a hostile device and encrypt all data before it leaves the CPU.
We're venture-backed and hiring a memory-management researcher if you're interested: http://www.privatecore.com/careers/memory-management-researc...
Of course, if you have physical access, theres a multitude of ways to get the keys that are not time critical or depend on the machine running at the time of access.
I've seen options to store the key in the L1-cache instead of the RAM-memory to make this attack much harder. I'm not sure whether I remember correctly or if it's even possible with common tools though.
The real news is the commercial tool that implements the memory dumping and key extraction.
Enclosed but not encrypted: (http://www.h-online.com/security/features/Enclosed-but-not-e...)
as has been said before, recovering keys from memory dumps is nothing new (although this makes it much easier).
turns out there was a patch for the linux kernel[1] to do it.