Android forensics · 01 How it works

Android forensics: how analysis works

How Android forensic analysis works: file-based encryption, states before and after first unlock, logical, file system, full, physical and cloud extraction, differences between manufacturers, SQLite databases and the main artefacts.

Before and after first unlock

With file-based encryption, mandatory for new phones since Android 10, most user data is protected by keys that are released only by the owner’s passcode. A phone just switched on and never unlocked is in the BFU state (before first unlock): almost everything is unreadable. After the first unlock it enters the AFU state, and many keys stay in memory even when the screen locks again: that is why a phone that is on should be kept on.

Extraction typeWhat it obtainsLimits
LogicalData exposed by the system: contacts, calls, SMS, media, part of the appsUsually requires the phone unlocked; much is missing
BackupWhat the system or apps include in the backupMany apps exclude their own data
File systemApp folders with their databasesRequires unlocking techniques or vulnerabilities of the model
FullA complete copy of accessible storage, including recoverable deleted dataPossible only on some models and versions
Physical, from the chipDirect reading of the memoryWith modern encryption the key is still needed
CloudBackups, photos, email, documents in the accountRequires credentials or the provider’s cooperation

App databases

Almost all apps store their data in SQLite databases: messages, contacts, histories, settings. Forensic tools read and interpret them, but every app update can change their structure: the most important results should be checked by opening the database directly.

Continue with
02 Step-by-step procedure

Android forensics: procedure

The procedure for acquiring and analysing an Android smartphone: isolate from the network, document its state, keep it powered, do not try passcodes, choose the extraction, compute hashes, analyse, validate with a second tool, write the report.

The pages of this topic

Back to the overview
↑