Russell Coker: Chilled Memory Attacks
In 1996 Peter Gutmann wrote a paper titled “Secure Deletion of Data from Magnetic and Solid-State Memory” [1]. In that paper he mentions the fact that the contents of RAM last longer at lower temperatures and suggests that data could be retained for weeks at a temperature of -60C or lower (while 140C causes rapid data loss). The paper also addresses issues of data recovery from hard drives, but given that adequate CPU power for encryption is available recovering data from a disk shouldn’t be an issue unless thee attacker can get the key to decrypt it or crack the algorithm - so disk recovery is not a hot issue at the moment.
Recently some researchers at Princeton University have published a paper describing in detail how to chill RAM to make it keep its data after a power cycle and even after being installed in a different computer [2]. This attracted a lot of attention, while Peter’s paper described the theoretical concept (in great detail) the Princeton group showed how to implement the attack using materials that are commonly available.
Most of the analysis of this misses some fundamental points. Any suggestion that you can wipe the RAM on power failure or on boot misses the point entirely. If an attacker can chill a DIMM and then remove it from the system then there is no chance for it to be wiped. Maybe if you had security on the PC case to detect case opening (some servers have a basic version of this) such things would do a little good, but it shouldn’t be difficult to bypass in most cases.
Another common flawed analysis is to suggest that this is no big deal because sniffing the memory bus has been possible for years. While it has always been possible for government agencies and companies who design motherboards to sniff the bus, for most potential attackers it has been overly difficult.
When considering the effectiveness of a security system you should first consider what your threat model is. Who is going to attack you and what resources will they be willing and able to devote to the attack? An organisation that is prepared to use expensive equipment and highly trained people to break your encryption probably has other methods of gaining access to your secret data that are easier and cheaper.
The research from Princeton suggests that I could perform such attacks with my spare time and with equipment that is very cheap. I’ve been idly considering doing this to an old PC just for fun! Therefore I have to assume that everyone who has the same amount of skill and money as me can potentially compromise my data if they capture one of my machines.
It is still most likely that if anyone steals my laptop they will want to sell it and use the money to buy drugs. I don’t think that I have any data that is anywhere near valuable enough to justify a targeted mugging. But my procedures (in terms of changing passwords etc) in the case of my laptop being stolen now need to be scaled up due to the ease in which data might be compromised.
The best way of dealing with this would be to have the decryption keys locked inside the CPU (stored in registers or memory that’s locked in the CPU cache). The possibility of getting a modern CPU to operate at any temperature approaching -60C is laughable, and the CPU is a well contained package that can operate on its own and is difficult to attack. This would make things significantly more difficult for an attacker while requiring little effort (in fact it might be possible to lock data in the CPU cache already in which case a software change is all that is required).
Update: A comment by Mike made a good point about CPU cooling. Toms Hardware performed an overclocking experiment (from 3.2GHz to 5.25GHz) and used liquid nitrogen cooling [3]. It might be possible to cool a CPU core to -60C in a reasonably small amount of time. But I still believe that it would raise the bar enough to make it worth doing.
Update2: Thanks Jaime for the spelling advice.
Yesterday really didn't go to plan. The plan was to clear a few work tasks and then travel to London for an early afternoon Koha-related meeting, then fix some other problems on site before travelling home this evening. Unusually, this trip involved bike, train, tube coach and bus. Everything but the car, indeed, so a pretty good example of using greener transport for
It’s done, we have new releases of 
Ever since I started University, I've been a member of the Institution of
Electrical and Electronic Engineers. Although I don't really do
what you would call "Engineering" any more, I like to read the IEEE
Spectrum magazine and some of the Computer society journals are quite
relevant to what I do.
However, this year the IEEE have produced what is, without a doubt, one of
the most shithouse online ordering systems I have ever had the misfortune
of trying to use. To start with, if you happen to go to the account login
screen with cookies disabled, you get a page that is utterly blank. I've
seen a lot of ways to fail to handle cookies, but I think the completely
blank page is a first for me.
Once you work out what's going on and log in, you're presented with a long
and painful journey through a series of "checkout" pages, mostly alike. I
think I got presented with my list of journals about four times. After
navigating that pest, it comes up with this little gem when you start the
credit card processing step:
Then, every time you input practically anything into the form, it
does a Javascript submit and does things to the form. For example, when
you enter your credit card number, you get a form back that has blanked out
all but the last four digits of the card number. OK, a little dumb, but
not spectacularly so. Although, when you're a quick typist and have filled
in the next three fields while the web browser was playing footsie with the
slow-as-molasses web server, only to have that data wiped out when the page
refreshes, is a bit of a pest.
Far more annoying is when you start entering your address "for verification
purposes". Here, you get a form resubmit every time, presumably to update
the form based on (for example) your selected country, but not a lot
changes. Even though I picked Australia, I still got a pull-down with all
of the the US states in it. You could short-circuit all this with the
"choose existing address" option, except that (despite me being logged in)
my existing addresses aren't in a select box, but in a separate pop-up
window (which didn't actually display anything after all).
In short, the IEEE's online renewal system is a disgrace, and is an
embarrassment to what is purportedly a technical organisation.
Today I've noticed that my last post was on August and I've decided that I'm
going to try to keep this blog alive.
Since this summer I've left the University and now I only have two jobs... my
daily work and my son; I believe that things are going better at a personal
level, but the truth is that lately I have near zero time to devote to Debian
and Free Software in general.
As I don't want to leave the FLOSS world and I'm still able to do some
sysadmin related tasks at work and at home I've decided that I'll try to
reserve some time for blogging about them.
I'm also thinking about starting a blog and a wiki in Spanish, mainly to be
able to publish some of the documents I write at work about our installations,
the advantage for me is that I can publish them with a little revision and
that is much faster than translating them into English.
Anyway, before creating new blogs my first task is to finish my home server
migration; I'm moving all the services that were running on my old PowerBook
(PowerPC @ 400Mhz, 378MB of RAM, 10 GB HD) to my other PowerBook (PowerPC @
1Ghz, 768MB of RAM, 60GB HD), as I haven't used it for ages and I still use a
lot the old machine.
On the move I plan to change a lot of things, the machine is going to run
multiple vservers and I plan to change a lot of the software I was using,
always trying to simplify the maintenance and/or get more performance from the
new machine:
First time ever I have been at a conference and attending so few talks. Needed to talk to sooo many people.
But anyways, it was quite interesting to put some faces of the people I kind of work with. Especially my favourite kde upstream people.
So many keys to sign, but I guess I am finally thru it. If you are expecting a signature from me and haven’t got one yet, please check your spam filters and/or try poke me. I guess I will keep my paper notes a couple of days before ditching them.
Beer event was bigger this year, but still too crowded. Fosdem is also quite crowded - so crowded that I missed some talks because of it.
But anyway, see you next year - probably.
I have spent one day and a half this week-end at FOSDEM. This was not as great as expected, but mostly because i don't have the time to stay the whole sunday. Next year, I will stay the whole week-end in order to have time to attend all the speak i should be interested in.
The beer event was overcrowded, but all the beer i found there was great (in particular the Floris Pear). It was also a great time to have a demonstration of the 
I was at FOSDEM last week-end. As usual there, I spent an excellent week-end. It was really nice to see all those friends again (and even meet some friends for the first time, hi gaston/carxwol/atmaniak!) Only problem is, FOSDEM is definitely too short ;-)
To make this post a bit more interesting, I did some homework. The opening talk about FreeBSD had those stats about developers’ age, so I made the same ones for Debian (using the birthDate LDAP field, which was filled in by 340 DDs). Here is the graph. It would be interesting to compare that with other communities, which are sometimes perceived as “younger”.
I'm going to be traveling and giving talks quite a bit this spring.
Here's what my schedule looks like now. I don't think much will be added
to it:
New Gammu testing version is out. This time release period is a bit
longer than usual, mostly because my moving back to Prague.
1.18.91 again only fixes some bugs:


