Live data from Hacker News

Self-encrypting deception: weaknesses in the encryption of solid state drives [pdf]

zdnet.com

51–60 of 113 posts

Re: Self-encrypting deception: weaknesses in the encryption of solid state drives [pdf]

#51

Earlier quoted context omitted.

I did not read GP as saying it was a binary choice, but rather a prerequisite. That is to say, without transparency, there can be no trust, but you can also have no trust with transparency. For someone like me, who is somewhat technically competent, but not a security expert, openness means that names and figures I do trust have the chance to examine whatever I intend to use and comment on it, observe it, and make as…

"names and figures I do trust have the chance to examine whatever I intend to use and comment on it, observe it, and make assessments, including shaming poor implementations claiming traits they have no right to" does not necessarily require openness - third party audits, if done by people who you do trust, can do the same thing for closed systems, for example as described in the tptacek's comment https://news.ycombi…

Audits done by a select few who were given privileged access by definition are not open or transparent. You don't just want conclusions to be published, you want the methodology and source material to be too so the findings are reproducible.

Re: Self-encrypting deception: weaknesses in the encryption of solid state drives [pdf]

#52
post #11

I did not know that BitLocker relies on hardware encryption if the SSD has support for it. That seems like an extremely dangerous default to have, especially as the implementation is closed source in most (all?) cases.

It's a very difficult process to turn on and isn't something that happens automatically. You must flip the bit using the SSD manufacturer's tool, reinstall Windows, and then enable BitLocker. Even then, it only works with a handful of SATA SSDs and maybe 2 NVMe SSDs with 1 or 2 motherboards.

I knew something was fishy when I enabled Bitlocker on an OPAL compliant SSD and it took a few minutes to encrypt it. OPAL drives are supposed to be encrypted by default, and I expected Bitlocker to use that, but it didn't. If only one specific set of hardware is needed, why bother?

Re: Self-encrypting deception: weaknesses in the encryption of solid state drives [pdf]

#53

"We have analyzed the hardware full-disk encryption of several SSDs by reverse engineering their firmware. In theory, the security guarantees offered by hardware encryption are similar to or better than software implementations. In reality, we found that many hardware implementations have critical security weaknesses, for many models allowing for complete recovery of the data without knowledge of any secret. BitLocke…

> This challenges the view that hardware encryption is prefer-able over software encryption. WAT? Who ever thought that? For exactly the reason you state, I certainly would not have recommended anyone to ever trust "hardware encryption". And it's not just that firmware tends to be terrible: We had plenty of "secure storage" thingies that weren't.

properly implemented, hw encryption is better because it does not expose key material in the RAM even for a brief moment.

Re: Self-encrypting deception: weaknesses in the encryption of solid state drives [pdf]

#54

In case you're wondering if this affects you (I know I was wondering) the relevant command to run is (in an elevated command prompt) `manage-bde -status ` Then look at the output for "Encryption Method". If it says something like "XTS-AES 128" I think that means you're using software encryption. If it mentions hardware encryption, then it's using it :) (more info. https://helgeklein.com/blog/2015/01/how-to-enable-bit…

Does anyone have any info on whether this affects Macs as well? I recently bought an external Samsung T5 SSD. I'm using APFS with encryption. Does that mean it is using the broken hw encryption that Samsung provides or is OSX actually doing this properly?

Re: Self-encrypting deception: weaknesses in the encryption of solid state drives [pdf]

#55
post #53

Earlier quoted context omitted.

> This challenges the view that hardware encryption is prefer-able over software encryption. WAT? Who ever thought that? For exactly the reason you state, I certainly would not have recommended anyone to ever trust "hardware encryption". And it's not just that firmware tends to be terrible: We had plenty of "secure storage" thingies that weren't.

properly implemented, hw encryption is better because it does not expose key material in the RAM even for a brief moment.

Well, yeah, sure, but who would possibly expect something like this to be implemented properly?

Re: Self-encrypting deception: weaknesses in the encryption of solid state drives [pdf]

#56

Warning - this file will automatically download instead of opening up in the browser.

It's a direct link to a PDF, what it does depends on how your browser is configured. For me on FF it shows a dialog asking if I want to open or save.

Re: Self-encrypting deception: weaknesses in the encryption of solid state drives [pdf]

#57
post #36

Litany of failures: * Firmware protection in drives is almost uniformly broken, so that they can get code execution (through JTAG or through hacked firmware images) routinely. This is bad, but shouldn't be the end of the world, since in the drive encryption threat model you don't want to have to depend on the firmware anyways. But: * Two Crucial SSDs encrypt the drive with a key unrelated to the password ; the passwo…

Are there regulations in any industry which require the name of software authors on binaries/products, or at least the name of someone who approved the security claims made by the device?

Re: Self-encrypting deception: weaknesses in the encryption of solid state drives [pdf]

#58
post #36

Litany of failures: * Firmware protection in drives is almost uniformly broken, so that they can get code execution (through JTAG or through hacked firmware images) routinely. This is bad, but shouldn't be the end of the world, since in the drive encryption threat model you don't want to have to depend on the firmware anyways. But: * Two Crucial SSDs encrypt the drive with a key unrelated to the password ; the passwo…

Are there regulations in any industry which require the name of software authors on binaries/products, or at least the name of someone who approved the security claims made by the device?

Absolutely not.

Re: Self-encrypting deception: weaknesses in the encryption of solid state drives [pdf]

#59
post #36

Litany of failures: * Firmware protection in drives is almost uniformly broken, so that they can get code execution (through JTAG or through hacked firmware images) routinely. This is bad, but shouldn't be the end of the world, since in the drive encryption threat model you don't want to have to depend on the firmware anyways. But: * Two Crucial SSDs encrypt the drive with a key unrelated to the password ; the passwo…

Are there regulations in any industry which require the name of software authors on binaries/products, or at least the name of someone who approved the security claims made by the device?

Buy drives with FIPS 140-2 certification. At least then you know a third party lab has reviewed the implementation.
Post reply on HN