Live data from Hacker News

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

zdnet.com

91–100 of 113 posts

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

#91
post #59

Earlier quoted context omitted.

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.

If the algorithm is FIPS 140-2 compliant but the key-handling/checking fails best practices...

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

#92

I wonder what this implies for SSDs that claim to support instantaneous ATA Secure Erase. Many SEDs, when issued this command, will simply discard their internal key and generate a new one, in theory rendering data irretrievable. I've encountered this method recommend over traditional wiping for reasons of security (you can't be sure all blocks are wiped when overwriting due to internal reservation), speed, and flash…

My own personal policy is to allow SSD reuse internally, but to just physically destroy the drives at the end of useful life.

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

#93
Based on the presented analysis, TCG Opal encryption for the Samsung 850+ series appears to be secure.

I don't see a reason to still use software encryption. I would sooner expect a backdoor in cpus rather than SSD. Almost nobody even has the capability to even analyze the microcode for modern cpus. It could contain a backdoor that stores N aes passwords in the cpu itself, sorted by the amount of data encrypted. Using AES-NI makes it relatively trivial. At worst, both ssd controllers and amd/intel cpus would have backdoors like that, but if that's the case there's nothing to be done.

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

#94

Based on the presented analysis, TCG Opal encryption for the Samsung 850+ series appears to be secure. I don't see a reason to still use software encryption. I would sooner expect a backdoor in cpus rather than SSD. Almost nobody even has the capability to even analyze the microcode for modern cpus. It could contain a backdoor that stores N aes passwords in the cpu itself, sorted by the amount of data encrypted. Usin…

> I don't see a reason to still use software encryption.

Why not? Software encryption can still be hardware accelerated (thanks to encryption instructions in the CPU), and it is fast enough to not be a bottleneck unless you have a very fast IO device (and very fast in this case mean either Optane or modern SSD's in RAID-0). Also, the impact in CPU usage/power consumption is low.

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

#95
post #77
post #75

Earlier quoted context omitted.

Fips typically certifies that the algorithm is correct, but it can't be faulted for bad primes I think I rest my case.

How? I honestly don't follow your logic at all.

In this SSD case, if they only certified the algorithm then all the SSDs would be fine (probably). The encryption itself is probably good and wouldn't be easily broken if you only had access to the encrypted data. It's the key generation and usage outside of the algorithm that is broken in these drives.

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

#96
post #74
post #68

Earlier quoted context omitted.

Does your argument boil down to any review process that doesn’t catch 100% of problems is worthless? I don’t think anyone claims fips certification is always going to garuntee perfection but it’s better than nothing. It also stipulates things like tamper evident seals which would mitigate attacks that need jtag access to muck with firmware.

If someone lifted your drive - the thing FDE is supposed to protect against - tamper evident seals are not going to offer much in the way of mitigation.

that isn’t what the seals are for.

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

#97
post #87
post #77

Earlier quoted context omitted.

How? I honestly don't follow your logic at all.

Treating a certification of algorithm correctness as a certification of a well engineered product is a poor choice, because many security critical things in the product are not considered in the certification.

That makes a lot of sense, thank you! I got the impression that the parent comment meant that the certification itself means nothing, hence my confusion.

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

#98
post #72

Earlier quoted context omitted.

I never used HW disk encryption (other than TPM) because I always seen it as unnecessary as in it doesn’t really improve on SW+TPM in terms of performance or compatibility and could only cause potential data recovery and security issues. There is no performance benefit in fact with modern CPUs that have crypto extensions it’s often slower and I never trust commercial solutions ever since you could dump the key from t…

The hw drives absolutely perform better if you have a raid.

Is there a source for that? XTS-AES was actually slower with some of the drives, block chaining for raid is done on the raid logical blocks I don’t see how HW would be faster, in fact until fairly recently HW encryption didn’t really work with raid setups at least those available to consumers.

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

#99
post #33
post #20

Why would anyone be surprised about this? If you can't read a whitepaper, and inspect the algorithm to a degree where you can create your own provably-compatible implementation, or easily inspect the vendors source code, then you should just assume it's implemented incompetently and is completely and utterly compromised. The same goes for all cellular/mobile phone encryption standards, proprietary VPN solutions, prop…

Really, not so much. The problem here isn't so much with transparency as with delegating cryptography to non-cryptographers (or, for that matter, trusting that other vendors have had cryptographers review their designs). Based on the track record not only of open source cryptography but also of internal review of closed-source cryptography (that is: closed source software reviewed by the vendor that wrote it ), havin…

> delegating cryptography to non-cryptographers

Well, ok, but who is a cryptographer then? How can a non-cryptographer tell who it's safe to delegate cryptography to? You can't even really complete a degree in cryptography (you can do a CS degree with a specialization in cryptography, but that doesn't mean all that much). There's no meaningful regulatory standards body there - the CISSP is a joke and is focused on producing compliance reports anyway rather than much to do with cryptography.

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

#100
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…

[deleted]
Post reply on HN