ACE Up the Sleeve: Hacking Into Apple's New USB-C Controller

skim AI Analysis | Black Hat

Black Hat's ACE Up the Sleeve: Hacking Into Apple's New USB-C Controller: skim's analysis identifies 9 key moments, with 1 potential conflict of interest flagged. Security researcher Thomas Roth details how he achieved code execution and dumped the internal ROM of Apple's undocumented ACE3 USB-C controller used in the iPhone 15 and M3 MacBooks.

Category: Tech. Format: Educational. YouTube video analyzed by skim.

Summary

Security researcher Thomas Roth details how he achieved code execution and dumped the internal ROM of Apple's undocumented ACE3 USB-C controller used in the iPhone 15 and M3 MacBooks. Using a HackRF for side-channel timing and a ChipSHOUTER for electromagnetic fault injection, he bypassed secure boot to inject a custom memory-read payload.

skim AI Analysis

Credibility assessment: Primary Hardware Research. Thomas Roth presents firsthand hardware security research backed by logic analyzer captures, radio frequency side-channel traces, disassembly screenshots, and open-source tools released for independent reproduction.

Bias assessment: Offensive Security Mindset. The presentation adopts the perspective of an offensive hardware researcher evaluating Apple's silicon defenses, maintaining an objective, technical focus on empirical failure modes and hardware behavior.

Originality: 96% — Novel Silicon Exploitation. Demonstrates the first public code execution and ROM extraction on Apple's undocumented ACE3 USB-C controller using low-cost software-defined radio side channels and electromagnetic fault injection.

Depth: 94% — Deep Hardware Reversing. Combines protocol analysis, ARM binary reverse engineering, radio-frequency signal processing, hardware triggering, and electromagnetic glitching into a complete end-to-end hardware exploitation methodology.

Key Points (9)

1. Thomas Roth on iPhone's Shift from Lightning

Timestamp: 00:01:06 to 00:02:46

Apple's proprietary Lightning connector previously exposed hidden hardware debugging interfaces like JTAG, UART, and SDQ, which could be accessed with open-source adapters like the Tamarin Cable. When Apple switched the iPhone 15 to USB-C, researchers had to investigate how those internal debugging capabilities migrated to the new connector.

Significance (Low): Sets the foundational motivation for auditing Apple's USB-C implementation to recover low-level hardware debugging on modern iPhones.

Sources in support: Thomas Roth (Founder, Hextree GmbH)

2. VDM Commands Unlock Hidden USB-C Debug Modes

Timestamp: 00:02:47 to 00:07:18

Apple's ACE USB-C port controllers handle power negotiation over configuration channel pins and respond to proprietary Vendor Defined Messages (VDMs). By sending specific VDM commands like 0x3006 via specialized hardware such as Tamarin-C, researchers can remap USB-C sideband pins into a serial console or JTAG probe for the main processor.

Significance (Medium): Demonstrates that Apple embeds undocumented diagnostic multiplexers inside its USB-C controllers, enabling external JTAG and serial access without opening the device.

Sources in support: Thomas Roth (Founder, Hextree GmbH)

3. ACE2 Architecture and Unverified Boot Flaw

Timestamp: 00:07:18 to 00:12:02

The older ACE2 controller is a custom Texas Instruments ARM microcontroller that communicates with the system-on-chip over I2C using four-character codes and loads ROM patches from an external SPI flash. Because ACE2 only verifies RSA-3072 signatures during updates rather than at boot, Thomas Roth discovered a root-level vulnerability that persistently compromises the chip across full system restores.

Significance (High): Exposes a design weakness in older MacBooks where lacking secure boot on peripheral controllers allows permanent, restore-resistant firmware implants.

Sources in support: Thomas Roth (Founder, Hextree GmbH)

4. Why Roth Targeted the M3 MacBook for ACE3

Timestamp: 00:12:02 to 00:14:50

Apple's new ACE3 controller in the iPhone 15 and M3 MacBooks is an undocumented Texas Instruments chip running a full USB stack with access to internal buses like SPMI and JTAG. Because the ACE3 enforces personalized cryptographic updates and blocks the previous ACE2 exploit, Roth chose to attack an M3 Max MacBook rather than an iPhone to avoid needing a prior jailbreak and to access physical board space.

Significance (Medium): Highlights how peripheral controllers with full USB stacks and internal bus access represent high-value targets for hiding persistent exploits.

Sources in support: Thomas Roth (Founder, Hextree GmbH)

5. Probing ACE3 Flash Reveals Per-Chip Signatures

Timestamp: 00:14:50 to 00:18:58

Upon opening the M3 MacBook, Roth found that the ACE3 debug ports were disabled, prompting him to dump the external SPI flash using needle probes without soldering. Comparing flash dumps across multiple ACE3 chips on the same board revealed distinct patch sets, high-entropy cryptographic blocks, and per-chip personalized secure boot that rejected transplanted or CRC-fixed firmware.

Significance (High): Confirms that Apple upgraded the ACE3 with per-chip cryptographic boot verification and disabled SWD debugging, neutralizing simple flash modification attacks.

Sources in support: Thomas Roth (Founder, Hextree GmbH)

6. Choosing Electromagnetic Fault Injection

Timestamp: 00:18:59 to 00:21:18

With software vulnerabilities and debug ports unavailable, Roth turned to hardware fault injection to skip instructions during boot verification. Because unknown pinouts and shared power rails made voltage glitching and capacitor removal impractical on the undocumented ACE3, he selected electromagnetic fault injection (EMFI) to induce localized currents using a high-voltage coil without modifying the board.

Significance (Medium): Explains why electromagnetic fault injection is superior to voltage glitching when attacking undocumented silicon on complex, multi-rail motherboards.

Sources in support: Thomas Roth (Founder, Hextree GmbH)

7. Roth Pinpoints Glitch Timing via HackRF Traces

Timestamp: 00:21:18 to 00:26:26

To determine the exact microsecond to fire the electromagnetic pulse without owning an expensive oscilloscope, Thomas Roth captured 48 to 50 MHz RF emissions from the ACE3 using a low-cost HackRF software-defined radio triggered by the SPI flash chip-select line. By comparing emission traces of valid firmware against dumps with one, two, or three valid CRCs, he isolated the exact time window where the cryptographic signature check occurred.

Significance (High): Provides a practical, low-cost methodology for black-box side-channel timing analysis using an SDR and differential CRC manipulation.

Sources in support: Thomas Roth (Founder, Hextree GmbH)

8. Bypassing ACE3 Secure Boot with ChipSHOUTER

Timestamp: 00:26:26 to 00:29:00

After a 330-volt ground fault destroyed his CNC positioning rig, Roth placed a large ChipSHOUTER probe directly over the ACE3 and used a ChipWhisperer Husky to trigger glitches at 1.6 attempts per second. Despite the MacBook losing its charging capability whenever the modified controller crashed, the automated glitch loop eventually bypassed the boot check and booted a modified firmware version string.

Significance (High): Proves that Apple's ACE3 secure boot verification is vulnerable to single-pulse electromagnetic fault injection.

Sources in support: Thomas Roth (Founder, Hextree GmbH)

9. Dumping the ACE3 ROM via Patched 4CC Handler

Timestamp: 00:29:02 to 00:33:13

To extract the internal ROM after achieving code execution, Roth located the 'USbw' four-character command handler inside the external flash patches by cross-referencing known ACE2 firmware structures. He replaced that handler with a compact arbitrary memory-read payload, glitched the chip into booting, and dumped the entire ACE3 ROM and RAM four bytes at a time before releasing his open-source research tools.

Significance (High): Completes the full compromise of the ACE3 controller, turning a blind boot glitch into arbitrary memory read and full ROM extraction.

Sources in support: Thomas Roth (Founder, Hextree GmbH)

Key Sources

  • Thomas Roth — Founder, Hextree GmbH

Potential Conflicts of Interest (1)

Hextree Hardware Training Promotion (Low severity)

Type: Commercial

Thomas Roth is the co-founder of Hextree GmbH, a commercial platform that teaches hardware hacking and security courses.

Significance: Showcasing successful hardware exploitation and open-source tooling at Black Hat builds brand authority that attracts customers to Hextree training.

This analysis was generated by skim (skim.plus), an AI-powered content analysis platform by Credible AI. Scores and classifications represent the platform's AI-generated assessment and should be considered alongside other sources.