Bootchain

From The iPhone Wiki
Revision as of 09:49, 30 September 2013 by Britta (talk | contribs) (adding introductory summary for context)
Jump to: navigation, search

The bootchain (or secure boot chain) is the system by which Apple tries to ensure that only signed/trusted code is loaded on an iOS device.

The initial code (bootrom) is contained within the processor and cannot be changed. It decrypts the next stage and verifies integrity before it executes any code of the next stage. This continues for all stages until the execution of the kernel and applications. The integrity verification uses the keys on the device. To sign such code, you need the corresponding private key that only Apple holds. This way Apple has total control of any code that runs on your device. The idea of jailbreaking is to break this chain somewhere so that you can run any application or customize some firmware changes (unlock for example).

Application Processor

Baseband