iPhone forensics · 01 How it works

iPhone forensics: how analysis works

How iPhone forensic analysis works: per-file keys and protection classes, the Secure Enclave, BFU and AFU states, USB Restricted Mode, inactivity reboot, local and encrypted backups, iCloud and Advanced Data Protection, extraction types.

Protection classes

Every iPhone file is encrypted with its own key, in turn protected by a class key. The class decides when the file is readable: some data only with the phone unlocked, most after the first unlock since power-on, a few always. The keys are held by the Secure Enclave, which also limits attempts to guess the passcode.

SituationWhat it means for analysis
Before first unlock (BFU)Almost all user data is inaccessible
After first unlock (AFU)Much data remains readable even with the screen locked
USB Restricted ModeAfter an hour locked, accessories cannot exchange data
Inactivity rebootAfter 72 hours without unlocking the phone returns to BFU
Encrypted local backupContains more data than an unencrypted one, including passwords and health data
iCloudBackups and synchronised data; with Advanced Data Protection they are end-to-end encrypted

Extraction types

Logical extraction and backup obtain what the iPhone hands to an authorised computer; file system extraction recovers app databases and many system artefacts, but requires vulnerabilities or tools specific to the model and iOS version. For some older models there is a boot-code vulnerability, which cannot be fixed by updates, that forensic tools have exploited for years.

Continue with
02 Step-by-step procedure

iPhone forensics: procedure

The procedure for acquiring and analysing an iPhone: isolate from the network, document its state, keep it powered, act within the protections’ time limits, identify the model and version, choose the extraction, acquire backups and iCloud with authorisation, compute hashes, analyse and validate.

↑