SSD's firmware encryption is pretty floppy

Subject: General Tech | November 6, 2018 - 01:02 PM |
Tagged: Samsung, encryption, crucial, bitlocker

The hardware world is full of badly thought out implementations, from the inconvenient to the utterly incompetent, and today we have one of the latter.  Bitlocker and other popular encryption tools can use software or hardware to encrypt and store the data encryption key, with many opting for the accelerated hardware encryption baked into many SSDs.  This has turned out to be a bad idea, as tests on a variety of models show you can grab an encrypted disk, plug into the debug ports and convince it to accept any value as an authorized DEK and give you full access to the data on that drive.  This is in part due to the hardware not using the owner's password for encryption ... at all.  The Register's article offers a suggestion, which is to make use of software encryption methods which do incorporate the users password and can be set to actually not use the same DEK across the entire drive. 

Read on for suggestions on solutions which should mitigate this flaw and which can coexist peacefully with hardware encryption.

View Full Size

"Basically, the cryptographic keys used to encrypt and decrypt the data are not derived from the owner's password, meaning, you can seize a drive and, via a debug port, reprogram it to accept any password. At that point, the SSD will use its stored keys to cipher and decipher its contents. Yes, it's that dumb."

Here is some more Tech News from around the web:

Tech Talk

Source: The Register

November 7, 2018 | 04:27 AM - Posted by Flibble (not verified)

I noticed that Veracrypt has a number of encryption methods so I was wondering about which one would be secure for a boot drive but not effect the read / write speeds too much (i5-7300hq cpu).

November 7, 2018 | 07:36 AM - Posted by ipkh

Anything AES related should be faster due to the AES-NI instructions. If course that assumes veracrypt makes use of them. Any encryption slows the I/O performance, especially software based encryption.

November 7, 2018 | 12:05 PM - Posted by Flibble (not verified)

Thanks for the reply.

Veracrypt does use AES-NI instructions:

"By default, VeraCrypt uses hardware-accelerated AES on computers that have a processor where the Intel AES-NI instructions are available. Specifically, VeraCrypt uses the AES-NI instructions that perform so-called AES rounds (i.e. the main portions of the AES algorithm).** VeraCrypt does not use any of the AES-NI instructions that perform key generation."

I use an ssd so would I even notice the performance difference?

November 8, 2018 | 07:27 PM - Posted by Jeremy Hellstrom

Where to start on deployment

 

-EncryptionMethod

Specifies an encryption method for the encrypted drive. The acceptable values for this parameter are:

  • Aes128

  • Aes256

  • Hardware
Type: BitLockerVolumeEncryptionMethodOnEnable
Parameter Sets: Aes128, Aes256, XtsAes128, XtsAes256
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-HardwareEncryption

Indicates that the volume uses hardware encryption.

Type: SwitchParameter
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Lines and paragraphs break automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote><p><br>
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.