Memory trick breaks PC encryption

Encrypted information held on a laptop is more vulnerable than previously thought, US research has shown.

Scientists have shown that it is possible to recover the key that unscrambles data from a PC’s memory.

It was previously thought that data held in so-called “volatile memory” was only retained for a few seconds after the machine was switched off.

But the team found that data including encryption keys could be held and retrieved for up to several minutes.

“It was widely believed that when you cut the power to the computer that the information in the volatile memory would disappear, and what we found was that was not the case,” Professor Edward Felten of the University of Princeton told BBC World Service’s Digital Planet programme.

Volatile memory is typically used in random access memory (RAM), which is used as temporary storage for programs and data when the computer is switched on.

Deep sleep

Disc encryption is the main method by which companies and governments protect sensitive information.

The key to making it work is to keep the encryption key secret, explained Professor Felten.

Encryption has recently become a hot topic after a number of laptops containing personal records were lost or stolen.

What we have found was that the encryption keys needed to access these encrypted files were available in the memory of laptops, he said.

“The information was available for seconds or minutes.”

In theory, this is enough time for a hacker or attacker to retrieve the key from the memory chips.

The real worry is that someone will get hold of your laptop either while it is turned on or while it is in sleeping or hibernation mode, said Professor Felten.

In these modes the laptop is not running, but information is still stored in RAM to allow it to “wake up” quickly.

“The person will get the laptop, cut the power and then re-attach the power, and by doing that will get access to the contents of memory – including the critical encryption keys.”

Cool running

Switching the machine off and on and is critical to any attack.

When it comes out of sleep mode the operating system is there and it is trying to protect this data, explained Professor Felten

But a full power-down followed by a swift re-start removes this protection.

“By cutting the power and then bringing it back, the adversary can get rid of the operating system and get access directly to the memory.”

Professor Felten and his team found that cooling the laptop enhanced the retention of data in memory chips.

The information stays in the memory for much longer – 10 minutes or more, he said.

For example, where information stays in a computer for around 15 seconds under normal conditions, a laptop cooled to about -50C will keep information in its memory for 10 minutes or more.

Professor Felten said that the best way to protect a computer was to shut it down fully several minutes before going into any situation in which the machine’s physical security could be compromised.

Simply locking your screen or switching to ‘suspend’ or ‘hibernate’ mode will not provide adequate protection, he added.

“It does cast some doubt on the value of encryption. I think that over time the encryption products will adapt to this and they will find new ways of protecting information.”

http://news.bbc.co.uk

Leopard: starting the issues

Amazing! I just completed the entire install, configuration, set-up and finally everything seems to be working on my Mac as it should, but nothing in life is perfect and here we go.

Take important notice of this!!!

When I installed Leopard I chose the default file system (HSFX) which means the HDD will be case sensitive, meaning you can have test.jpg and test.JPG in the same folder and the OS will handle them as different files, which is just what I need for my developing work. However Adobe does not support this format.

I went on to install the CS3 package and got an interesting notice:

nosupport.png

After doing some research I found out that Adobe just does not support this file system in their installations since it’s apparently inconceivable that anyone would ever need case-sensitivity as the default file system, so they choose not to support it… I would say they could easily publish that case-sensitive file systems are not supported in the package system requirements or perhaps include anything in the FAQ or general support sections.

Getting CS3 to work would take a reformat and reinstall of my system drive since they use some of the built in frameworks and the system needs to know where to find them.

Never mind that thousands of third-party developers seem to be able to write applications that both leverage system frameworks and work without a hitch on my “unsupported” file system.

Be wise, take a look at this before upgrading to Leopard:

- Applications not compatible with Leopard
- (www.unsanity.com) Compatibility

Moving to Leopard

I have spent my last hours on installing the all-new Leopard on my Mac, it actually went pretty fast. I haven’t had much time to check out the entire thing as I’ve been busy setting up my development environment (Apache, PHP, MySQL).

The good thing is that Leopard ships with Apache 2 and PHP 5.2 pre installed, so you only need to make a couple of changes to get Apache and PHP running in no time, I’ll explain how to do that. The bad news is that the current MySQL package file does not fully work on Leopard, well, the engine actually works, it’s the preference pane that does not work yet, so you won’t be able to use that to stop and start you MySQL DB, I’ll post a nice trick to get that running as well.

Firefox 2.0 on Mac keeps freezing

Well, I don’t know if it’s only me but FF keeps freezing on my MacBook Pro all the time, as soon as I have more than 3 tabs open it just freezes and does not respond at all, only force-quitting it solves the problem. The issue usually comes up when I load a page with embedded video and it’s really weird.

It’s certainly not a requirements issue as my Mac runs an Intel Core Duo at 2.2 Ghz and 2 GB or RAM, and that should easily be able to handle a couple of tabs open at the same time. I’ve worked with Photoshop, Flash, Dreamweaver, iTunes and a couple documents at the same time and no problems at all, except that it get so hot you could easy fry an egg on it.

Another thing I hate about FF is the amount of resources it takes, on a regular run with about 4 tabs open loaded with mostly plain text it already uses a few hundred MB of RAM, this just ain’t normal and some Windows FF users may have noticed the same issue. It’s killing the resources. By the way, I already tried reinstalling it a couple of times. No luck!

I can’t wait on version 3 of FF, I hear they have several major fixed and even more improvements, well, I guess we’ll see when it’s around.

Here’s some extra reading:

- Frequent freezes on Mac
- Is FF on Mac unusable?
- Mozilla Gran Paradiso Alpha 3
- FireFox 3 schedule