kashif~ spyware check guide ↓
your connection, right now
~/kashif — whoami --network
ip
scanning…
location
—
network
—
timezone
—
Checking your connection…

Looking up the IP address websites see when you visit.

Every website you visit sees this IP. A VPN hides it, but a VPN does not remove spyware already on your phone. Only a check like the one below can look for that.

kashif · phone spyware check

Is there spyware on your phone?

A free guide to checking an Android phone or iPhone for traces of known spyware such as Pegasus and Predator, using Amnesty International's open-source tools. It runs on your own Windows or Mac computer, over a USB cable.

Your phone's data never leaves your computer. This site doesn't scan or upload any files. The connection check above is shown only to you and isn't saved.

how it works

Two stages: collect, then scan

androidqf · encrypted iPhone backup

1. Collect

Copies the phone's apps, processes, logs and settings onto your computer. Android uses the androidqf tool; iPhone uses a normal encrypted backup from Finder or Apple Devices.

mvt-android · mvt-ios

2. Scan

MVT compares the archive against public lists of known-spyware fingerprints and reports any match.

~/kashif — example run
$ ./androidqf
[*] collecting: packages, apks, processes, logs, settings
[*] saved acquisition → 3f2a9c1e-….zip
$ mvt-android check-androidqf -o results 3f2a9c1e-….zip
[*] matching against public spyware indicators…
[✓] CLEAN — no known spyware found
$ 
step by step

Check your phone in about 15 minutes

  1. Install the scanner (MVT)

    Install Python from python.org and tick “Add Python to PATH”. Then open a terminal (cmd) and paste:

    You need Homebrew from brew.sh. Open the Terminal app and paste:

    pip install mvt
    mvt-android download-iocs
    brew install pipx
    pipx ensurepath
    export PATH="$PATH:$HOME/.local/bin"
    pipx install mvt
    mvt-android download-iocs

    The last command downloads the latest spyware fingerprints. Run it again before each scan.

    If you see command not found: mvt later, close Terminal and open it again.

  2. Download the collector

    Download androidqf_windows_amd64_….exe from the official androidqf releases.

    If Windows blocks it: right-click → Properties → tick “Unblock” → OK. Never turn off your antivirus to run any tool.

    Download androidqf_macos_universal_…_signed from the official androidqf releases. This version is signed for macOS.

  3. Turn on USB debugging on the phone

    • Settings → About phone → tap Build number 7 times.
    • Settings → Developer options → turn on USB debugging.
    • Connect the phone with a data cable and tap Allow on the phone.
  4. Collect the data

    Double-click the file you downloaded.

    cd ~/Downloads
    chmod +x androidqf_macos_universal_*_signed
    ./androidqf_macos_universal_*_signed

    When the phone shows a “Back up my data” screen, tap it and leave the password blank. When it finishes you'll have a file with a long name like 3f2a….zip.

  5. Scan the archive

    Replace YOUR-FILE.zip with your file's name:

    mvt-android check-androidqf --non-interactive -o results YOUR-FILE.zip

    To also check links inside your text messages, add -p followed by your phone's PIN. The PIN stays on your computer.

    Look in the results folder for files ending in _detected.json. If any entry matches a known indicator, read the next section.

  1. Install the scanner (MVT)

    Install Python from python.org and tick “Add Python to PATH”. Then open a terminal (cmd) and paste:

    You need Homebrew from brew.sh. Open the Terminal app and paste:

    pip install mvt
    mvt-ios download-iocs
    brew install pipx
    pipx ensurepath
    export PATH="$PATH:$HOME/.local/bin"
    pipx install mvt
    mvt-ios download-iocs

    The last command downloads the latest spyware fingerprints. Run it again before each scan.

    If you see command not found: mvt later, close Terminal and open it again.

  2. Make an encrypted backup

    Install Apple's free Apple Devices app from the Microsoft Store (on older Windows, use iTunes). Plug in the iPhone, unlock it and tap Trust, then select the phone in the app.

    Plug in the iPhone, unlock it and tap Trust. Open Finder and click the iPhone in the sidebar.

    • Under Backups, choose Back up all of the data on your iPhone to this computer.
    • Tick Encrypt local backup and set a password you'll remember. If it's already ticked, use the password you set before.
    • Click Back Up Now and wait for it to finish.

    The backup must be encrypted. Without encryption, the iPhone leaves out much of the data MVT needs to see.

  3. Find the backup folder

    Each backup is a folder named with a long ID such as 00008030-001A…. If there are several, use the newest one.

    explorer %USERPROFILE%\Apple\MobileSync\Backup

    If that folder doesn't exist (older iTunes), try %APPDATA%\Apple Computer\MobileSync\Backup.

    open ~/Library/Application\ Support/MobileSync/Backup

    If Terminal says “Operation not permitted”, allow it in System Settings → Privacy & Security → Full Disk Access → Terminal, then reopen Terminal.

  4. Decrypt and scan

    Replace the password and the folder path with yours. Tip: drag the backup folder into the terminal window to paste its path.

    mvt-ios decrypt-backup -p YOUR-BACKUP-PASSWORD -d decrypted "PATH-TO-BACKUP"
    mvt-ios check-backup -o results decrypted

    Look in the results folder for files ending in _detected.json. If any entry matches a known indicator, read the next section.

  5. Delete the decrypted copy

    The decrypted folder holds your messages, photos and contacts unprotected. Delete it once you've read the results.

    rmdir /s /q decrypted
    rm -rf decrypted
reading the result
[✓] CLEAN

No known spyware found

Nothing matched a known fingerprint. MVT may also list warnings, such as apps installed outside the app store. These are usually harmless; just check that you recognise each one.

[!] DETECTED

Spyware match found

  1. Don't factory-reset: it destroys the evidence.
  2. Put the phone in airplane mode if you can.
  3. Contact Amnesty International's Security Lab.
know the limits