Skip to content
0:00 / 0:00

#iphone15#usb-c#jtag

DEF CON 32 - From getting JTAG on the iPhone 15 to hacking Apple's USB-C Controller - Stacksmashing

DEFCONConference

419K subscribers • 61 videos on Hallway • Conference channel

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Stacksmashing

Advanced. Deep dive for people who know the field.

587K views2 years ago1 recommendation

SecurityHardwareExploits and vulnerabilitiesReverse engineeringEmbedded systems

Stacksmashing explains how they reverse-engineered Apple's ACE3 USB-C controller to access JTAG, UART, and internal buses on the iPhone 15.

With the iPhone 15 & iPhone 15 Pro Apple switched their iPhone to USB-C - and introduced a new proprietary USB-C controller: The ACE3. But the ACE3 does more than just handle USB power delivery: It's a full microcontroller running a full USB stack connected to some of the internal busses of the device, and we even managed to access JTAG on the iPhone 15 through it. It also provides access to UART, the internal SPMI bus, etc. Previous variants of the ACE, namely the ACE2 found in MacBooks, could easily be dumped and analyzed using SWD - and even be persistently backdoored through a software vulnerability we found. On the ACE3 however, Apple upped their game: Firmware updates are personalized, debug interfaces seem to be disabled, and the external flash is validated and does not contain all the firmware. However using a combination of reverse-engineering, RF side-channel analysis and electro-magnetic fault-injection it was possible to gain code-execution on the ACE3 - allowing dumping of the ROM, and analysis of the functionality. This talk will show how to use a combination of hardware, firmware, reverse-engineering, side-channel analysis and fault-injection to gain code-execution on a completely custom chip, enabling further security research on an under-explored but security relevant part of Apple devices.

Why it's here

1 person recommends this

u/david_lecomtein r/embedded • Recommends

…, and the Macbook model. Which brings me to: \*\*\* Literature on the subject I am almost certain that this is doable, due to 2 pieces of literature: \* https://blog.rickmark.me/ace-controller-secrets/ : The author (which I was not able to locate) explains at the very beginning that he was able to dump the firmware using an SWD probe. \* [video : This talk, given recently at a conference. The author (Stacksmashing, which I tried emailing, but who never replied to me) does way more than I'm asking. The part relevant to what I am trying to do starts at 9:00. \*\*\* What I tried. I should first say that I know absolutely nothing about the subjects described in these articles: two m…