08 · Security & Malware
iPhone Spyware Triage with MVT: A Practical Guide
How to check an iPhone for mercenary spyware and stalkerware: sysdiagnose, encrypted backup and file system checks with MVT, indicators, and limits.
08 · Evidence area
Compromise on iOS rarely leaves a file you can point at. Investigators look for indicators instead: process names in DataUsage and shutdown.log, crash and diagnostic reports, unexpected configuration profiles or MDM enrolment, and matches against published indicator sets with the Mobile Verification Toolkit (MVT). This area covers where those traces live and how a sysdiagnose, a backup and a full file system compare for the job.
1 guides in this area
08 · Security & Malware
How to check an iPhone for mercenary spyware and stalkerware: sysdiagnose, encrypted backup and file system checks with MVT, indicators, and limits.
iOS shutdown.log lists processes still running at each reboot. Where it lives, its SIGTERM format and Unix time, and how it exposes spyware traces.
/private/var/db/diagnostics/shutdown.log (and rotated shutdown.*.log); in a sysdiagnose: system_logs.logarchive/Extra/shutdown.log
iOS diagnostic reports in .ips files: app and system crashes, JetsamEvent memory reports listing running processes, where to collect them and how to read them.
/private/var/mobile/Library/Logs/CrashReporter/ (*.ips, Retired/); also crashes_and_spins/ in a sysdiagnose and Settings > Privacy & Security > Analytics Data
Configuration profiles and MDM on iOS: where installed profiles, profile events and enrolment details live, what they change, and how to spot abuse.
/private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles/Library/ConfigurationProfiles/ (profile stubs, MCProfileEvents.plist, CloudConfigurationDetails.plist and others)
Per-process network usage on iOS in DataUsage.sqlite and netusage.sqlite: process names, first and last seen times, bytes, and spyware indicators.
/private/var/wireless/Library/Databases/DataUsage.sqlite and /private/var/networkd/netusage.sqlite (older: /private/var/networkd/db/netusage.sqlite)
iOS TCC.db records which apps were granted or denied camera, microphone, photos, contacts and other privacy permissions, and when. Paths, values, epochs.
/private/var/mobile/Library/TCC/TCC.db (backup: HomeDomain, Library/TCC/TCC.db, fileID 64d0019cb3d46bfc8cce545a8ba54b93e7ea9347)
iOS locationd data: which apps used Location Services in clients.plist, and cell and Wi-Fi location caches in cache_encryptedB.db, with caveats.
/private/var/root/Library/Caches/locationd/ (cache_encryptedA.db, cache_encryptedB.db, cache_encryptedC.db, clients.plist); clients.plist in backups: RootDomain, Library/Caches/locationd/clients.plist