# Scanning your iPhone for Pegasus, NSO Group's malware

DevFeed: [Scanning your iPhone for Pegasus, NSO Group's malware](<https://devfeed.tech/articles/scanning-your-iphone-for-pegasus-nso-group-s-malware-41998.md>)

Original publisher: [Read original article](<https://arkadiyt.com/2021/07/25/scanning-your-iphone-for-nso-group-pegasus-malware/>)

Published: 2021-07-25T07:00:00Z

Content type: tutorial

Language: en

Sources: [Arkadiy Tetelman](<https://devfeed.tech/sources/arkadiy-tetelman.md>)

Topics: [Malware](<https://devfeed.tech/topics/malware.md>), [iOS](<https://devfeed.tech/topics/ios.md>), [Mobile](<https://devfeed.tech/topics/mobile.md>), [Android](<https://devfeed.tech/topics/android.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [Filesystems](<https://devfeed.tech/topics/filesystems.md>), [Jailbreak](<https://devfeed.tech/topics/jailbreak.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [backup](<https://devfeed.tech/tags/backup.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [filesystem](<https://devfeed.tech/tags/filesystem.md>), [forensic](<https://devfeed.tech/tags/forensic.md>), [infection](<https://devfeed.tech/tags/infection.md>), [ios](<https://devfeed.tech/tags/ios.md>), [iphone](<https://devfeed.tech/tags/iphone.md>), [jailbreak](<https://devfeed.tech/tags/jailbreak.md>), [malware](<https://devfeed.tech/tags/malware.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [safari](<https://devfeed.tech/tags/safari.md>), [scanner](<https://devfeed.tech/tags/scanner.md>)

## AI overview

A practical guide to scanning an iPhone for indicators of Pegasus, NSO Group's mobile malware, using Amnesty International's open-source Mobile Verification Toolkit. It explains the trade-offs between scanning a device backup and a filesystem dump from a jailbroken device.

## Source excerpt

In collaboration with more than a dozen other news organizations The Guardian recently published an exposé about Pegasus, a toolkit for infecting mobile phones that is sold to governments around the world by NSO Group. It's used to target political leaders and their families, human rights activists, political dissidents, journalists, and so on, and surreptitiously download their messages/photos/location data, record their microphone, and otherwise spy on them. As part of the investigation, Amnesty International wrote a blog post with their forensic analysis of several compromised phones, as well as an open source tool, Mobile Verification Toolkit, for scanning your mobile device for these indicators. MVT supports both iOS and Android, and in this blog post we'll install and run the scanner against my iOS device. Choosing your options For iPhones, MVT can either run against a device backup or a full file system dump (which is only available from jailbroken devices). The device backup method has access to less forensic data than the filesystem dump but has the benefit that you don't need to jailbreak your device. MVT conveniently documents which forensic artifacts are available to which method - the following artifacts are not available when using the backup method: cache_files.json net_usage.json safari_favicon.json version_history.json webkit_indexeddb.json webkit_local_storage.json webkit_safari_view_service.json The same documentation link also explains what data each file contains and where it's sourced from, and Amnesty's blog post describes in more detail how each data type is relevant for detecting Pegasus. For instance for the Safari favicon data (safari_favicon.json) they write: Although Safari history records are typically short lived and are lost after a few months (as well as potentially intentionally purged by malware), we have been able to nevertheless find NSO Group's infection domains in other databases of Omar Radi's phone that did not appear in Safa