PISA Pakistan — Community CERT

← ⚙️ SOC Analyst Foundations

39. Mobile Device Forensics for SOC Analysts: Android & iOS Acquisition and Artifact Analysis

⏱ 8 min

The Role of Mobile Forensics in SOC

Mobile devices are a primary vector for fraud against Pakistani mobile wallets such as easypaisa and JazzCash, and for credential theft via malicious WhatsApp forwards. When an alert points to a handheld, SOC analysts must know how to safely acquire evidence without breaking chain of custody.

Acquisition Methods

Android (Logical)

  1. Enable USB Debugging on the device and authorize the workstation.
  2. Run adb pull /data/data/ to extract application databases.
  3. Capture a full image with dd if the device is rooted, or use Cellebrite UFED for forensically sound images.

iOS (Logical)

  1. Perform an iTunes backup (encrypted) on a trusted PC.
  2. Use iOS Forensic Toolkit to parse the backup and extract keychain, SMS, and app data.
  3. For live RAM, use LinReIcon on a jailbroken device; otherwise, rely on logical extraction.

Key Artifacts

  • Call logs & SMS: Stored in calls.db and mmssms.db.
  • WhatsApp chats: msgstore.db (SQLite) located in /data/data/com.whatsapp/databases/ on Android.
  • Location history: CellLocation.db or Google Takeout for Android.
  • Authentication tokens: shared_prefs folders for OAuth tokens used by JazzCash.
  • Tools like Autopsy and Belkasoft can automatically parse these SQLite databases and present timelines.

Correlating Mobile Evidence with SIEM Alerts

Imagine a SIEM rule flags a premium‑rate SMS sent from an employee’s phone. Pull the sms.db, verify the number, and link the device to the user via NADRA‑issued CNIC data. This correlation strengthens the incident narrative for the NCCIA 1799 report.

Do / Don't

  • Do create a bit‑for‑bit image before any analysis to preserve integrity.
  • Don't power off the device if you need live RAM; instead, capture RAM using LiME (Android) or MacQuisition (iOS).

Takeaway

Practice acquiring a test Android device image this week and extracting the msgstore.db to build a mobile forensics workflow you can repeat during real incidents.

← PrevNext →