Fully Untethered Rockbox for iPod Nano 5G
The author successfully adapted an existing font-based code execution vulnerability (CVE-2010-1797) to the iPod Nano 5G, enabling installation of Rockbox, an open-source music player. While direct exploitation was possible using prior techniques from later Nano models, those required manual selection of disk mode at each boot. The author’s breakthrough came from discovering that Apple’s firmware sets an optimization flag in the device’s authenticated private partition after the first successful boot verification, then skips redundant checks thereafter. By crafting a valid private record with this flag set, the exploit delivers code execution through the normal boot path without directory swapping or user intervention.
Implementing persistent code execution required developing new device support. The author adapted the emCORE bootloader framework to include a Nano 5G NAND driver and flash translation layer, enabling modification of the protected private partition. The exploit payload—a minimal bootloader embedded in the crafted font—occupies less than 28KB. Execution initially arrives in a corrupted state within the FreeType parser, so a brief assembly stub performs essential cleanup (disabling interrupts, establishing a clean stack, stopping inherited timers) before handing off to the main loader. The main loader then scans flash storage for Rockbox and executes it. Once installed, this configuration persists across reboots without requiring computer access or button sequences.
Read the full article
Continue reading at Hacker News →This is an AI-generated summary. Read the original for the full story.