Acquisition methods · Lesson 4 of 7
iOS full file system extraction and its limits
8 min read
A backup gives you what iOS chooses to back up. A full file system extraction gives you what iOS can read: app containers, system databases, logs and the keychain, which hold most of the evidence covered in Module 4. Getting there requires running code on the iPhone with more privileges than Apple allows, and every way of doing that depends on a vulnerability, the device's chip and the exact iOS build. This lesson explains what a full file system extraction contains, the three main routes to one, what each route needs and risks, and how the device state limits the result.
What "full file system" means on iOS
A full file system (FFS) extraction is a copy of the files on the device's data volume, decrypted, with their paths, sizes, permissions and timestamps, usually delivered as a TAR or ZIP archive. Typical contents include:
- App containers: /private/var/mobile/Containers/Data/Application/<UUID> for each app's private data, and /private/var/mobile/Containers/Shared/AppGroup/<UUID> for data shared between an app and its extensions.
- System databases: for example /private/var/mobile/Library/SMS/sms.db and /private/var/mobile/Media/PhotoData/Photos.sqlite.
- Logs and pattern-of-life data: unified logs in /private/var/db/diagnostics and the databases discussed in lessons 4.4 to 4.6.
- The keychain: /private/var/Keychains/keychain-2.db, which tools decrypt item by item by asking the device to unwrap each item's key.
Two limits apply to every FFS. First, decryption happens on the device through the Secure Enclave, so the extraction can only include files whose class keys are available at that moment (lesson 1.2). Second, an FFS is a copy of files, not an image of the storage: it contains no unallocated space, and deleted files survive only as traces inside databases, write-ahead logs and caches (lesson 3.2).
Device state decides the ceiling
| State | Class keys available | Typical result |
|---|---|---|
| Unlocked during extraction | A, B, C, D | Full FFS, keychain items of all classes the device can unwrap |
| AFU, locked | C, D (A discarded about 10 seconds after locking; closed class B files normally cannot be reopened) | Most app and system data; class A files, closed class B files and "when unlocked" keychain items missing |
| BFU | D only | Partial file system: some system files, little user data |
Some tools ask the user to keep the phone unlocked during extraction for this reason. A BFU extraction is still worth doing when nothing else is possible, because it can recover device information, some settings and data that apps deliberately stored without protection, but it will not recover messages or photos.
Route 1: the checkm8 Boot ROM exploit
The checkm8 vulnerability, published in 2019, is in the Boot ROM of Apple chips from the A5 to the A11, up to the iPhone 8, iPhone 8 Plus and iPhone X. Because Boot ROM code cannot be updated, Apple cannot patch it. An extraction tool puts the phone into DFU (Device Firmware Update) mode, a low-level mode in which the Boot ROM accepts software over USB, exploits the Boot ROM, and boots a small forensic environment from RAM instead of iOS. Free and commercial tools use this approach.
Its limits are significant:
- Only old devices. iOS 26 and iOS 27 support only the iPhone 11 and later (A13 and newer), so no iPhone running a current iOS version is affected. checkm8 matters for older iPhones, which still appear in casework.
- It requires a restart. Entering DFU mode means restarting the phone, which ends AFU. After the exploit, data beyond class D is reachable only if the passcode is known or can be found.
- Secure Enclave hardening on A11. Starting with iOS 16, the Secure Enclave on the iPhone 8, 8 Plus and X withholds keys needed to decrypt user data when the device boots this way. Published testing reports that extraction fails if a passcode was ever set on these models after initial setup, which in practice means most of them.
On A10 and older devices, checkm8 remains one of the most reliable and least invasive routes to an FFS: the installed iOS is not modified, and tools based on it can mount the data volume read-only.
Route 2: jailbreak-based extraction
A jailbreak is a public exploit chain that removes iOS restrictions so that the user can run unsigned code with root privileges. An examiner can install one and then copy the file system over an SSH or similar connection. Jailbreaks have serious drawbacks for evidence:
- They change the device. Installation adds files, modifies settings and may leave a bootstrap directory on the data volume. Some versions require repeated reinstallation after each restart.
- They can crash the phone. A kernel panic restarts the device into BFU.
- They lag behind iOS. At the time of writing (November 2026), the most recent public jailbreak, released in August 2026, supports iOS 26.0 and 26.0.1 only on A12 and A13 chips, which for iPhones means only the iPhone 11 family and the iPhone SE (2nd generation), and supports A14 and newer chips only up to iOS 17.3.1. No public jailbreak covers iOS 27 or later iOS 26 builds; researchers have demonstrated private iOS 27 jailbreaks without releasing them. Check the current support list before relying on any of this.
For these reasons, forensic practice treats jailbreaks as a last resort on supported devices, used only with a clear record of every change and after testing on a reference device of the same model and build.
Route 3: agent-based extraction
An extraction agent is a small app that a forensic tool installs on the iPhone. The agent is signed with an Apple developer certificate, so iOS lets it run. Once running, it uses a privilege-escalation exploit to leave the app sandbox, reads the file system and keychain, and streams them to the workstation. When it finishes, the tool removes the agent. Several commercial tools use this design.
Compared with a jailbreak, an agent changes less: it does not patch the system or install a persistent environment. It still has requirements and side effects:
- Pairing and an unlocked phone. The agent is usually installed over the pairing connection, so you need the passcode, a trust relationship and, with Stolen Device Protection away from familiar locations, possibly Face ID or Touch ID (lesson 2.3). Some vendors now offer installation over a network instead of USB pairing, but the phone must still be unlocked.
- Developer Mode. On iOS 16 and later, apps installed as development builds need Developer Mode. Turning it on restarts the phone and then asks for the passcode, so it ends the current AFU session; if the passcode is known, the phone can be unlocked again.
- Build-specific exploits. Support depends on an unpatched vulnerability in the exact iOS build. Record the build before planning, and keep the phone from updating.
- Traces. Installing and removing an app leaves records in system logs and databases. Document the agent's name, version, installation time and removal.
Commercial forensic vendors also sell systems that unlock or extract locked iPhones using undisclosed vulnerabilities, in BFU or AFU. Their capabilities change with each iOS release and are not public. Treat a vendor's support list as a claim to verify, and record the tool and version used.
Managing the risks
- Secure a low-risk result first. Take an encrypted backup (lesson 2.3) before an exploit runs, in case the phone restarts.
- Watch the clocks. An agent or jailbreak attempt that fails can cost the AFU state. Plan with the Inactivity Reboot deadline in mind (lesson 2.1).
- Stay isolated. Keep the phone shielded. If a method needs network access, use a controlled network that cannot reach the user's accounts, and record it.
- Test on a reference device. Run the same tool version on a test phone of the same model and iOS build before touching evidence, where one is available (lesson 7.1).
- Check the authority. Exploit-based methods go beyond what a backup does; make sure your authority or consent covers them.
Checking an FFS before analysis
After extraction, confirm that the archive is complete and readable before relying on it. Compare the file count and size with the tool's log, and spot-check paths you expect to exist for this iOS version, such as sms.db, Photos.sqlite and the app container of a key app. Check whether the keychain export is present. Look for files that are zero bytes or unreadable, which may indicate class A data that was locked during extraction. Note the iOS version and build from the extraction log and the device information you recorded. Then hash the archive (lesson 2.7) and analyze a working copy, for example with iLEAPP.
Applying this to the Corvane case
Lena's iPhone 14 has an A15 chip and runs a recent iOS 26 build, so checkm8 does not apply and no public jailbreak supports it. With the encrypted backup already secured on Day 9, the examiner checks whether the laboratory's tool supports an agent extraction for the exact build recorded from ideviceinfo. It does, so with Lena keeping the phone unlocked and the policy covering the method, the examiner runs the agent, logs its installation and removal times, and obtains an FFS. The FFS contains the full Photos library database, including records of items in Recently Deleted (lesson 6.2), and WhatsApp's ChatStorage.sqlite in its shared app group container, with its write-ahead log, where traces of the deleted messages may survive (lessons 3.2 and 5.5).
Exam focus: Know what an iOS FFS contains and why it is not a physical image, which class keys are available in each device state, and the three routes to code execution. Be able to explain checkm8's device range and why it does not apply to current iOS versions, why it requires a restart, and the requirements and traces of agent-based extraction.
Practice questions
Check your understanding. These questions do not count towards the exam.
Sign in to save your progress and continue where you left off. It is free. Sign in