[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AA43KDKVXHEP6WHDR96V75":3,"skill-same:01M7AA43KDKVXHEP6WHDR96V75":83},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":14,"repositoryHtmlUrl":49,"repositoryHomepageUrl":6,"ownerHtmlUrl":50,"ownerBlogUrl":6,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M7AA43KDKVXHEP6WHDR96V75","performing-mobile-device-forensics-with-cellebrite",null,"Acquire and analyze mobile device data using Cellebrite UFED Touch\u002F4PC, UFED Physical Analyzer, and open-source alternatives (ALEAPP, iLEAPP, MEAT, libimobiledevice) to extract communications, call logs, location data, and application artifacts. Use when extracting or recovering deleted evidence from smartphones or tablets during criminal, corporate, or employee-misuse investigations.","NeelakshSaxena\u002FVayu","NeelakshSaxena","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F87892838?v=4","01M7A3B9YFS6F6N9DD1787DT86","Neelaksh Saxena","01M7A3B9ZKBT09MNMPX2XN69BY",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fperforming-mobile-device-forensics-with-cellebrite\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fperforming-mobile-device-forensics-with-cellebrite\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: performing-mobile-device-forensics-with-cellebrite\ndescription: Acquire and analyze mobile device data using Cellebrite UFED Touch\u002F4PC, UFED Physical Analyzer, and open-source alternatives (ALEAPP, iLEAPP, MEAT, libimobiledevice) to extract communications, call logs, location data, and application artifacts. Use when extracting or recovering deleted evidence from smartphones or tablets during criminal, corporate, or employee-misuse investigations.\ndomain: cybersecurity\nsubdomain: digital-forensics\ntags:\n- forensics\n- mobile-forensics\n- cellebrite\n- smartphone-analysis\n- ios-forensics\n- android-forensics\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- RS.AN-03\n- DE.AE-02\n- RS.MA-01\nmitre_attack:\n- T1005\n- T1074\n- T1119\n- T1070\n- T1059\n---\n\n# Performing Mobile Device Forensics with Cellebrite\n\n## When to Use\n- When extracting evidence from smartphones or tablets during an investigation\n- For recovering deleted messages, call logs, and location data from mobile devices\n- During investigations involving communications via messaging apps\n- When analyzing mobile application data for evidence of criminal activity\n- For corporate investigations involving employee mobile device misuse\n\n## Prerequisites\n- Cellebrite UFED Touch\u002F4PC or UFED Physical Analyzer (licensed)\n- Alternative open-source tools: ALEAPP, iLEAPP, MEAT, libimobiledevice\n- Appropriate cables and adapters for target device\n- Faraday bag to isolate the device from network signals\n- Legal authorization (warrant, consent, or corporate policy)\n- Knowledge of iOS and Android file system structures\n\n## Workflow\n\n### Step 1: Prepare the Device and Isolation\n\n```bash\n# CRITICAL: Immediately place device in airplane mode or Faraday bag\n# This prevents remote wipe commands and additional data changes\n\n# Document device state before acquisition\n# Record: make, model, IMEI, serial number, OS version, screen lock status\n# Photograph the device from all angles\n\n# For Android - Enable USB debugging if accessible\n# Settings > Developer Options > USB Debugging > Enable\n\n# For iOS - Trust the forensic workstation\n# When prompted on device, tap \"Trust This Computer\"\n\n# If device is locked, document lock type (PIN, pattern, biometric)\n# Cellebrite UFED can bypass certain lock types depending on device model\n\n# Install open-source tools as alternatives\npip install aleapp    # Android Logs Events And Protobuf Parser\npip install ileapp    # iOS Logs Events And Properties Parser\nsudo apt-get install libimobiledevice-utils  # iOS acquisition on Linux\n```\n\n### Step 2: Perform Device Acquisition\n\n```bash\n# === Cellebrite UFED Acquisition ===\n# 1. Launch UFED 4PC or connect UFED Touch\n# 2. Select Device > Identify device model automatically\n# 3. Choose extraction type:\n#    - Logical: App data, contacts, messages, call logs (fastest, least data)\n#    - File System: Full file system access including databases\n#    - Physical: Bit-for-bit image including deleted data (most complete)\n#    - Advanced (Checkm8\u002FGrayKey): For locked iOS devices (specific models)\n# 4. Select output format and destination\n# 5. Begin extraction\n\n# === Open-source iOS acquisition with libimobiledevice ===\n# List connected iOS devices\nidevice_id -l\n\n# Get device information\nideviceinfo -u \u003CUDID>\n\n# Create iOS backup (logical acquisition)\nidevicebackup2 backup --full \u002Fcases\u002Fcase-2024-001\u002Fmobile\u002Fios_backup\u002F\n\n# For encrypted backups (contains more data including passwords)\nidevicebackup2 backup --full --password \u002Fcases\u002Fcase-2024-001\u002Fmobile\u002Fios_backup\u002F\n\n# === Android acquisition with ADB ===\n# List connected devices\nadb devices\n\n# Full backup (requires screen unlock)\nadb backup -apk -shared -all -f \u002Fcases\u002Fcase-2024-001\u002Fmobile\u002Fandroid_backup.ab\n\n# Extract specific app data\nadb shell pm list packages | grep -i \"whatsapp\\|telegram\\|signal\"\nadb pull \u002Fdata\u002Fdata\u002Fcom.whatsapp\u002F \u002Fcases\u002Fcase-2024-001\u002Fmobile\u002Fwhatsapp\u002F\n\n# For rooted Android devices - full filesystem\nadb shell \"su -c 'dd if=\u002Fdev\u002Fblock\u002Fmmcblk0 bs=4096'\" | \\\n   dd of=\u002Fcases\u002Fcase-2024-001\u002Fmobile\u002Fandroid_physical.dd\n\n# Hash the acquisition\nsha256sum \u002Fcases\u002Fcase-2024-001\u002Fmobile\u002F*.dd > \u002Fcases\u002Fcase-2024-001\u002Fmobile\u002Facquisition_hashes.txt\n```\n\n### Step 3: Analyze with ALEAPP (Android) or iLEAPP (iOS)\n\n```bash\n# === Android analysis with ALEAPP ===\n# ALEAPP processes Android file system extractions\npython3 -m aleapp \\\n   -t fs \\\n   -i \u002Fcases\u002Fcase-2024-001\u002Fmobile\u002Fandroid_extraction\u002F \\\n   -o \u002Fcases\u002Fcase-2024-001\u002Fanalysis\u002Faleapp_report\u002F\n\n# ALEAPP extracts and reports on:\n# - Call logs, SMS\u002FMMS messages\n# - Chrome browser history and searches\n# - WiFi connection history\n# - Installed applications\n# - Google account activity\n# - Location data (Google Maps, Photos)\n# - WhatsApp, Telegram, Signal messages\n# - App usage statistics\n# - Device settings and accounts\n\n# === iOS analysis with iLEAPP ===\npython3 -m ileapp \\\n   -t tar \\\n   -i \u002Fcases\u002Fcase-2024-001\u002Fmobile\u002Fios_backup.tar \\\n   -o \u002Fcases\u002Fcase-2024-001\u002Fanalysis\u002Fileapp_report\u002F\n\n# iLEAPP extracts and reports on:\n# - iMessage and SMS messages\n# - Safari browsing history\n# - WiFi and Bluetooth connections\n# - Health data and location history\n# - App usage (KnowledgeC)\n# - Photos with EXIF\u002FGPS data\n# - Notes, Calendar, Reminders\n# - Keychain data (if decryptable)\n# - Screen time data\n```\n\n### Step 4: Extract Communications and Messaging Data\n\n```bash\n# Extract WhatsApp messages from Android\npython3 \u003C\u003C 'PYEOF'\nimport sqlite3\nimport os\n\n# WhatsApp database location\ndb_path = \"\u002Fcases\u002Fcase-2024-001\u002Fmobile\u002Fandroid_extraction\u002Fdata\u002Fdata\u002Fcom.whatsapp\u002Fdatabases\u002Fmsgstore.db\"\n\nif os.path.exists(db_path):\n    conn = sqlite3.connect(db_path)\n    cursor = conn.cursor()\n\n    # Extract messages\n    cursor.execute(\"\"\"\n        SELECT\n            key_remote_jid AS contact,\n            CASE WHEN key_from_me = 1 THEN 'SENT' ELSE 'RECEIVED' END AS direction,\n            data AS message_text,\n            datetime(timestamp\u002F1000, 'unixepoch') AS msg_time,\n            media_mime_type,\n            media_size\n        FROM messages\n        WHERE data IS NOT NULL\n        ORDER BY timestamp DESC\n        LIMIT 1000\n    \"\"\")\n\n    with open('\u002Fcases\u002Fcase-2024-001\u002Fanalysis\u002Fwhatsapp_messages.csv', 'w') as f:\n        f.write(\"contact,direction,message,timestamp,media_type,media_size\\n\")\n        for row in cursor.fetchall():\n            f.write(','.join(str(x) for x in row) + '\\n')\n\n    conn.close()\n    print(\"WhatsApp messages extracted successfully\")\nPYEOF\n\n# Extract iOS iMessage\u002FSMS from sms.db\npython3 \u003C\u003C 'PYEOF'\nimport sqlite3\n\ndb_path = \"\u002Fcases\u002Fcase-2024-001\u002Fmobile\u002Fios_extraction\u002FHomeDomain\u002FLibrary\u002FSMS\u002Fsms.db\"\n\nconn = sqlite3.connect(db_path)\ncursor = conn.cursor()\n\ncursor.execute(\"\"\"\n    SELECT\n        h.id AS phone_number,\n        CASE WHEN m.is_from_me = 1 THEN 'SENT' ELSE 'RECEIVED' END AS direction,\n        m.text,\n        datetime(m.date\u002F1000000000 + 978307200, 'unixepoch') AS msg_time,\n        m.service\n    FROM message m\n    JOIN handle h ON m.handle_id = h.ROWID\n    ORDER BY m.date DESC\n\"\"\")\n\nwith open('\u002Fcases\u002Fcase-2024-001\u002Fanalysis\u002Fimessage_sms.csv', 'w') as f:\n    f.write(\"phone,direction,text,timestamp,service\\n\")\n    for row in cursor.fetchall():\n        f.write(','.join(str(x) for x in row) + '\\n')\n\nconn.close()\nPYEOF\n```\n\n### Step 5: Extract Location Data and Generate Report\n\n```bash\n# Extract GPS data from photos\npip install pillow\npython3 \u003C\u003C 'PYEOF'\nfrom PIL import Image\nfrom PIL.ExifTags import TAGS, GPSTAGS\nimport os, json\n\ndef get_gps(exif_data):\n    gps_info = {}\n    for key, val in exif_data.items():\n        decoded = GPSTAGS.get(key, key)\n        gps_info[decoded] = val\n\n    if 'GPSLatitude' in gps_info and 'GPSLongitude' in gps_info:\n        lat = gps_info['GPSLatitude']\n        lon = gps_info['GPSLongitude']\n        lat_val = lat[0] + lat[1]\u002F60 + lat[2]\u002F3600\n        lon_val = lon[0] + lon[1]\u002F60 + lon[2]\u002F3600\n        if gps_info.get('GPSLatitudeRef') == 'S': lat_val = -lat_val\n        if gps_info.get('GPSLongitudeRef') == 'W': lon_val = -lon_val\n        return lat_val, lon_val\n    return None\n\nlocations = []\nphoto_dir = \"\u002Fcases\u002Fcase-2024-001\u002Fmobile\u002Fios_extraction\u002FCameraRollDomain\u002FMedia\u002FDCIM\u002F\"\nfor root, dirs, files in os.walk(photo_dir):\n    for fname in files:\n        if fname.lower().endswith(('.jpg', '.jpeg', '.heic')):\n            try:\n                img = Image.open(os.path.join(root, fname))\n                exif = img._getexif()\n                if exif and 34853 in exif:\n                    coords = get_gps(exif[34853])\n                    if coords:\n                        locations.append({'file': fname, 'lat': coords[0], 'lon': coords[1]})\n            except Exception:\n                pass\n\nwith open('\u002Fcases\u002Fcase-2024-001\u002Fanalysis\u002Fphoto_locations.json', 'w') as f:\n    json.dump(locations, f, indent=2)\nprint(f\"Found {len(locations)} geotagged photos\")\nPYEOF\n\n# Extract location history from Google Location History (Android)\n# File: \u002Fdata\u002Fdata\u002Fcom.google.android.gms\u002Fdatabases\u002Flbs.db\n# or exported Google Takeout location data\n```\n\n## Key Concepts\n\n| Concept | Description |\n|---------|-------------|\n| Logical extraction | Extracts accessible user data through device APIs (contacts, messages, photos) |\n| File system extraction | Full access to the device file system including app databases |\n| Physical extraction | Bit-for-bit copy of device storage including deleted and unallocated data |\n| UFED | Universal Forensic Extraction Device - Cellebrite's flagship acquisition platform |\n| ADB | Android Debug Bridge for communicating with Android devices |\n| KnowledgeC | iOS database tracking detailed app and device usage patterns |\n| SQLite databases | Primary storage format for mobile app data (messages, contacts, history) |\n| Checkm8 | Hardware-based iOS exploit enabling extraction on A5-A11 devices |\n\n## Tools & Systems\n\n| Tool | Purpose |\n|------|---------|\n| Cellebrite UFED | Commercial mobile device acquisition and analysis platform |\n| Cellebrite Physical Analyzer | Deep analysis of mobile device extractions |\n| ALEAPP | Open-source Android artifact parser and report generator |\n| iLEAPP | Open-source iOS artifact parser and report generator |\n| libimobiledevice | Open-source iOS communication library |\n| Magnet AXIOM | Commercial mobile and computer forensics platform |\n| MEAT | Mobile Evidence Acquisition Toolkit |\n| ADB | Android Debug Bridge for device interaction and data extraction |\n\n## Common Scenarios\n\n**Scenario 1: Criminal Communications Investigation**\nAcquire device with UFED physical extraction, decrypt messaging databases, extract WhatsApp\u002FTelegram\u002FSignal conversations, recover deleted messages from WAL files, build communication timeline, export for legal proceedings.\n\n**Scenario 2: Employee Data Theft via Personal Phone**\nPerform logical extraction with employee consent, analyze corporate email and cloud storage app data, check for screenshots of confidential documents, review file transfer app activity, examine browser history for cloud uploads.\n\n**Scenario 3: Missing Person Location Tracking**\nExtract location data from Google Location History, parse GPS data from photos, analyze WiFi connection history for last known locations, check fitness app data for movement patterns, examine messaging apps for last communications.\n\n**Scenario 4: Child Exploitation Investigation**\nPhysical extraction preserving all data including deleted content, hash all images against NCMEC\u002FICSE databases, extract communication records, recover deleted media from unallocated space, document chain of custody meticulously for prosecution.\n\n## Output Format\n\n```\nMobile Forensics Summary:\n  Device: Samsung Galaxy S23 Ultra (SM-S918B)\n  OS: Android 14, One UI 6.0\n  IMEI: 353456789012345\n  Extraction: Physical (via Cellebrite UFED)\n  Duration: 45 minutes\n\n  Extracted Data:\n    Contacts:       1,234\n    Call Logs:       5,678\n    SMS\u002FMMS:         3,456\n    WhatsApp Msgs:   12,345 (234 deleted, recovered)\n    Telegram Msgs:   2,345\n    Photos\u002FVideos:   4,567 (345 geotagged)\n    Browser History: 2,345 URLs\n    WiFi Networks:   67 saved connections\n    Installed Apps:  145\n\n  Key Findings:\n    - Deleted WhatsApp conversation with suspect recovered\n    - 23 geotagged photos at crime scene location\n    - Browser searches related to investigation subject\n    - Signal app used during incident timeframe (encrypted, partial recovery)\n\n  Reports:\n    ALEAPP Report:   \u002Fanalysis\u002Faleapp_report\u002Findex.html\n    Messages Export: \u002Fanalysis\u002Fwhatsapp_messages.csv\n    Locations:       \u002Fanalysis\u002Fphoto_locations.json\n```\n","# Performing Mobile Device Forensics with Cellebrite\n\n## When to Use\n- When extracting evidence from smartphones or tablets during an investigation\n- For recovering deleted messages, call logs, and location data from mobile devices\n- During investigations involving communications via messaging apps\n- When analyzing mobile application data for evidence of criminal activity\n- For corporate investigations involving employee mobile device misuse\n\n## Prerequisites\n- Cellebrite UFED Touch\u002F4PC or UFED Physical Analyzer (licensed)\n- Alternative open-source tools: ALEAPP, iLEAPP, MEAT, libimobiledevice\n- Appropriate cables and adapters for target device\n- Faraday bag to isolate the device from network signals\n- Legal authorization (warrant, consent, or corporate policy)\n- Knowledge of iOS and Android file system structures\n\n## Workflow\n\n### Step 1: Prepare the Device and Isolation\n\n```bash\n# CRITICAL: Immediately place device in airplane mode or Faraday bag\n# This prevents remote wipe commands and additional data changes\n\n# Document device state before acquisition\n# Record: make, model, IMEI, serial number, OS version, screen lock status\n# Photograph the device from all angles\n\n# For Android - Enable USB debugging if accessible\n# Settings > Developer Options > USB Debugging > Enable\n\n# For iOS - Trust the forensic workstation\n# When prompted on device, tap \"Trust This Computer\"\n\n# If device is locked, document lock type (PIN, pattern, biometric)\n# Cellebrite UFED can bypass certain lock types depending on device model\n\n# Install open-source tools as alternatives\npip install aleapp    # Android Logs Events And Protobuf Parser\npip install ileapp    # iOS Logs Events And Properties Parser\nsudo apt-get install libimobiledevice-utils  # iOS acquisition on Linux\n```\n\n### Step 2: Perform Device Acquisition\n\n```bash\n# === Cellebrite UFED Acquisition ===\n# 1. Launch UFED 4PC or connect UFED Touch\n# 2. Select Device > Identify device model automatically\n# 3. Choose extraction type:\n#    - Logical: App data, contacts, messages, call logs (fastest, least data)\n#    - File System: Full file system access including databases\n#    - Physical: Bit-for-bit image including deleted data (most complete)\n#    - Advanced (Checkm8\u002FGrayKey): For locked iOS devices (specific models)\n# 4. Select output format and destination\n# 5. Begin extraction\n\n# === Open-source iOS acquisition with libimobiledevice ===\n# List connected iOS devices\nidevice_id -l\n\n# Get device information\nideviceinfo -u \u003CUDID>\n\n# Create iOS backup (logical acquisition)\nidevicebackup2 backup --full \u002Fcases\u002Fcase-2024-001\u002Fmobile\u002Fios_backup\u002F\n\n# For encrypted backups (contains more data including passwords)\nidevicebackup2 backup --full --password \u002Fcases\u002Fcase-2024-001\u002Fmobile\u002Fios_backup\u002F\n\n# === Android acquisition with ADB ===\n# List connected devices\nadb devices\n\n# Full backup (requires screen unlock)\nadb backup -apk -shared -all -f \u002Fcases\u002Fcase-2024-001\u002Fmobile\u002Fandroid_backup.ab\n\n# Extract specific app data\nadb shell pm list packages | grep -i \"whatsapp\\|telegram\\|signal\"\nadb pull \u002Fdata\u002Fdata\u002Fcom.whatsapp\u002F \u002Fcases\u002Fcase-2024-001\u002Fmobile\u002Fwhatsapp\u002F\n\n# For rooted Android devices - full filesystem\nadb shell \"su -c 'dd if=\u002Fdev\u002Fblock\u002Fmmcblk0 bs=4096'\" | \\\n   dd of=\u002Fcases\u002Fcase-2024-001\u002Fmobile\u002Fandroid_physical.dd\n\n# Hash the acquisition\nsha256sum \u002Fcases\u002Fcase-2024-001\u002Fmobile\u002F*.dd > \u002Fcases\u002Fcase-2024-001\u002Fmobile\u002Facquisition_hashes.txt\n```\n\n### Step 3: Analyze with ALEAPP (Android) or iLEAPP (iOS)\n\n```bash\n# === Android analysis with ALEAPP ===\n# ALEAPP processes Android file system extractions\npython3 -m aleapp \\\n   -t fs \\\n   -i \u002Fcases\u002Fcase-2024-001\u002Fmobile\u002Fandroid_extraction\u002F \\\n   -o \u002Fcases\u002Fcase-2024-001\u002Fanalysis\u002Faleapp_report\u002F\n\n# ALEAPP extracts and reports on:\n# - Call logs, SMS\u002FMMS messages\n# - Chrome browser history and searches\n# - WiFi connection history\n# - Installed applications\n# - Google account activity\n# - Location data (Google Maps, Photos)\n# - WhatsApp, Telegram, Signal messages\n# - App usage statistics\n# - Device settings and accounts\n\n# === iOS analysis with iLEAPP ===\npython3 -m ileapp \\\n   -t tar \\\n   -i \u002Fcases\u002Fcase-2024-001\u002Fmobile\u002Fios_backup.tar \\\n   -o \u002Fcases\u002Fcase-2024-001\u002Fanalysis\u002Fileapp_report\u002F\n\n# iLEAPP extracts and reports on:\n# - iMessage and SMS messages\n# - Safari browsing history\n# - WiFi and Bluetooth connections\n# - Health data and location history\n# - App usage (KnowledgeC)\n# - Photos with EXIF\u002FGPS data\n# - Notes, Calendar, Reminders\n# - Keychain data (if decryptable)\n# - Screen time data\n```\n\n### Step 4: Extract Communications and Messaging Data\n\n```bash\n# Extract WhatsApp messages from Android\npython3 \u003C\u003C 'PYEOF'\nimport sqlite3\nimport os\n\n# WhatsApp database location\ndb_path = \"\u002Fcases\u002Fcase-2024-001\u002Fmobile\u002Fandroid_extraction\u002Fdata\u002Fdata\u002Fcom.whatsapp\u002Fdatabases\u002Fmsgstore.db\"\n\nif os.path.exists(db_path):\n    conn = sqlite3.connect(db_path)\n    cursor = conn.cursor()\n\n    # Extract messages\n    cursor.execute(\"\"\"\n        SELECT\n            key_remote_jid AS contact,\n            CASE WHEN key_from_me = 1 THEN 'SENT' ELSE 'RECEIVED' END AS direction,\n            data AS message_text,\n            datetime(timestamp\u002F1000, 'unixepoch') AS msg_time,\n            media_mime_type,\n            media_size\n        FROM messages\n        WHERE data IS NOT NULL\n        ORDER BY timestamp DESC\n        LIMIT 1000\n    \"\"\")\n\n    with open('\u002Fcases\u002Fcase-2024-001\u002Fanalysis\u002Fwhatsapp_messages.csv', 'w') as f:\n        f.write(\"contact,direction,message,timestamp,media_type,media_size\\n\")\n        for row in cursor.fetchall():\n            f.write(','.join(str(x) for x in row) + '\\n')\n\n    conn.close()\n    print(\"WhatsApp messages extracted successfully\")\nPYEOF\n\n# Extract iOS iMessage\u002FSMS from sms.db\npython3 \u003C\u003C 'PYEOF'\nimport sqlite3\n\ndb_path = \"\u002Fcases\u002Fcase-2024-001\u002Fmobile\u002Fios_extraction\u002FHomeDomain\u002FLibrary\u002FSMS\u002Fsms.db\"\n\nconn = sqlite3.connect(db_path)\ncursor = conn.cursor()\n\ncursor.execute(\"\"\"\n    SELECT\n        h.id AS phone_number,\n        CASE WHEN m.is_from_me = 1 THEN 'SENT' ELSE 'RECEIVED' END AS direction,\n        m.text,\n        datetime(m.date\u002F1000000000 + 978307200, 'unixepoch') AS msg_time,\n        m.service\n    FROM message m\n    JOIN handle h ON m.handle_id = h.ROWID\n    ORDER BY m.date DESC\n\"\"\")\n\nwith open('\u002Fcases\u002Fcase-2024-001\u002Fanalysis\u002Fimessage_sms.csv', 'w') as f:\n    f.write(\"phone,direction,text,timestamp,service\\n\")\n    for row in cursor.fetchall():\n        f.write(','.join(str(x) for x in row) + '\\n')\n\nconn.close()\nPYEOF\n```\n\n### Step 5: Extract Location Data and Generate Report\n\n```bash\n# Extract GPS data from photos\npip install pillow\npython3 \u003C\u003C 'PYEOF'\nfrom PIL import Image\nfrom PIL.ExifTags import TAGS, GPSTAGS\nimport os, json\n\ndef get_gps(exif_data):\n    gps_info = {}\n    for key, val in exif_data.items():\n        decoded = GPSTAGS.get(key, key)\n        gps_info[decoded] = val\n\n    if 'GPSLatitude' in gps_info and 'GPSLongitude' in gps_info:\n        lat = gps_info['GPSLatitude']\n        lon = gps_info['GPSLongitude']\n        lat_val = lat[0] + lat[1]\u002F60 + lat[2]\u002F3600\n        lon_val = lon[0] + lon[1]\u002F60 + lon[2]\u002F3600\n        if gps_info.get('GPSLatitudeRef') == 'S': lat_val = -lat_val\n        if gps_info.get('GPSLongitudeRef') == 'W': lon_val = -lon_val\n        return lat_val, lon_val\n    return None\n\nlocations = []\nphoto_dir = \"\u002Fcases\u002Fcase-2024-001\u002Fmobile\u002Fios_extraction\u002FCameraRollDomain\u002FMedia\u002FDCIM\u002F\"\nfor root, dirs, files in os.walk(photo_dir):\n    for fname in files:\n        if fname.lower().endswith(('.jpg', '.jpeg', '.heic')):\n            try:\n                img = Image.open(os.path.join(root, fname))\n                exif = img._getexif()\n                if exif and 34853 in exif:\n                    coords = get_gps(exif[34853])\n                    if coords:\n                        locations.append({'file': fname, 'lat': coords[0], 'lon': coords[1]})\n            except Exception:\n                pass\n\nwith open('\u002Fcases\u002Fcase-2024-001\u002Fanalysis\u002Fphoto_locations.json', 'w') as f:\n    json.dump(locations, f, indent=2)\nprint(f\"Found {len(locations)} geotagged photos\")\nPYEOF\n\n# Extract location history from Google Location History (Android)\n# File: \u002Fdata\u002Fdata\u002Fcom.google.android.gms\u002Fdatabases\u002Flbs.db\n# or exported Google Takeout location data\n```\n\n## Key Concepts\n\n| Concept | Description |\n|---------|-------------|\n| Logical extraction | Extracts accessible user data through device APIs (contacts, messages, photos) |\n| File system extraction | Full access to the device file system including app databases |\n| Physical extraction | Bit-for-bit copy of device storage including deleted and unallocated data |\n| UFED | Universal Forensic Extraction Device - Cellebrite's flagship acquisition platform |\n| ADB | Android Debug Bridge for communicating with Android devices |\n| KnowledgeC | iOS database tracking detailed app and device usage patterns |\n| SQLite databases | Primary storage format for mobile app data (messages, contacts, history) |\n| Checkm8 | Hardware-based iOS exploit enabling extraction on A5-A11 devices |\n\n## Tools & Systems\n\n| Tool | Purpose |\n|------|---------|\n| Cellebrite UFED | Commercial mobile device acquisition and analysis platform |\n| Cellebrite Physical Analyzer | Deep analysis of mobile device extractions |\n| ALEAPP | Open-source Android artifact parser and report generator |\n| iLEAPP | Open-source iOS artifact parser and report generator |\n| libimobiledevice | Open-source iOS communication library |\n| Magnet AXIOM | Commercial mobile and computer forensics platform |\n| MEAT | Mobile Evidence Acquisition Toolkit |\n| ADB | Android Debug Bridge for device interaction and data extraction |\n\n## Common Scenarios\n\n**Scenario 1: Criminal Communications Investigation**\nAcquire device with UFED physical extraction, decrypt messaging databases, extract WhatsApp\u002FTelegram\u002FSignal conversations, recover deleted messages from WAL files, build communication timeline, export for legal proceedings.\n\n**Scenario 2: Employee Data Theft via Personal Phone**\nPerform logical extraction with employee consent, analyze corporate email and cloud storage app data, check for screenshots of confidential documents, review file transfer app activity, examine browser history for cloud uploads.\n\n**Scenario 3: Missing Person Location Tracking**\nExtract location data from Google Location History, parse GPS data from photos, analyze WiFi connection history for last known locations, check fitness app data for movement patterns, examine messaging apps for last communications.\n\n**Scenario 4: Child Exploitation Investigation**\nPhysical extraction preserving all data including deleted content, hash all images against NCMEC\u002FICSE databases, extract communication records, recover deleted media from unallocated space, document chain of custody meticulously for prosecution.\n\n## Output Format\n\n```\nMobile Forensics Summary:\n  Device: Samsung Galaxy S23 Ultra (SM-S918B)\n  OS: Android 14, One UI 6.0\n  IMEI: 353456789012345\n  Extraction: Physical (via Cellebrite UFED)\n  Duration: 45 minutes\n\n  Extracted Data:\n    Contacts:       1,234\n    Call Logs:       5,678\n    SMS\u002FMMS:         3,456\n    WhatsApp Msgs:   12,345 (234 deleted, recovered)\n    Telegram Msgs:   2,345\n    Photos\u002FVideos:   4,567 (345 geotagged)\n    Browser History: 2,345 URLs\n    WiFi Networks:   67 saved connections\n    Installed Apps:  145\n\n  Key Findings:\n    - Deleted WhatsApp conversation with suspect recovered\n    - 23 geotagged photos at crime scene location\n    - Browser searches related to investigation subject\n    - Signal app used during incident timeframe (encrypted, partial recovery)\n\n  Reports:\n    ALEAPP Report:   \u002Fanalysis\u002Faleapp_report\u002Findex.html\n    Messages Export: \u002Fanalysis\u002Fwhatsapp_messages.csv\n    Locations:       \u002Fanalysis\u002Fphoto_locations.json\n```\n",{"name":5,"tags":25,"author":32,"domain":33,"license":15,"version":34,"nist_csf":35,"subdomain":39,"description":7,"mitre_attack":40},[26,27,28,29,30,31],"forensics","mobile-forensics","cellebrite","smartphone-analysis","ios-forensics","android-forensics","mahipal","cybersecurity","1.0",[36,37,38],"RS.AN-03","DE.AE-02","RS.MA-01","digital-forensics",[41,42,43,44,45],"T1005","T1074","T1119","T1070","T1059","main","7540bbccf0c1ded6156a467b02c95b61ad62413f",".agents\u002Fskills\u002Fperforming-mobile-device-forensics-with-cellebrite","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena","Currently exploring the intersection of tech","2026-09-11 03:02:31",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add NeelakshSaxena\u002FVayu --skill performing-mobile-device-forensics-with-cellebrite",{"tool":59,"command":60},"bunx","bunx skills add NeelakshSaxena\u002FVayu --skill performing-mobile-device-forensics-with-cellebrite",{"tool":62,"command":63},"pnpm","pnpm dlx skills add NeelakshSaxena\u002FVayu --skill performing-mobile-device-forensics-with-cellebrite","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fperforming-mobile-device-forensics-with-cellebrite\u002FSKILL.md",true,[67,71,77],{"path":68,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":72,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Fapi-reference.md","REFERENCE","参考文档",1964,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fperforming-mobile-device-forensics-with-cellebrite\u002Freferences\u002Fapi-reference.md",{"path":78,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":81,"sourceHtmlUrl":82},"scripts\u002Fagent.py","SCRIPT","脚本",9047,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fperforming-mobile-device-forensics-with-cellebrite\u002Fscripts\u002Fagent.py",[84,91,98,105,112,119],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":20},"01M7ACCCVNCFKMA9X6D15X6G98","runpodctl","Runpod CLI for managing GPU\u002FCPU workloads from the terminal — pods, serverless endpoints, templates, network volumes, Hub deploys, models, SSH, and file transfer (send\u002Freceive). Use for terminal\u002FCI\u002Fscripting, Hub browse\u002Fdeploy, SSH setup, `doctor`, or when the Runpod MCP tools are not connected. For structured tool calls in an MCP-enabled session, prefer runpod-mcp.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpodctl\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":20},"01M7ACC63SRHEA5KMCHSMZK2TC","runpod","Start here for any Runpod task — running GPU\u002FCPU pods, deploying serverless endpoints, templates, network volumes, building images, or understanding how Runpod works. Routes to the right skill (runpod-mcp, runpodctl, flash, companion-clis, runpod-usage, runpod-templates, runpod-migrate) and indexes two dozen live-verified end-to-end examples (golden paths) — use it when the lane is unclear, and for any multi-step or provisioning task even when it is not.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":20},"01M7ACC0Q1C89N9BZBV91CTQTF","runpod-usage","How Runpod works and how to work it — pods vs serverless, GPU\u002FVRAM selection, storage, building a container, networking, plus the agentic pod development loop (provision → ssh-exec → set up → poll readiness) and on-pod install hygiene (uv\u002Fapt). Use to answer \"how does X work\", \"which GPU\", \"how do I build a container\", or \"how do I stand up a workload on a pod\". Guidance, not a tool — execute with runpodctl, runpod-mcp, or flash.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-usage\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":20},"01M7ACBRPE345GF5GM5B8P8RRC","runpod-templates","Runpod's official prebuilt pod templates (ComfyUI, PyTorch, and others): what each image ships, which ports and paths it uses, how to pick one, how to pin a version, and what is missing on first boot. Use when a task says \"run \u003CX> on a pod\" and an official template already covers it, instead of building an image — and when a user needs help with or wants to fix something about a Runpod template they are already running (won't boot, can't reach the UI, missing models, wrong CUDA line, broken ComfyUI workflow metadata on imported workflows): start here and route onward. Deploy with runpodctl or runpod-mcp; end-to-end walkthroughs live in the runpod router's golden paths.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-templates\u002FSKILL.md",[],[],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":20},"01M7ACBJATHKVX1TWES2F44GY8","runpod-migrate","Migrate a codebase from the Runpod GraphQL API or REST v1 to REST v2 — inventory which parts use which API version, rewrite the call sites, flag breaking changes, and verify. Use when someone asks to move to v2, asks what v2 would change, or asks which Runpod API their code is on. For managing infrastructure rather than migrating code, use runpod-mcp or runpodctl.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-migrate\u002FSKILL.md",[],[],{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":20},"01M7ACBC7GHVH6T9YEAPCG2AP8","runpod-mcp","Manage Runpod infrastructure — pods, serverless endpoints, jobs, templates, network volumes, container-registry auth, GPU\u002FCPU catalog, and billing — via the Runpod MCP server's structured tool calls. Use when the Runpod MCP tools (create-pod, list-endpoints, …) are connected in this session, or to connect them (hosted OAuth or local npx). Prefer this over runpodctl for plain infra CRUD when MCP is available; use runpodctl for the terminal, file transfer, or SSH setup.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-mcp\u002FSKILL.md",[],[]]