Upgrade to Pro — share decks privately, control downloads, hide ads and more …

What did ๐Ÿ‘ฎ want from ๐Ÿ?

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers. →

What did ๐Ÿ‘ฎ want fromย ๐Ÿ?

A brief look into some technical details of the FBI/Apple case covering bits of iOS encryption.

Johannes Weiss

March 31, 2016

Transcript

13 slides
  1. Effaceable Storage โ€ข how to truly erase something from an

    SSD? (source: http:/ /lwn.net) โ€ข Apple's solution: small chunk of memory not subject to wear leveling
  2. Metadata โ€ข encrypted with random key created on install โ€ข

    not for confidentiality โ€ข in Effaceable Storage โ€ข ! โ€ข โœ… FBI knows that one
  3. Files The content of a file is encrypted with a

    per-file key, which is wrapped with a class key and stored in a fileโ€™s metadata โ€” iOS Security Guide FBI needs the file key ( ) 1. โœ… โ€” the file they want to decrypt 2. โœ… โ€” the file system key 3. โŒ โ€” the mysterious class key
  4. Class Key The class key is protected with the hardware

    UID and, for some classes, the userโ€™s passcode. โ€” iOS Security Guide โ€ข hardware UID: AES 256-bit key fused into the application processor โ€ข No software or firmware can read them directly โ€ข see only the results of encryption or decryption operations performed by dedicated AES engines
  5. Class Key, contd. 1. โŒ โŒ โ€” !" 2. #

    3. โŒ 4. , , ..., ? 10000 possibilities โ€” !$ 5. how to we access the AES engine?
  6. iOS Kernel* โœ… โœ… โŒ So the only protection* is

    that the FBI can't easily run code in kernel mode. *) on older devices (up until iPhone 5C)
  7. Ways to get around it โ€ข jail break โ€ข prevent

    SSD from being erased & try โ€ข crypto vulnerability โ€ข acid + focussed ion beam ? โ€ข reboot early & try ? โ€ข ???
  8. Links โ€ข iOS Security Guide โ€” https:/ /goo.gl/DJvK0F โ€” https:/

    / www.apple.com/business/docs/iOSSecurityGuide.pdf โ€ข Crypto Stack Question โ€” http:/ /goo.gl/4oN1rY โ€” http:/ / crypto.stackexchange.com/questions/32886/why-does-the-fbi- ask-apple-for-help-to-decrypt-an-iphone

More Decks by Johannes Weiss

Other Decks in Programming