by drdaeman · 10y ago · 0 comments
Can Apple - in theory - unlock that phone?
Is it
a) Unless there's a defect in HSM module (Secure Enclave) that allows the key extraction (like SEM data forensics or whatever), Apple just can't unlock the phone, because it's outside of their control.
I mean, I can readily imagine a system where encryption key is completely unknown to the OS, OS doesn't have any access (or has a write-only access using public key encryption) to the user data while the phone is locked, and encryption is performed by a tamper-resistant hardware, that won't do anything without a correct secret (passphrase) and HSM will irreparably erase key material after 10 failures (which is the behavior hard-coded into silicon).
or
b) Apple technically can unlock the phone by doing an OS update with a specially crafted insecure OS, but doesn't wants to do so, because it would create a bad precedent. I.e. the HSM isn't absolute and can be forced to disclose the key (or accept brute-force attacks) by the OS.
To put it simply: in theory, can Apple defeat their own security - if they would really want to - or not?
Edit: s/TPM/HSM/g
The simple answer is that Apple has the key to sign software that will run on iPhone boot, AND Secure Enclave boot. Neither technically require the phone to be unlocked, and SE updates do not (currently) wipe secrets.
Lots of talk about 5c vs 5S onward phones, but Apple can remove bruteforce protections from all iPhones currently on the market.
The answer is B (though they can only update the software to remove bruteforce protections in this case).
(That said, I firmly believe that won't be the case for long)
So even if the FBI dumped the firmware from the phone and found just the right branch instructions to flip to disable the time delay and data erasure... they couldn't deploy the firmware because it wouldn't boot.
Is that generally what the issue is? And if it is... wouldn't that mean that Apple is 100% correct in saying that creating such a firmware would allow "law enforcement" to do this to any phone in their possession (since they could install the same firmware on other Apple devices?)
Apple's claim is that this 1) may be abused by authorities through subsequent requests and 2) is too dangerous to create because "cyber criminals" will try to hack them and steal it.
Abuse is definitely a concern, although one would hope that could be resolved through democratic oversight, rather than shutting down the ability of law enforcement to obtain digital records under most circumstances.
But as for the concern about getting hacked, I wonder if Apple is being a bit coy. They already possess the private signing key. That's already a super valuable secret that would allow criminals to install their own malcode. That danger already exists. It would be harder if the hacker also had to hack the firmware, but probably not harder than hacking Apple to get the private key in the first place.
By contrast, putting a device with the modified firmware on the network and allowing it to be accessed remotely makes it a much easier target than the private signing key. A compromise still isn't likely, mind you, but that's a pretty damn attractive target.
But China/Iran/Russia/whereever could say: "You did it for the FBI, so you need to do it for us, too."
And the FBI could say: "You did it in that last case, so you need to do it in these other cases too."
And every local podunk sheriff in any jurisdiction could do the same thing, and there would be no end to Apple having to fight these things or do this work.
Not to mention that its customers would start getting harmed in countries where leaks of your private information can lead to your death.
If Apple doesn't want to be in that position, they shouldn't have put themselves in that position by retaining and requiring full control over devices via platform-level DRM.
This is really more about the legal precedent.
Yes.
> So even if the FBI dumped the firmware from the phone and found just the right branch instructions to flip to disable the time delay and data erasure... they couldn't deploy the firmware because it wouldn't boot.
Correct.
> Wouldn't that mean that Apple is 100% correct in saying that creating such a firmware would allow "law enforcement" to do this to any phone in their possession.
Only Apple knows the answer to this with 100% certainty.
The hardware imposes a limit of ~80ms on password attempts due to the nature of the hashing computations. So a four digit passcode could be brute forced in a maximum of 15 minutes if Apple were to install a purposefully hindered version of iOS on the device.
Hope in the new phones they'll just enforce the important constraints right in the silicon, effectively closing this gap.
Further, this is a 5C and doesn't have a secure enclave, and even if it was a 6S they could still get access to the phone by doing an OS update.