Mobile Device Forensics: Cellular Systems, Acquisition Methodologies, and Operating System Analysis

Foundations of Cellular Networks and Mobile Architecture

  • Cellular Network Core Infrastructure:

    • Mobile Switching Center (MSC): Serves as the primary switching system for the cellular telecommunications network, routing voice calls, SMS messages, and data connections between mobile subscribers and the public switched telephone network (PSTN) or external data networks.
    • Base Transceiver Station (BTS): The physical network component containing radio transceivers, antennas, and signal processors responsible for direct radio communications between mobile handsets and the core network switching system.
    • Home Location Register (HLR): A central database maintained and queried by the MSC that contains authoritative subscriber data, profile information, current location details, and active service subscription entitlements.
  • Subscriber and Hardware Identification Mechanisms:

    • Subscriber Identity Module (SIM): An integrated circuit memory chip that stores network-specific subscriber credentials, including the International Mobile Subscriber Identity (IMSI) used to authenticate the device to the cellular carrier.
    • Electronic Serial Number (ESN): A unique identifier established by the U.S. Federal Communications Commission (FCC) to identify individual cellular mobile stations, originally utilized in analog (AMPS) and CDMA devices.
    • Personal Unlocking Code (PUK): A carrier-provided cryptographic security code required to unlock a SIM card when a user enters an incorrect Personal Identification Number (PIN) multiple times.
    • Integrated Circuit Card Identifier (ICCID): A globally unique 19-digit or 20-digit serial number engraved on and stored inside the SIM card. Its structure contains the country code, issuer identifier, individual account identification number, and an ending check digit.
    • 3rd-Generation Partnership Project (3GPP): A consortium of regional telecommunications standards organizations responsible for developing and managing mobile cellular system specifications, encompassing GSM, UMTS, LTE, and 5G standards.
  • Evolution of Cellular Generation Standards:

    • 2G (Second Generation): Introduced digital encryption and standard voice/text communication through the Global System for Mobile (GSM) communications.
    • 2G+: Evolutionary standard enhancing throughput capabilities via Enhanced Data Rates for GSM Evolution (EDGE).
    • 3G (Third Generation): Broadband mobile data standard implemented through the Universal Mobile Telecommunications System (UMTS).
    • 4G (Fourth Generation): High-speed, all-IP packet-switched architecture standardized under Long Term Evolution (LTE).
    • 5G (Fifth Generation): Modern cellular wireless systems delivering high frequency millimeter-wave spectrum, massive MIMO capacity, and ultra-low latency communication.
    • Wi-Fi Connectivity: IEEE 802.11 wireless networking functionality integrated into modern smartphones and mobile terminals, allowing alternative Internet data pathways.

Technical Standards and Hardware Specifications: NIST SP 800-101

  • NIST SP 800-101 Overview:

    • Published by the National Institute of Standards and Technology (NIST) as the definitive technical guideline for mobile device forensics.
    • Establishes baseline forensic procedures, preservation protocols, operational definitions, and physical hardware characterizations for handheld terminals.
  • Standardized SIM Card Form Factors and Dimensions:

    • Mini SIM (2FF):
      • Width: 25 mm25\,\text{mm}
      • Height: 15 mm15\,\text{mm}
      • Thickness: 0.76 mm0.76\,\text{mm}
      • Footprint: Roughly matches the dimensions of a postage stamp; historically the most widely deployed format globally.
    • Micro SIM (3FF):
      • Dimensions: 12 mm×15 mm×0.76 mm12\,\text{mm} \times 15\,\text{mm} \times 0.76\,\text{mm}
    • Nano SIM (4FF):
      • Dimensions: 8.8 mm×12.3 mm×0.67 mm8.8\,\text{mm} \times 12.3\,\text{mm} \times 0.67\,\text{mm}

Mobile Evidence Classification and Device States

  • Scope of Evidentiary Data on Mobile Devices:

    • Call logs and call history records.
    • Electronic communications: Emails, SMS, MMS, and instant messaging application records.
    • Multimedia evidence: User-captured photographs, saved images, and video recordings.
    • Hardware and subscriber metadata: IMEI, IMSI, ICCID, serial numbers, and OS configuration details.
    • Global Positioning System (GPS) information: Waypoints, geotagged multimedia metadata, cached location logs, and navigation histories.
    • Network information: Wi-Fi access point connection histories, Bluetooth pairing caches, and cellular tower handover logs.
  • Mobile Device Operating States:

    • Nascent State: The device is in a factory condition, awaiting configuration, or booting prior to loading user-space configurations.
    • Active State: The mobile device is powered on, fully functional, processing active tasks, and communicating across radio frequency channels or user interfaces.
    • Quiescent State: The device is dormant or idle (such as sleep mode), with display off but volatile RAM maintained and background cellular/network listening routines active.
    • Semi-Active State: The device exhibits partial functionality, executing specific background services or limited-power tasks without being fully active.

Scientific Working Group on Digital Evidence (SWGDE) Guidelines

  • The SWGDE Mobile Forensics Acquisition Hierarchy:
    • Manual Extraction: A non-invasive method requiring physical operation of the device's touchscreen or keypad while viewing the display to document visible data stored within internal memory through photographic or manual transcription.
    • Logical Extraction: A process using external software tools communicating via application programming interfaces (APIs) or communication protocols to extract specific structured segments of the active file system (e.g., call logs, SMS databases, media).
    • File System Extraction: A forensic extraction methodology providing direct, full access to the logical file hierarchy, hidden directories, system configurations, and application databases.
    • Physical Acquisition (Noninvasive): Bit-by-bit raw imaging of the mobile device flash memory without physically disassembling the external phone chassis (e.g., leveraging bootloader exploits or diagnostic test modes).
    • Physical Acquisition (Invasive): Direct extraction of raw physical memory requiring handset teardown and access to printed circuit board (PCB) test points, such as Joint Test Action Group (JTAG) boundary scans.
    • Chip-Off Analysis: An invasive extraction method requiring physical desoldering and removal of the integrated NAND/eMMC flash memory chip from the motherboard, followed by placement into a specialized chip reader to extract low-level binary data.
    • MicroRead: An ultra-invasive technique utilizing high-power electron or atomic force microscopy to observe the physical state of memory gates directly, used under extreme circumstances of hardware failure or physical destruction.

Mobile Evidence Seizure and Handling Protocols

  • Evidence Seizure Rules of Engagement:
    • Host Isolation: When connecting a seized mobile device to a forensic analysis workstation, ensure the workstation does not initiate automated file synchronization, iTunes sync, or cloud backups.
    • Minimal Interaction: Interact with the device as little as possible to prevent altering volatile RAM or generating updated log timestamps.
    • Comprehensive Documentation: Systematically document every operational interaction, cabling connection, observed power state, lock condition, and environmental parameter.
    • Write-Blocking and State Integrity: Prevent accidental write commands to the device's internal storage media by enforcing hardware or software write-blocking, engaging flight mode, or isolating the device inside a Faraday bag to block incoming remote wipe signals.

Apple iOS Architecture and Forensic Analysis

  • Operating System Characteristics:

    • Runs on Apple hardware platforms including iPhone, iPad, and iPod touch.
    • Derived directly from the core Darwin/OS X operating system architecture.
    • Implements a capacitive multi-touch gesture user interface.
    • Utilizes the Apple File System (APFS), an optimized 64-bit replacement for the legacy Hierarchical File System Plus (HFS+).
  • Data Partition Structure:

    • Houses user-specific dynamic data structures.
    • Stores Calendar entries, Contact records, and Note applications.
    • Houses hidden system folders including the iPod_control directory.
    • Stores Apple media application configuration profiles, communicating through the Apple Music app on macOS or iTunes on Windows.
  • User File System Directories:

    • Books: Electronic books and digital documentation.
    • CloudAssets: Cached iCloud dynamic assets.
    • DCIM: Digital Camera Images folder housing captured pictures and recordings.
    • Deferred: Staged update and background operation records.
    • Downloads: Files downloaded by the user.
    • general_storage: Shared app data storage.
    • iTunes_Control: Media and synchronization management directory.
    • LoFiCloudAssets: Low-fidelity cloud previews.
    • MediaAnalysis: Image categorization and biometric/scene analysis caches.
    • PhotoData: EXIF, metadata, and index databases for photos.
    • Photos: Photo library database and storage.
    • PublicStaging: Temporary transit storage.
    • Purchases: Records and data for purchased media.
    • Radio: Apple Music and streaming radio cache.
    • Recordings: Voice memos and audio captures.

User File System on an Apple iPhone 11

  • The sysinfo File Forensic Importance:

    • Located at path: iPod_control\device\sysinfo
    • Contains hardware identifiers:
      • Device Model Number
      • Unique Device Serial Number
  • iPhone Security and Passcode Analysis:

    • Modern iOS devices support six-digit numerical PIN codes, providing 10,00010,000 combinations when using 4-digit schemes, and expanding to 1,000,0001,000,000 theoretical combinations under six-digit numerical structures (10610^6).
    • Automated forensic hardware/software extraction packages (e.g., XRY) execute automated passcode bypass and hardware dictionary routines.
  • Workstation Extraction via iTunes / Apple Music:

    • When connecting an iPhone, iPad, or iPod to an iTunes-equipped workstation, critical forensic device parameters must be acquired and documented:
      • Exact iOS version number
      • Associated telephone number
      • Device hardware serial number
      • Backup state configurations (iCloud backup status vs. encrypted/unencrypted local computer backups)

Apple iPhone configuration and backup interface in iTunes

  • Critical iOS Artifact Databases and Property Lists:

    • Library_CallHistory_call_history.db: SQLite database storing comprehensive incoming, outgoing, and missed call logs.
    • Library_Cookies_Cookies.plist: Binary or XML property list recording web cookies, revealing browsing histories and web sessions.
    • Library_Preferences_com.apple.mobileipod.plist: Configuration settings for media playback.
    • Library_Preferences_com.apple.mobileemail.plist: Configuration and metadata regarding sent, received, and drafted emails.
    • Library_Preferences_com.apple.mobilevpn.plist: Network interface records indicating whether the user configured or established connections through a Virtual Private Network (VPN).
  • iOS Deleted File Handling:

    • When files are deleted on iOS devices (iPhone, iPad, iPod), they are relocated to the hidden directory: .Trashes\501
    • Residual deleted data persists in this storage space until storage management processes overwrite the orphaned blocks.

Android Operating System Architecture and File Systems

  • System Overview:

    • Open-source platform constructed upon a modified Linux kernel, initially released in 2003.
    • Historically designated by alphabetical dessert nomenclature, ending public naming conventions with Android 10, while retaining internal developmental dessert code names.
    • Maintains consistent core forensic partition architectures across distinct versions, permitting standard analytical workflows across release tiers.
  • Chronological Android Release History:

    • Version 1.5 Cupcake
    • Version 1.6 Donut
    • Version 2.0–2.1 Éclair
    • Version 2.2 Froyo
    • Version 2.3 Gingerbread
    • Version 3.1–3.2 Honeycomb
    • Version 4.0 Ice Cream Sandwich
    • Version 4.1–4.2 Jelly Bean
    • Version 4.3 KitKat
    • Version 5.0 Lollipop (released November 3, 2014)
    • Version 6.0 Marshmallow (released October 2015)
    • Version 7.0 Nougat (released August 2016)
    • Version 8.0 Oreo (released August 2017)
    • Version 9.0 Pie (released August 6, 2018)
    • Android 10 Quince Tart (released September 2019)
    • Android 11 Red Velvet Cake (released February 2020)
    • Android 12 Snow Cone (released October 2021)
    • Android 13 Tiramisu (released August 2022)
    • Android 14 Upside Down Cake (released October 2023)
    • Android 15 Vanilla Ice Cream (released June 2024)
  • Core Android Disk Partitions:

    • Boot Loader Partition: Houses firmware code responsible for initializing hardware, managing boot security checks, and launching either the recovery or main OS kernel.
    • Boot Partition: Contains the core Linux kernel image and the initramfs/ramdisk essential for mounting the basic root environment.
    • Recovery Partition: An alternate bootable environment utilized for maintenance, system upgrades, factory resets, and diagnostic console operations.
    • User Data Partition (/data): Houses user accounts, downloaded applications, SQLite databases, configurations, and private user files.
    • Cache Partition (/cache): Temporary high-speed storage where application execution data, update logs, and recovery packages are stored.
    • System Partition (/system): Read-only core operating system files, framework APIs, standard system binaries, and pre-installed factory applications.
  • Forensically Relevant Android Directories:

    • /acct: The Linux Control Group (cgroup) mount point, maintaining user accounting and process execution profiles.
    • /cache: Retains volatile temporary runtime caches and recovery update logs.
    • /data: The primary investigative repository containing subdirectories for every third-party application, chat history, and locally cached credential.
    • /mnt: Mount point indicating currently mounted local file systems, SD cards, and secondary external storage volumes.

Android Debug Bridge (ADB), Fastboot, and Rooting Mechanics

  • Android Debug Bridge (ADB) Architecture:

    • Client: Command-line program running on the investigator's workstation, sending commands.
    • Daemon (adbd): A background service executing directly on the target Android device that receives and performs operations on behalf of the client.
    • Server: A background service executing on the forensic workstation managing the TCP/USB communication bridge between the client and the device daemon.
  • ADB Inspection and Shell Environment:

    • Device discovery verified using command line: adb devices

Command line output showing attached device via adb devices

  • Interactive terminal execution initiated via: adb shell
  • Directory enumeration reveals core mount points including /acct, /data, /mnt, /system, /vendor, and SELinux context descriptors.

Interactive ADB shell directory listing on an Android device

  • Fastboot Interface and OEM Unlocking:
    • Bootloader diagnostics are accessed by dropping into bootloader mode: adb reboot bootloader
    • Extracting the cryptographic bootloader unlock hash: fastboot oem get_unlock_code

Command line terminal displaying fastboot oem unlock code generation

  • Evaluating bootloader security and unlocking status: fastboot oem device-info
  • The terminal output confirms whether the target hardware is modified or rooted (e.g., (bootloader) Device unlocked: true).

Fastboot output displaying OEM device information and bootloader unlock status

  • Automated Android Toolkits:
    • Android Tools (by Ravhi Rizaldi): Graphical user interface for executing push/pull commands, extracting serial numbers, side-loading packages, and interacting with device recovery partitions.

Graphical user interface of Android Tools by Ravhi Rizaldi

  • Tool All In One: Multi-functional management platform facilitating driver injection, OEM bootloader toggling, root flashing, recovery modifications, internal storage decryption, and full factory restoration.

Tool All In One utility interface for Android devices

Mobile Forensic Software Ecosystem and Database Analysis

  • Commercial and Dedicated Mobile Forensic Platforms:

    • Oxygen Forensics: Comprehensive forensic extraction suite capable of logical, file system, and cloud acquisition from mobile operating systems.
    • Cellebrite: Industry-standard acquisition and decoding software (UFED/Physical Analyzer) providing advanced bypass and physical extraction capabilities.
    • MobileEdit: Modular device investigation utility used for logical parsing of phonebook data, SMS, call records, and memory contents.
    • Data Doctor: Specialized data recovery suite targeting flash cards, damaged storage media, and deleted communication logs.
    • Device Seizure: Paraben Corporation forensic package engineered for logical and physical dumps of mobile devices and PDAs.
    • Forensic SIM Cloner: Hardware and software system enabling forensic cloning of SIM identification profiles to prevent network registration during physical testing.
    • XRY: MSAB forensic system specializing in logical/physical acquisition and automated PIN/passcode recovery.
  • Specialized Apple iOS Investigative Utilities:

    • Pwnage: Legacy jailbreaking environment utilized to flash customized firmware and obtain root file system permissions on early iOS devices.
    • Recover My iPod: Target-specific recovery utility engineered to retrieve lost, corrupted, or deleted media and configuration files from Apple iPod devices.
    • APowerSoft: Mobile management and extraction utility for accessing stored device multimedia.
    • iMyPhone: Utility suite focusing on iOS file system recovery, data repair, and backup file parsing.
    • iPhone Analyzer: Targeted forensic utility providing in-depth analysis of iOS file system backups and database records.
  • SQLite Database Forensic Examination:

    • Mobile operating systems (iOS and Android) rely heavily on SQLite databases (.db, .sqlite, .sqlite3) to store user communications, application caches, browser records, and system states.
    • DB Browser for SQLite: Open-source GUI tool designed to parse database tables, write SQL queries, examine schemas, inspect cell payloads, and recover deleted records from unallocated space within SQLite databases.

Main interface of DB Browser for SQLite showing database structure and cell editor