top | item 13108577

Secure ROM extraction on iPhone 6S

264 points| tomstokes | 9 years ago |ramtin-amin.fr | reply

46 comments

order
[+] mschuster91|9 years ago|reply
Wow. That's some serious skill that went into this.

If the author is reading: how did you develop that multi-layer board? Do you have a PCB fab that can print a board in, say, one or two days time? And how did you assemble that PCIe inject board, given those ultra small SMD parts? Did you order a fully-built PCB or did you do all this by hand?

[+] 5cactuses|9 years ago|reply
Not the author but I can answer your questions. Anyone can have a multilayer board fabbed by uploading the Gerbers to a fab house -- the board shows up on your doorstep anywhere from a day to a month later, depending how much you want to pay. Fine pitch SMD parts can be hand soldered with hot air and a binocular microscope; rework techs routinely do it every day.
[+] arcticbull|9 years ago|reply
If you want a multi-layer board done up on the cheap (or fast, pick one haha) Oshpark is my go-to. They do 4-layer PCBs for $10/sq in.

Small Batch Assembly (haven't used them yet) should be able to put it together for you if you'd rather not DIY. If you'd like to, though, Osh Stencils, tweezers, some solder paste and a rework station (or a heat gun if you're feeling brave) and you can do a lot at home.

[+] potrebitel|9 years ago|reply
Also, designing a FPGA board is 'half' of the job, putting a verilog or VHDL code is a totally different thing.

The DDR3 routing, the BGA chip, everything on this board 'screams' very hard work, probably not by a single person ( i have to admin I checked the FPGA/board part only )

[+] deegles|9 years ago|reply
How many people on the planet are capable of doing this? What's your best Fermi estimate?
[+] mmastrac|9 years ago|reply
I'd wager 100<n<1000. This requires a specific skillset of low-level reversing and hardware hacking but I wouldn't put it past anyone who is smart and driven to understand how things work.
[+] agumonkey|9 years ago|reply
Bunnie Huang could probably do so while watching a GoT episode.

Most programmers today are not electronics saavy, even electricity saavy. But it's not Quantum Mechanics.

[+] a2tech|9 years ago|reply
Does this allow circumvention/dumping of the SecureBoot keys? Its an impressive looking piece of kit for sure, but the English leaves me confused as to what they were able to actually accomplish.
[+] mikeash|9 years ago|reply
I would assume that the signature scheme uses some sort of public key system, so dumping the keys in the boot ROM wouldn't let you sign new code. Gaining access to the bootloader code would allow you to analyze it and potentially find vulnerabilities. There's no guarantee that vulnerabilities could be found, but the chances are a lot better than if you were just poking at it blind.

It looks like they did succeed in dumping the full contents of the boot ROM. They don't appear to have done anything with that dump (yet).

[+] IshKebab|9 years ago|reply
It dumps the firmware. Apple offers a reward for finding security issues with the firmware. Dumping it is the first step.
[+] vbezhenar|9 years ago|reply
I really hope that jailbreakers will be able to downgrade iPhone 4S from iOS 9.3 to iOS 6. I stayed current when Apple released updates, even with terrible performance, but now it's really doesn't make any sense to stay on that laggy iOS 9, if I could use blazing fast iOS 6.
[+] laacz|9 years ago|reply
It's now only 4s. iPhone 6 is getting more and more sluggish with every major and even minor update.
[+] Unklejoe|9 years ago|reply
Just curious: Is it possible to stay on an old release forever with an iPhone, or do they force the upgrade eventually?
[+] vizzah|9 years ago|reply
How do you get apps for the old iOS versions? They are no longer in App Store..
[+] pjc50|9 years ago|reply
That jig is a beautiful piece of mechanical engineering.
[+] wernercd|9 years ago|reply
So... when can we expect a 9.3.5 jailbreak :) This is some seriously badass stuff going on...
[+] felixfurtak|9 years ago|reply
In a digital world, the analog voltmeter is a nice touch
[+] jburgess777|9 years ago|reply
The big "A" suggests it is an ammeter measuring the current, not a voltmeter. An analog display is often quicker and easier for a human to interpret when only a rough measurement is wanted.
[+] Taniwha|9 years ago|reply
Check out some of the Chinese iPhone rework docs - they rebuild iPhones using chips from dead phones - and debug them by knowing the current flow at various points in the debug cycle
[+] kurinj|9 years ago|reply
The world is analog.
[+] mmastrac|9 years ago|reply
If the author of the blog is reading this, the site seems to be unavailable from my location on the Shaw Canada network. I thought it was down, but it appears there's some sort of network error preventing my packets from making it from here to there. This happened on the previous (and very interesting) article as well.

archive.is link for anyone else having this issue: http://archive.is/bA9Ak

[+] nullpage|9 years ago|reply
Thanks for the archive link, can also confirm that actual link doesn't work on my Shaw Canada connection either.
[+] jlgaddis|9 years ago|reply
(dig && ping && traceroute && tcptraceroute) + tcpdump ?