Bruce Schneier | |||||||||||
Schneier on SecurityA blog covering security and security technology. « Sending Coded Messages with Postage Stamps | Main | Liars and Outliers News » January 5, 2012Newly Released Papers from NSA JournalsThe papers are old, but they have just been released under FOIA. Posted on January 5, 2012 at 6:28 AM • 10 Comments To receive these entries once a month by e-mail, sign up for the Crypto-Gram Newsletter. I like to LOL! It's fuuuuuuuuuuuunny. • January 5, 2012 7:23 AM Brucey, whatcha think about this? "TRESOR Runs Encryption Securely Outside RAM TRESOR is a secure implementation of AES which is resistant against cold boot attacks and other attacks on main memory. The basic idea behind this implementation is to store the secret key inside CPU registers rather than in RAM. All computations take place only on registers, no AES state is ever going to RAM. In particular, the x86 debug registers are misused as secure key storage. TRESOR is a secure implementation of AES which is resistant against cold boot attacks and other attacks on main memory. The basic idea behind this implementation is to store the secret key inside CPU registers rather than in RAM. All computations take place only on registers, no AES state is ever going to RAM. In particular, the x86 debug registers are misused as secure key storage." - Homepage: http://www1.informatik.uni-erlangen.de/tresor
kiwano • January 5, 2012 9:45 AM @I like to LOL! I think that Bruce would be more impressed by a cpu-register-only implementation of twofish ;) jammit • January 5, 2012 10:49 AM @ LOL and @kiwano NobodySpecial • January 5, 2012 11:47 AM @jammit - you can use the CPU cache for the crypt data but the only way to be sure is to disable access to the cache for anything else see http://frozencache.blogspot.com/ phred14 • January 5, 2012 12:03 PM @NobodySpecial - In the old days when Intel introduced the 486, it was the first mass-market processor chip that included a cache - 8 kBytes to be exact. It turns out that the Dhrystone code could just fit into 8kB, and it was a relevant benchmark at the time. The processor had a "benchmark mode" that would simply hard-map the cache into the address space. Their code would load Dhrystone into that spot and then "start" the benchmark, giving them fantastic (for the time) performance on the first runthrough, no cache effects, etc. Anyone know how big current encryption kernels are? Now that I think of it, the ability to hard-map a small amount of on-CPU RAM into the address space could these days be sold as a security initiative, instead of a way of cheating on benchmarks, like it was with the i486. Kai Howells • January 5, 2012 2:50 PM @I like to LOL! - this is similar to how the PS3 hypervisor does it's decryption of the OS in order to boot. posedge clock • January 5, 2012 6:47 PM @LOL: Some (all?) x86 processors have debug modes accessible from the JTAG port. Using these debug modes you can single-step and read machine registers. So TRESOR isn't all that much more secure. Jony Rosenne • January 6, 2012 7:59 AM Regarding the Pearl Harbor paper, it makes you wonder what will be published fifty years hence on 9/11. MikeA • January 6, 2012 12:49 PM Back when I was evaluating embedded processors (Late 1980s), the ability to map on-chip RAM to either cache or dedicated address-space was pretty common, for about the reason mentioned. Many tasks have a small "kernel" (in the more general than OS sense) that can benefit greatly from being "locked in cache". This only applies, naturally, to systems and programming teams that don't think loading a couple gigs of shared libraries to put up a smiley face is OK. moz • January 7, 2012 2:13 PM "If we overclassify, we develop in people's minds a contempt for the classification rules, for if some items which are not secret at all are classified, it means that the whole system is nonsense". (Security in an Open Society; page 10 as numbered) And that is the reason why a bunch of people from recent US administrations should be on trial together with Manning.
Post a comment
Powered by Movable Type. Photo at top by Geoffrey Stone.
Schneier.com is a personal website. Opinions expressed are not necessarily those of BT. |
|
Comments