ipod_sun

From freemyipod.org
Revision as of 06:33, 4 August 2024 by 760ceb3b9c0ba4872cadf3ce35a7a494 (talk | contribs) (ipod_sun page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

ipod_sun is a tool that builds a modified firmware image enabling code execution on the iPod nano 6th and 7th generation. It works by replacing a font file in the rsrc partition of the firmware image with a malformed OTF font exploiting CVE-2010-1797[1].

Usage

Once the firmware is booted on the device, usually via the osos/disk swapping bug, the following additional SCSI commands are added:

  • C6 96 01 __ __ __ __ - write data to memory
  • C6 96 02 __ __ __ __ - read data from memory
  • C6 96 03 __ __ __ __ - call a certain address in memory

The underscores represent the 4-byte memory address.

C6, the operation code for these commands, is used for proprietary Apple SCSI commands and exists in unmodified firmware. Only these instructions are part of ipod_sun.