Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Feb 2008 19:40:53 +0100
From:      Pieter de Boer <pieter@thedarkside.nl>
To:        Atom Smasher <atom@smasher.org>
Cc:        hackers@freebsd.org
Subject:   Re: Security Flaw in Popular Disk Encryption Technologies
Message-ID:  <47C068B5.2090000@thedarkside.nl>
In-Reply-To: <20080223010856.7244.qmail@smasher.org>
References:  <20080223010856.7244.qmail@smasher.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Atom Smasher wrote:
> article below. does anyone know how this affects eli/geli?
> 
> from the geli man page: "detach - Detach the given providers, which 
> means remove the devfs entry and clear the keys from memory." does that 
> mean that geli properly wipes keys from RAM when a laptop is turned off?
> 
> 
The attack you're referencing is carried out by cold rebooting a system. 
Simply put: pull power cord, insert power cord. The volumes are never 
detached, as the shutdown sequence is never run.

This attack has to be defended against in hardware; it exploits a 
'feature' of modern day RAM chips, which can not be controlled by 
software. Anything that is in RAM when the attack is carried out, will 
be compromised. As encrypted volumes simply require keys to be in memory 
to be able to use the volumes, the encryption software is vulnerable to 
this attack. I see no reason why GELI/GBDE wouldn't be affected.

A possible counter-measure would be to add wiping features to the RAM 
modules themselves. When power is lost, the memory could wipe itself. 
Still not perfect, but would certainly help.

-- 
Pieter




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47C068B5.2090000>