Earlier quoted context omitted.
From what Apple's released on how iPhone security works [1], it sounds like such keys are still written to external flash, just in a much more low-level way. So there may be a theoretical way to do this attack on a more recent iphone, but you'd have to do a lot more reverse engineering to figure out a few layers of undocumented proprietary protocols. [1] https://www.apple.com/business/docs/iOS_Security_Guide.pdf
From skimming the paper, : "Each Secure Enclave is provisioned during fabrication with its own UID (Unique ID) that is not accessible to other parts of the system and is not known to Apple. When the device starts up, an ephemeral key is created, entangled with its UID, and used to encrypt the Secure Enclave’s portion of the device’s memory space. Additionally, data that is saved to the file system by the Secure Encla…
The bumpy road towards iPhone 5c NAND mirroring
41–50 of 69 posts
Re: The bumpy road towards iPhone 5c NAND mirroring
#42Earlier quoted context omitted.
I'm surprised the post was not unflagged. HN team wanna ring in?
When posts say "flagged", that means they crossed some threshold of user flags. The moderators didn't flag it.
Re: The bumpy road towards iPhone 5c NAND mirroring
#43Vindicated. https://news.ycombinator.com/item?id=11199093
I'm sure all the "experts" who were so vocal about how wrong you were will speak up now and admit they were wrong. Happens all the time around here. ;)
[0] https://youarenotsosmart.com/2011/06/10/the-backfire-effect/
Re: The bumpy road towards iPhone 5c NAND mirroring
#44Earlier quoted context omitted.
Oh I find it so aggravating when I don't have a date. It seems like most academic papers I found on interesting security and programming stuff didn't have dates. I had to pull them off Citeseerx or the school's site. You'd think it would be a requirement in the style guides given importance of when something was published for relevance or context. I've never heard an explanation for why this isn't so. I do appreciate…
Conference papers include a copyright notice with the name (and year) of the conference. Papers that aren't published at conferences (preprints, technical reports... etc) don't have any standard format for this. Sometimes (especially for preprints) it's left out in expectation of adding the copyright notice in a future version, sometimes it's left out because the document is in a very preliminary stage and hasn't bee…
Re: The bumpy road towards iPhone 5c NAND mirroring
#45Earlier quoted context omitted.
So the secure enclave must have an embedded flash inside the processor that includes the pin code attempt counter -- meaning that writing to the external flash would not happen at all right?
From what Apple's released on how iPhone security works [1], it sounds like such keys are still written to external flash, just in a much more low-level way. So there may be a theoretical way to do this attack on a more recent iphone, but you'd have to do a lot more reverse engineering to figure out a few layers of undocumented proprietary protocols. [1] https://www.apple.com/business/docs/iOS_Security_Guide.pdf
Re: The bumpy road towards iPhone 5c NAND mirroring
#46Earlier quoted context omitted.
From skimming the paper, : "Each Secure Enclave is provisioned during fabrication with its own UID (Unique ID) that is not accessible to other parts of the system and is not known to Apple. When the device starts up, an ephemeral key is created, entangled with its UID, and used to encrypt the Secure Enclave’s portion of the device’s memory space. Additionally, data that is saved to the file system by the Secure Encla…
How would one provision a secure enclave at fabrication time? What does that even mean?
Re: The bumpy road towards iPhone 5c NAND mirroring
#47Earlier quoted context omitted.
It would have cost the agencies a lot more though (contracting fees), I highly doubt they'd have the technical capabilities to handle this. But it just goes to show that they didn't really reach out and were simply using it as a means to push their backdoor agenda. :(
What worse is that they (or at least Comey) explicitly said that NAND mirroring does not work. When he was testifying before Congress, we was asked by several Congress people about NAND mirroring and (if I remember correctly) said that the technical experts had looked into it. This is either gross incompetence or outright perjury.
Re: The bumpy road towards iPhone 5c NAND mirroring
#48A note -- if you're linking to arXiv, it's better to link to the abstract ( https://arxiv.org/abs/1609.04327 ) rather than directly to the PDF. From the abstract, one can easily click through to the PDF; not so the reverse. And the abstract allows one to do things like see different versions of the paper, search for other things by the same authors, etc. Thank you!
You can also see when the paper was submitted.
Re: The bumpy road towards iPhone 5c NAND mirroring
#49Vindicated. https://news.ycombinator.com/item?id=11199093
No one with the slightest technical background thought the phone was uncrackable, maybe not directly by the FBI but by pretty much any 3rd party contractor that does even basic flash data recovery. The FBI was looking to set a precedent in order to be able to gain easy access to phones that could be also used by law enforcement, a local sheriff's department is less likely to be able to contract it out for every case…
Re: The bumpy road towards iPhone 5c NAND mirroring
#50Probably useful to mention this in the comments here: this works for the 5c, but not the 6 and beyond, due to the addition of the Secure Enclave.
So the secure enclave must have an embedded flash inside the processor that includes the pin code attempt counter -- meaning that writing to the external flash would not happen at all right?
It's "replay protected" because the crypto prevents an attacker from replaying old contents of the chip back to the secure element.
If Intel ever stopped mucking around with SGX licensing policy, SGX + RPMB would be a really nice combination on laptops.