3 ms·
It's worth noting that, historically, cryptosystems have more often been broken through errors in key management than by actually cracking the encypherment algo
by Animats 6y ago
It's worth noting that, historically, cryptosystems have more often been broken through errors in key management than by actually cracking the encypherment algorithm. Key generation from an untrusted source.[1] Weak random number generation. Reusing keys. Keys intercepted in transit. Stuff like that.
[1] https://www.allkeysgenerator.com/Random/Security-Encryption-Key-Generator.aspx https://www.allkeysgenerator.com/Random/Security-Encryption-...
- garmaine 6y agoThose count as the “crypto” in “don’t roll your own crypto”
- fractionalhare 6y agoI agree that modern cryptography isn't usually broken through design cryptanalysis, but I wouldn't bucket all the ways it usually fails into key management. There is a lot of misuse and misimplementation which goes beyond weak keys and key reuse. I would rather say modern cryptography typically fails in one of three ways: 1. Incorrect implementation of low level primitives. For example: implementing textbook RSA (without padding). 2. Improper composition of correct primitives. For example: implementing an authenticated encryption construction using CBC mode with a MAC that shares its key with the CBC secret key, or simply using key = IV. 3. Incorrect usage of correct primitives. For example: nonce reuse with the same key, using regular cryptographic hash functions for password hashing, using an HMAC key larger than the block size, or using unauthenticated encryption to prevent tampering (e.g. URL parameters).
- HenryBemis 6y agoI cannot believe that we are talking about break-in cryptography and there have already been two XKCD posts but not the one about the reality of "cracking" cryptography: https://xkcd.com/538/ https://xkcd.com/538/ (apologies for the super obvious cartoon)
- deleted 6y ago[deleted]
- 3pt14159 6y agoSo many ways to lose with cryptography. Cryptanalysis is a very alive field with very quiet buyers. So many websites use insecure cyphers for their TLS so many industrial systems have out of date cyphers or, worse, hand rolled "crypto" because they were written 20 years ago. A protocol downgrade attack is easier than cryptanalysis, but it's observable. If all you want to do is surveil (not fabricate, modify, or deny) it's safer to do cryptanalysis since it's undetectable. Exfiltrating a key from, say, COMODO involves not just stealing the key, but using it involves generating a false certificate. It's a matter of scale for some actors. Crack as many cyphers as you can and log as much intercepted traffic as you can and decrypt it quietly. For important targets if that doesn't work, sure go hack the server and steal the key, certificate, or data directly.