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.
| Situation | What 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 Mode | After an hour locked, accessories cannot exchange data |
| Inactivity reboot | After 72 hours without unlocking the phone returns to BFU |
| Encrypted local backup | Contains more data than an unencrypted one, including passwords and health data |
| iCloud | Backups 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.
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.
The pages of this topic
Back to the overviewiPhone forensics: tools
The tools for iPhone forensic analysis: commercial extraction platforms, GrayKey, specialised toolkits, iLEAPP, libimobiledevice, MVT for spyware detection, database and plist readers, iCloud acquisition.
iPhone forensics: mistakes to avoid
The most common mistakes in analysing an iPhone: leaving it online, switching it off or letting it run flat, wasting time, trying passcodes, using the owner’s Face ID without legal basis, forgetting iCloud and other devices, ignoring the backup password, trusting a single tool.
iPhone forensics: value in court
The rules on examining an iPhone under Italian and EU law: messages as correspondence, the Court of Justice ruling on data access, the bill on device seizure, passcodes and biometrics, iCloud data held by foreign providers, preservation of original data, chats in civil proceedings.
iPhone forensics: a case
A guided case: in a proceeding for threats, messages deleted from an iPhone are found in the Recently Deleted folder, in the app’s database and on the recipient’s phone.
iPhone forensics: checklist
The checklist for the forensic acquisition and analysis of an iPhone: seizure and timing, identification, extraction and linked sources, validated analysis and limits.
iPhone forensics: frequently asked questions
Short answers to the most common questions about iPhone forensic analysis.