The Register® — Biting the hand that feeds IT

Feeds

Security boffins attempt to freeze out cold boot crypto attack

Cache from chaos

Cloud based data management

Security researchers have developed prototype countermeasures to defend against the recently developed cold boot crypto attack.

Cold boot is a technique for snatching cryptographic keys from memory, creating a means to circumvent disk encryption. A targeted machine that's been left hibernating would be turned off and quickly rebooted using an external hard drive, loaded with customised software, in order to extract encryption keys stored in memory.

The technique works because DRAM circuits used in modern PCs retain data for a short time after they are powered down, contrary to popular opinion. Cold boot attacks are of potential interest to both hackers and computer forensics experts.

Crypto boffins are on the way to defending against the attack. By saving cryptographic keys in CPU cache, instead of potentially vulnerable DRAM, the attack can potentially be frustrated.

"By switching the cache into a special mode one can force that data remains in the cache and is not written to the backing RAM locations," write the security researchers behind the Frozen Cache blog. "Thus, the encryption key can't be extracted from RAM. This technique is actually not new: LinuxBIOS/CoreBoot calls this Cache-as-RAM. They use it to allow "RAM access", even before the memory controller is initialized."

The researchers have developed a proof-of-concept implementation of the defence that works under Linux but many problems remain, particularly in recovering from hibernation.

"Disabling/freezing the CPU's cache severely degrades the performance," the researchers write.

"However, this seems acceptable if one considers that this special mode only needs to be set whenever the screen is locked (all efforts are pretty much worthless if an unlocked laptop is stolen). A very first proof-of-concept test on Linux shows that there's quite a bit of performance optimization necessary to make even just the act of unlocking the GUI an acceptable experience (from a performance/usability perspective)."

Other factors, such as developing an approach for machines with multi-core CPUs, as well as optimisation (fine-tweaking) problems remain to be addressed. Interested parties can follow the evolution of the idea through the Frozen Cache blog here. ®

Regcast training : Hyper-V 3.0, VM high availability and disaster recovery

Latest Comments

Secure RAM??

Why not just build some extra functionality into the RAM modules that when the power supply to the module sags below a pre-determined voltage, it clears a register in the chip that forces a return of 0x00000000 on any memory that has not been written to since powering-up.

Something along this line would kill these cold boot attacks dead since you can't read the value of a memory address until it's been written to.

The only way I can see to get around this, you would need to supply a constant source of power to the module so it doesn't flag the memory as powered-off, and then you would need to some how provide a DRAM refresh cycle while the RAM is removed from the PC which isn't something you are gunna be able to do quickly and/or easily!

*Grabs his coat and heads to the patent office!

0
0

Disable hibernation?

Problem solved?

0
0

Solved!

I've solved the problem. I've now electrified my computer case and also filled the insides with barbed wire and thermite....now it wont turn on though :( I wonder why....

0
0

More from The Register

 breaking news
Number of cops abusing Police National Computer access on the rise
Only a telegram from the Queen can get you off it
 breaking news
NSA PRISM snoop-gate: Won't someone think of the children, wails Apple
10,000 things probed, mostly about missing kids, Alzheimer patients, we're told
Flash flaw potentially makes every webcam or laptop a PEEPHOLE
But it's a Google problem - Chrome only, insists Adobe
Internet fraud still stings suckers
Australians twice as gullible as Americans
 breaking news
NSA PRISM-gate: Relax, GCHQ spooks 'keep us safe', says Cameron
Whatever they are up to, it's all above board, we're told
 breaking news
Yahoo! joins! rivals! in! PRISM! data! request! admission!
Keep calm and carry on using American tech firms, folks
PRISM snitch claims NSA hacked Chinese targets since 2009
Snowden suddenly looks safer in Hong Kong after revelations
 breaking news
US chief spook: Look, we only want to spy on 6.66 BEELLLION of you
Americans assured they are not in the NSA's sights
Speech-to-text drives motorists to distraction
Will talking to you mean I crash into that car up ahead, Siri?
DHS warns of vulns in hospital medical equipment
Has your doctor's anasthesia machine been hacked?