DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Arno Wagner <arno@wagner.name>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] Hybrid drives
Date: Sun, 18 Jul 2010 19:01:50 +0200	[thread overview]
Message-ID: <20100718170150.GA11347@tansi.org> (raw)
In-Reply-To: <20100717071313.GA7243@fancy-poultry.org>

On Sat, Jul 17, 2010 at 09:13:13AM +0200, Heinz Diehl wrote:
> Hi,
> 
> I just took a closer look at one of the (new?) hybrid harddisk drives,
> such as the Seagate Momentus XT, and now I'm wondering if this 
> is a top level security problem. If I understand it correctly, the 4 GB
> SSD memory on the harddisk operates independendly of the drive itself,
> acting as a buffer/cache for virtually all the data stored to the drive. Some
> logic in the harddrives controller is going to serve the 4 GB SSD memory
> part, which is not available/accessable to the OS.
> 
> In other words: such hybrid drives can not safely be encrypted with
> LUKS/dmcrypt (or any other WDE software), because the controller 
> randomly swaps out 4 GB data to the SSD area, and even after shutting 
> down the machine, parts of/the whole LUKS header/key could possibly 
> be left on the SSD part?

There is only one risk, namely a keyslot with an old, later changed
key still being on the SSD part. That is a real risk.
However, it is only a risk if you change a key and the old one is
a security problem before the old keyslot in the SSD cache
is at least partially overwritten.

Keys never get written to disk, whether hybrid or not. Doing
that would be a massive risk in the first place, whether
hybrid or not so it os never done.

For plain dm-crypt there is absolutely no risk at all.

Arno
-- 
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@wagner.name 
GnuPG:  ID: 1E25338F  FP: 0C30 5782 9D93 F785 E79C  0296 797F 6B50 1E25 338F
----
Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans

If it's in the news, don't worry about it.  The very definition of 
"news" is "something that hardly ever happens." -- Bruce Schneier 

      parent reply	other threads:[~2010-07-18 17:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-17  7:13 [dm-crypt] Hybrid drives Heinz Diehl
2010-07-17  7:17 ` Heinz Diehl
2010-07-17  7:58 ` Luca Berra
2010-07-17  9:46   ` Heinz Diehl
2010-07-17 11:05     ` Mikko Rauhala
2010-07-17 11:45       ` Heinz Diehl
2010-07-17 13:27         ` Sven Eschenberg
2010-07-17 11:10     ` Christoph Anton Mitterer
2010-07-17 10:57 ` Christoph Anton Mitterer
2010-07-18 17:01 ` Arno Wagner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100718170150.GA11347@tansi.org \
    --to=arno@wagner.name \
    --cc=dm-crypt@saout.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox