Re:Inception - Root any machine over FireWire, Thunderbolt, ...
by lstamour on Sunday January 26, 2014 @01:07AM
(#7124098)
On Mac you can get the encryption key from RAM too, though if you turn on some settings, you can force the Mac to attempt a shutdown when it sleeps, clearing the encryption key until you enter your password later. There's still a DMA leak at startup also, but securing the EFI firmware helps keep things locked down. There was an article on HN recently with step by step instructions on scanning memory for things that look like AES keys when using TrueCrypt.
I suspect without a Yubikey or Microsoft TPM, effectively storing the key outside of RAM, there's not much that can be done to fight this. And of course, physical access means you've got the TPM or Yubikey in front of you. And unencrypted data in RAM. So.... Yeah.
Re:Inception - Root any machine over FireWire, Thunderbolt, ...
by giovannibajo1 on Sunday January 26, 2014 @07:10AM
(#7124852)
Actually, there are solutions to store the keys in CPU privileged registers (eg: hw debug registers), and when combined with AES-NI don't even cause much overhead:
http://en.m.wikipedia.org/wiki/TRESOR
Not sure why these techniques aren't mainstream yet.
And yes, me, a not particularly security-oriented guy, did this fairly quickly as a demonstration for coworkers. It required only marginally more than script kiddie levels of knowledge.