Re:Ask HN: How secure is the encryption offered by OS X's Di...
by resf on Monday June 19, 2017 @04:19AM
(#14585350)
Is it a realistic threat though? You're not supposed to use your device after it has been compromised. If you don't _know_ your device has been compromised you are totally fucked anyway.
Re:Ask HN: How secure is the encryption offered by OS X's Di...
by dchest on Monday June 19, 2017 @06:59AM
(#14585943)
Yes, thread model for full disk encryption is defined for an attacker that has ability to read the encrypted contents of disk at any point in time.
CTR mode is also malleable at bit level, while XTS is less so (this matters when an attacker can modify the encrypted contents).
Question: can you discover something about ciphertext which allows you to guess plaintext? If so, what?
Completing this homework will introduce you to disk encryption theory and will help understand the need for XTS-like modes.