US judge in California directs Apple to help FBI break into cell phone
twitter.com
twitter.com
This was also the basis for several of the warrantless phone collection cases, according to the leaks. One or more of the major telcos was eager to cooperate, but politely asked that they be "forced" to. The FISA court was happy to oblige.
Is there something I'm missing?
The user passcode is combined with the UID Key embedded in the Secure Enclave to create an encryption key used for the filesystem (Apple calls this "tangling"). That means you can only crack the key for the filesystem as fast as the Secure Enclave lets you crack it, since every guess is composed of Passcode+Secure_Enclave_Access.
And boy, does the Secure Enclave not like to go fast. Every incorrect guess gets fed back to the SE and it gets slower and slower until you can only try 1 guess an hour or, if the user set it, total device erasure after a certain number of failed attempts. See the table on page 12 of the iOS Security Guide.
This is why disk crypto on iOS is far better than comparable alternatives on Android. Having a hardware crypto chip with a key embedded at manufacture time on every single phone they produce is something that only Apple can really do.
The top poster is correct: in iOS7 and prior there were many default apps that did not use the Data Protection API (aka file encryption). Post-iOS7, most default apps and many 3rd party apps have defaulted to using Data Protection. This means you get very little if you're trying to forensically acquire a disk, as the FBI is, without access to the phone passcode.
Sidenote: My company released a crypto abstraction library for interacting with the Secure Enclave last week. It lets mobile app developers instruct the SE to create an ECC private key on their behalf and then sign things with it. This way, you can make passwordless authentication and device binding on iOS possible for your app, potentially improving UX, increasing security, and simplifying your server-side code. Check it out at https://www.passwordlessapps.com -- we couldn't have made these kinds of security guarantees without the Secure Enclave. We'll eventually support Android, but we'll have to give up some security benefits to do so.
EDIT: I've been informed the device in question is an iPhone 5C (no TouchID == no Secure Enclave). This should make things a lot simpler for the FBI. Now I actually do wonder why they're having trouble?
Still, a 4-digit PIN would certainly be broken. An 8-digit PIN would probably take months to crack (100ms * 10^8 == 116 days). An actual passphrase? Good luck.
1. See the Encryption and Data Protection section of Apple's 2014 iOS security guide, starting on page 9 of https://s3.amazonaws.com/s3.documentcloud.org/documents/1302...
Thanks!
I can't think of a technical reason why this shouldn't be possible.