The presentation describes how can we do Android Mobile forensics through custom recovery partitions. It explains that different forensics functionalities can be done on android phones through the custom recovery partition. Some of these functionalities are Logical/Physical data acquisition, PIN/Pattern/Passcode bypass, rooting, adb shell and many other functionalities. The presentation also illustrates how can we build our own custom recoveries.
7. Introduction To Android
Android partition layout
/system: mounted read-only system files
/data: user data and applications
/cache: partition used by the dalvik machine for
performance
/boot: the kernel of device
/recovery: minimal kernel + file system
/sdcard: removable sdcard
7
8. Custom Recoveries
What are Recoveries partition?
A mode on android devices that boots a minimal Linux
environment. (Similar to Safe-mode in Windows OS)
Why stock recoveries?
Update The Operating System
Backup and maintenance
8
10. Digital forensics
Digital forensics: is a branch of forensic science
encompassing the recovery and investigation of
material found in digital devices, often in relation to
computer crime.
Digital Forensics Process
10
Seizure Acquisition Analysis Reporting
11. Custom recoveries and
Forensics
What might be the relation between Custom Recoveries
and Forensics?
File system is not encrypted!
Boot-loaders!
Hypothesis: If we managed to develop a custom recovery
with forensics functionalities, we will be able to
forensically analyze mobile devices
What are the forensics functionalities?
11
12. Custom recoveries and
Forensics
Forensics Functionalities – Viaforensic!
Passphrase/pin/pattern bypass
Logical data acquisition
Physical data acquisition
Rooting
Adb Shell
12
13. Custom Recoveries
How to develop a Custom recovery?
1. Install Linux/Mac OsX to start building
2. Download Cyangonmod source code
3. Develop the forensics functions
4. Build your Custom Recovery
5. Flash it on the device if you have the correct device
configuration!!!
13
15. Custom Recoveries
Build Custom Recovery
Known devices in Cyangonmod source tree. (Samsung S3)
Let’s see the Build guide provided by Cyangonmod
website :)
15
16. Custom Recoveries
Build Custom Recoveries for new devices!
What is the needed information?
Partition info
BoardConfig
kernel
Information Gathering
1. Already built stock-ROMs
2. Pull from rooted devices
3. Mobiles are similar
How much possible you will get device configuration?
16
17. Custom Recoveries
Flashing your Custom Recovery
ODIN/Heimdall
Samsung devices
fastboot
Almost all other android devices
HBOOT
17
18. Testing
The technique have been tested with
Samsung Galaxy S2, S3, S4
Samsung Note I, Note II
Oppo N1
Theortically applicable with
90% of Samsung devices
Why Samsung is THAT bad?
It also possible with
Sony devices
Might work with
Nexus
HTC
18