One of the FBI’s Major Claims in the iPhone Case Is Fraudulent

“We have enormous computing power in the US government, but we need to be able to bring it to bear without the phone killing itself.”
                                  - FBI Director James Comey, March 1, 2016.

In the FBI’s court order requesting Apple's assistance in unlocking the work iPhone 5c used by the San Bernardino shooter, the bureau's first and most urgent demand is that Apple disable the iPhone's “auto-erase” security feature. This feature (which is not enabled by default on most iPhones) protects user data on a device from would-be snoops by wiping the phone after 10 failed passcode attempts. This protects you and me from thieves trying to guess our passcodes and access our data for identify theft, for example.

But the truth is that even if this feature is enabled on the device in question, the FBI doesn't need to worry about it, because they can already bypass it by backing up part of the phone (called the “Effaceable Storage”) before attempting to guess the passcode. I'll go into the technical details (which the FBI surely already knows) below.

How the FBI describes the “auto-erase” feature

Let's look at how the FBI describes the situation. The court order's first and most urgently phrased request is to ask Apple to “bypass or disable the auto-erase function whether or not it has been enabled.”

A few days after the court order was issued, but before Apple had formally responded, the government filed a strongly worded motion to compel, which contained this description of the feature:

The FBI has been unable to make attempts to determine the passcode to access the SUBJECT DEVICE because Apple has written, or “coded,” its operating systems with a user-enabled “auto-erase function” that would, if enabled, result in the permanent destruction of the required encryption key material after 10 failed attempts at the [sic] entering the correct passcode (meaning that, after 10 failed attempts, the information on the device becomes permanently inaccessible)…

In sum, the government seeks the ability to make multiple attempts at determining the passcode without risk that the data subject to search under the warrant would be rendered permanently inaccessible after 10 wrong attempts.

To add urgency to their attempt to compel Apple to abuse their software signing keys, the FBI is painting a picture of “permanently inaccessible” data. But if its agents are doing their job, that's just not the case.

How the “auto-erase” feature actually works

Here's where the technical details come in. The iPhone protects its user's data with a complex hierarchy of cryptographic keys. Some data is protected by multiple keys. Imagine a pile of letters and photos placed inside a locked box, with the box itself placed inside a locked filing cabinet. You'd have to have keys to the filing cabinet and the box to read any of the letters or see any of the photos. If either of these keys is destroyed, the letters and photos are lost forever.

When iOS decides to wipe out user data because the passcode guess limit has been reached (or for any other reason), it doesn’t actually erase all the data from its underlying storage; that would actually take several minutes. Instead, it just destroys one of the keys that protects the data, rendering that data permanently unreadable. The key that is erased in this case is called the “file system key”—and (unlike the hardwired “UID” key that we discussed in our previous blog post) it is not burned into the phone’s processor, but instead merely stored in what Apple calls “Effaceable Storage,” which is just a term for part of the flash memory of the phone designed to be easily erasable. Apple's iOS Security Guide explains:

Since it’s stored on the device, this key is not used to maintain the confidentiality of data; instead, it’s designed to be quickly erased on demand (by the user, with the “Erase all content and settings” option, or by a user or administrator issuing a remote wipe command…. Erasing the key in this manner renders all files cryptographically inaccessible.

The file system key is like the key to the filing cabinet in our example: a small thing that is easy to destroy, which disables access to the rest of the information.

Why the FBI can easily work around “auto-erase”

So the file system key (which the FBI claims it is scared will be destroyed by the phone’s auto-erase security protection) is stored in the Effaceable Storage on the iPhone in the “NAND” flash memory. All the FBI needs to do to avoid any irreversible auto erase is simple to copy that flash memory (which includes the Effaceable Storage) before it tries 10 passcode attempts. It can then re-try indefinitely, because it can restore the NAND flash memory from its backup copy.

Here's a picture of the front and back of main circuit board inside the iPhone 5c:

iPhone interior

Image credit:

The large chip on the front marked A6 is the processor -- a custom chip designed by Apple specifically for its devices. It contains the CPU, BootROM, RAM, crypto engines, Apple's public signing key (used to verify software updates), and the UID key (see our previous blog post).

The largest chip on the back (outlined in red above) is the NAND flash, where all the data is stored, including both the encrypted filesystem and the Effaceable Storage.

The FBI can simply remove this chip from the circuit board (“desolder” it), connect it to a device capable of reading and writing NAND flash, and copy all of its data. It can then replace the chip, and start testing passcodes. If it turns out that the auto-erase feature is on, and the Effaceable Storage gets erased, they can remove the chip, copy the original information back in, and replace it. If they plan to do this many times, they can attach a “test socket” to the circuit board that makes it easy and fast to do this kind of chip swapping.

If the FBI doesn't have the equipment or expertise to do this, they can hire any one of dozens of data recovery firms that specialize in information extraction from digital devices.

NAND flash storage is an extremely common component. It's found in USB thumb drives, mobile phones, portable music players, low-end laptops—pretty much every portable device. Desoldering a chip from the circuitboard is straightforward enough that there are many clips on YouTube showing the practice, and reading and writing a bare NAND chip requires a minor investment in hardware and training that the FBI has probably already made.

What's really going on here?

If this generally useful security feature is actually no threat to the FBI, why is it painting it in such a scary light that some commentators have even called it a “doomsday mechanism”? The FBI wants us to think that this case is about a single phone, used by a terrorist. But it's a power grab: law enforcement has dozens of other cases where they would love to be able to compel software and hardware providers to build, provide, and vouch for deliberately weakened code. The FBI wants to weaken the ecosystem we all depend on for maintenance of our all-too-vulnerable devices. If they win, future software updates will present users with a troubling dilemma. When we're asked to install a software update, we won’t know whether it was compelled by a government agency (foreign or domestic), or whether it truly represents the best engineering our chosen platform has to offer.

In short, they're asking the public to grant them significant new powers that could put all of our communications infrastructure at risk, and to trust them to not misuse these powers. But they're deliberately misleading the public (and the judiciary) to try to gain these powers. This is not how a trustworthy agency operates. We should not be fooled.

View comments (193)
Read the Terms of Use


This is not something you go around saying. To tell people how easy it is to navigate past the security features. Remember people are supporting Apple because of their paranoia over privacy, this make Apple look very good. saying oh hey you don't need us it easy, would not make Apple look good. These people want their device to be secure and support Apple thinking Apple offers this. There is an even easier option then this as well, this here is some tech guy wanting to look smart but goes by the book. Head over to one of the gaming/glitching/hacking forums and you'll see not even this is needed to unlock a iPhone first attempt. This guy likely has an iPhone and either doesn't want norms knowing how to bypass it, or has a mind to buried in by the book methods to actually know how to do anything. It really is easy, and seriously as simply as googling how to unlock an iPhone lol.


The court order dictated to Apple gives Apple two ways to comply. Either Apple makes a custom iOS or Apple provides technical assistance to the FBI telling how to defeat the security in place. If Apple used as its primary defense, an argument that provides technical assistance to the FBI telling how to defeat the security, then the defense is foiled. It would mean, Apple would have to comply with the court order.


So now youre fighting against your own stated belief.
"It would look bad if Apple just flatly said, "Our phones don't actually have very good security, with some expertise you can get right around all that inconvenient stuff that you think protects your personal info"
That takes us back to, If its so simple to do, then why all of this show?
Even the local authorities that dont have the resources the FBI has would be able to figure it out. IF it were that simple.
One thing everyone watching this knows, its not a show for the sake of the show. Im fairly certain the FBI and Apple have better things to do.
If it were that simple and every other forum poster/ blogger/ vlogger that seems to know how to do it, these phones would be cracked/hacked regularly. The local authorities would have also figured this out.
Because its not that simple.
Not that our government doesnt practice some sketchy, seedy business, but this "fraudulent FBI claim" seems more fitting to the paranoid society we've become. And the majority of that paranoia is not generated by our government but ignorant people and private business whom it is extremely lucrative for.
Heck, Ive never been to the ACLU website before until I clicked the link in a related article...


You're asking them to say "hey, our phones are ACTUALLY really insecure if you read our documentation".
That would in no way be smart on their part. After the iCloud mess, people already (rightfully so, I guess) mistrust them enough.


Anyone in the US who cares about the American economy should be hammering their elected officials to get the FBI to knock this off. All these violations of privacy our law enforcement and intelligence agencies are pursuing are making the US a riskier and riskier investment for foreign companies. The nightmare scenario is that it gets to a point where the EU decides that storing a European citizen's data in the US violates the EU Data Directive, in which case no European company can do business with US companies.

Also note that the FBI has gone on the record that they have having trouble hiring programmers because of their requirement that they cannot hire anyone who has smoked pot within the last five years. Here's a hint, FBI: maybe if you want someone as employee that badly you should examine the policy, and even talk to the White House about removing marijuana from Schedule I?


When, in the last 8 years, has the FBI or NSA given a single rat's ace about pressure from the "people's" legislators? Its a rhetorical question...they haven't. Those days of "contacting our congressman" are long gone.


Every terrorist event is used against us citizens to erode our human rights. I am not an enemy ... yet.


Has anyone actually done this? It doesn't seem so difficult.




The link to the Apple IOS Security Guide needs fixing. Right now it begins with "http://https//".

Also, in general, all the links on this page will be much more visible if you make them blue. Otherwise they look like normal tect.


Stay Informed