Mobile Forensics Fundamentals
Evidence handling on mobile devices.
Mobile Forensics Fundamentals is a free Cyber Security Academy lesson on CoddyKit — lesson 1 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the Cyber Security Academy learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.
What Is Mobile Forensics?
Mobile forensics is the discipline of recovering digital evidence from smartphones, tablets, and wearables in a forensically sound manner. Unlike disk forensics, mobile devices are always-on, constantly syncing, and tightly encrypted.
- Evidence lives in flash storage (NAND), RAM, SIM, and cloud backups.
- Devices are locked, encrypted, and remotely wipeable by default.
- Goal: extract data without altering it, then prove integrity in court.
Practitioners must balance technical extraction with strict legal authorization (warrant, consent, or corporate policy).
Order of Volatility
Capture the most volatile data first, because it disappears fastest. Mobile devices add unique volatile sources.
- RAM / running processes — lost on power-off.
- Network state, cellular connections — change constantly.
- Unsynced app data — may be overwritten.
- Persistent flash storage — least volatile.
A live device may auto-delete messages, rotate logs, or receive a remote wipe. Acting quickly on volatile sources preserves otherwise-lost evidence.
Isolation: Stopping Remote Wipe
The first physical action is radio isolation. A device connected to cellular or Wi-Fi can be remotely locked or wiped before you image it.
- Use a Faraday bag or shielded enclosure to block all RF.
- If isolation is impossible, enable Airplane Mode (documenting every tap).
- Never power off a phone you have not assessed — boot may trigger encryption-at-rest you cannot bypass later.
Keep the device charged inside the bag; a dead battery can force a cold-boot state that loses RAM evidence.
Chain of Custody
Evidence is only useful if its handling is documented and unbroken. Chain of custody records who touched the device, when, and why.
- Record seizure time, location, device state (on/off, locked/unlocked).
- Log every transfer with signatures and timestamps.
- Photograph the screen, IMEI, and any visible damage.
Record identifiers before extraction. Example fields to capture during intake:
Device : Samsung Galaxy S22 (SM-S901B)
IMEI : 35-209900-176148-1
State : Powered ON, screen locked (PIN)
Seized : 2026-06-04 14:22 UTC by Analyst J. Doe
Stored : Faraday bag #FB-007, evidence locker E3Acquisition Methods Overview
There is a spectrum of extraction depth, each with tradeoffs in completeness vs. intrusiveness.
- Manual — analyst scrolls the live UI, photographs screens. Fast, no tooling, but alters state.
- Logical — pulls files/databases via device APIs (backup, ADB, AFC). Misses deleted data.
- File system — full directory tree including app sandboxes and SQLite WAL files.
- Physical — bit-for-bit image of NAND, including unallocated/deleted space. Most complete, hardest to obtain on modern encrypted devices.
Choose the least intrusive method that satisfies the investigation.
Hashing and Integrity
To prove an image was not modified, compute a cryptographic hash at acquisition and re-verify before analysis.
- Use SHA-256 (MD5 is acceptable only for legacy cross-checks).
- Hash must match across every copy and at every handoff.
- Always analyze a working copy, never the original.
Generate and verify a hash of an extracted image:
# Hash the acquired image immediately
sha256sum galaxy_s22_fullfs.img > galaxy_s22_fullfs.sha256
# Later, verify integrity before analysis
sha256sum -c galaxy_s22_fullfs.sha256
# galaxy_s22_fullfs.img: OKEncryption: The Core Challenge
Modern phones encrypt storage by default, making physical images useless without keys.
- Android File-Based Encryption (FBE) derives keys from the user credential + hardware-backed keystore.
- iOS Data Protection ties file keys to the passcode and Secure Enclave.
- A device in BFU (Before First Unlock) state has most keys evicted; AFU (After First Unlock) keeps many keys in memory.
Whenever lawful and possible, acquire while the device is in the AFU state — far more data is decryptable.
BFU vs AFU State
Understanding lock states determines what you can recover.
- BFU (Before First Unlock): device booted but never unlocked since power-on. Almost everything encrypted; only minimal metadata accessible.
- AFU (After First Unlock): user unlocked at least once. File keys are resident in RAM, so logical and file-system extractions yield rich data even if currently locked.
Practical rule: keep a seized device powered and do not reboot it. A reboot drops it back to BFU and may lose access to the passcode-protected keys.
SIM and Cloud Evidence
The handset is not the only data source. Two adjacent reservoirs are often decisive.
- SIM card: ICCID, IMSI, stored contacts, and sometimes SMS. Read with a dedicated SIM reader to avoid touching the phone.
- Cloud backups: iCloud, Google, and app-specific backups (WhatsApp, Signal). Often contain data deleted from the device.
Cloud acquisition requires separate legal authority (warrant/subpoena) and proper credentials — never access an account you are not authorized to.
Tooling Landscape
Practitioners combine commercial suites with open-source tools for cross-validation.
- Commercial: Cellebrite UFED, Magnet AXIOM, MSAB XRY — broad device support, automated parsing.
- Open source: Android Debug Bridge (ADB), libimobiledevice, ALEAPP/iLEAPP, autopsy.
A logical pull on a debug-enabled Android device might start with ADB:
# Confirm the device and authorize debugging
adb devices -l
# Pull a logical app database (with proper authorization)
adb pull /data/data/com.android.providers.contacts/databases/contacts2.db ./evidence/Documentation and Reporting
Every action must be reproducible by a third party. Contemporaneous notes turn raw extractions into admissible evidence.
- Record tool name, version, and exact commands used.
- Note timestamps in UTC and any deviations from procedure.
- Distinguish facts (what the data shows) from interpretation.
If you cannot explain how a piece of data arrived in your report, it should not be in the report.
Quick Check
A seized Android phone arrives powered on and unlocked once earlier in the day, now showing a lock screen. Why should you avoid rebooting it?
Recap: Mobile Forensics Fundamentals
You now have the core mental model for sound mobile forensics.
- Isolate the device (Faraday bag) to prevent remote wipe.
- Respect order of volatility and avoid rebooting AFU devices.
- Maintain an unbroken chain of custody and hash every image with SHA-256.
- Pick the least intrusive acquisition that meets the case need.
- Encryption (FBE / Data Protection) and BFU vs AFU state govern what is recoverable.
- Document tools, versions, commands, and UTC timestamps for reproducibility.
Next: hands-on Android acquisition and analysis.
Frequently asked questions
Is the “Mobile Forensics Fundamentals” lesson free?
Yes — the full text of “Mobile Forensics Fundamentals” is free to read here on the web, and the Cyber Security Academy course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the Cyber Security Academy course, upgrade to CoddyKit PRO.
What will I learn in “Mobile Forensics Fundamentals”?
Evidence handling on mobile devices. You practise Cyber Security Academy with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.
Do I need any experience to start Cyber Security Academy?
No prior experience is required. Cyber Security Academy on CoddyKit is structured for beginners through advanced learners; this is — lesson 1 of 4, so you can start here or from the beginning and move at your own pace.
How long does the “Mobile Forensics Fundamentals” lesson take?
Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.
Can I write and run code in this Cyber Security Academy lesson?
Yes. Every Cyber Security Academy lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.
All lessons in this course
- Mobile Forensics Fundamentals
- Android Acquisition and Analysis
- iOS Acquisition and Analysis
- Apps, Artifacts and Reporting