Pegasus and mercenary spyware: signs, detection, removal and prevention

Mercenary spyware like Pegasus, Predator and Graphite targets a small number of people, leaves no visible symptoms and cannot be found by an ordinary app. A threat notification is the sign that matters; updates, restarts and Lockdown Mode or Advanced Protection are what protect you.

A phone screen of log lines with three highlighted in orange under a magnifying glass, next to a blue shield with a check mark.

What is mercenary spyware?

Mercenary spyware is surveillance software built by private companies and sold, mostly to governments, to break into the phones of specific people. Apple uses the term for attacks that are "exceptionally sophisticated, cost millions of dollars to develop" and target a very small number of people.

The best known is Pegasus, made by NSO Group in Israel. Others include Predator (Intellexa), Graphite (Paragon Solutions), Hermit (RCS Lab), Reign (QuaDream) and, in 2025 and 2026, newly documented tools such as Dante (Memento Labs) and LANDFALL, which hit Samsung phones through booby-trapped image files.

Amnesty's 2026 analysis of Pegasus found that the vendor builds and runs most of the system, from the exploits to the delivery servers, while the customer works from a dashboard. Once inside a phone, Pegasus can read messages (including encrypted chats, read on the phone itself), email, photos, contacts, location and saved passwords, and can switch on the microphone and camera.

Who gets targeted?

Chosen individuals, not the public. Each exploit is expensive and stops working once it is discovered and patched, so it is spent on people a government wants to watch. France's national cyber agency, CERT-FR, lists journalists, lawyers, activists, politicians, senior officials and executives in strategic sectors.

  • The Pegasus Project (2021): a leaked list of about 50,000 numbers selected by NSO customers, including at least 180 journalists.
  • Graphite (2025): WhatsApp warned about 90 users in more than two dozen countries after a zero-click attack through PDF files in group chats. Citizen Lab later confirmed Graphite on the iPhones of European journalists.
  • Serbia (2026): Citizen Lab found Pegasus on the phones of student activists and of the rector of the University of Belgrade.
  • Apple's alerts (2026): waves in August and October reached users in about 100 countries, including members of the German Bundestag.

Families and colleagues of targets are at risk too, because their phones hold the same conversations.

How does it get onto a phone?

RouteWhat happensRecent example
Zero-click messageA message, call, image or invite you never open breaks in by itselfPegasus via iMessage (BLASTPASS); Graphite via iMessage and WhatsApp; LANDFALL via image files
One-click linkA tailored SMS, WhatsApp or Viber message with a linkPredator against journalists in Angola, 2026
AdvertisingA booby-trapped ad infects the phone when it is shownIntellexa's "Aladdin"; Candiru through an ad-tech firm, 2026
Network injectionThe mobile operator or internet provider redirects your traffic to the attackPegasus; Hermit
Compromised websitesA site checks which phone you have and serves an exploit for itThe DarkSword and Coruna exploit kits for older iOS versions, 2026

Most of these routes rely on a bug the phone maker has not fixed yet, or has fixed in an update the phone does not have. That is why updates matter so much.

What are the signs you might have it?

Signs that are worth acting on:

  • An Apple threat notification. Since 2026 it appears as an alert on the iPhone Lock Screen ("Apple detected a mercenary spyware attack targeted at your iPhone"), in Settings, by email from threat-notifications@email.apple.com and as a banner when you sign in at account.apple.com. A real one never asks you to click a link, install anything or give a password or code.
  • A Google "government-backed attack" warning in Gmail, or a security notice inside WhatsApp.
  • Unexpected messages with links, especially tailored ones from unknown senders, or invites and calls from accounts you do not know.
  • A Lockdown Mode warning that something was blocked. Citizen Lab has seen these fire when a real exploit was attempted.
  • A forensic finding by an expert group (see below).

Signs that are not reliable:

  • Battery drain, a warm phone, slowness, high data use, apps crashing, clicks or echoes on calls. Germany's BSI says victims of zero-click attacks "usually notice nothing". These symptoms nearly always have ordinary causes, such as an ageing battery, background sync or a weak signal.
  • "My security app says I'm clean." A store app cannot see deep enough to say that.

How is Pegasus detected?

By reading the traces it leaves in places an ordinary app cannot reach: system logs, diagnostics files and backups. These are the methods in use today.

Threat notifications

Apple, Google and Meta watch their own systems for attacks and warn the people affected. Apple calls its notifications high-confidence, but it cannot say what triggered them, and one can arrive months after the attack. Apple's detection is not complete either, so the lack of a notification proves nothing.

The iPhone diagnostics file and shutdown.log

In 2024 Kaspersky showed that Pegasus, Reign and Predator left traces in shutdown.log, a log inside the iPhone's system diagnostics file (sysdiagnose). Processes that delay a restart, or that run from unusual folders such as /private/var/db/ or /private/var/tmp/, stand out. Anyone can create the file by holding both volume buttons and the side button for about a second; it then appears under Settings, Privacy & Security, Analytics & Improvements, Analytics Data.

The method has limits. It works best when the phone is restarted often. iOS 26 overwrote the log on every restart, so traces from that period are gone; iOS 26.2 restored the old behaviour. iVerify reports that newer Pegasus and Predator versions no longer leave these traces.

Amnesty's Mobile Verification Toolkit

MVT is the open-source tool behind most published Pegasus findings. It checks an encrypted iPhone backup, or Android data collected over a USB cable, against public lists of known traces. Amnesty says it is not meant for self-assessment by ordinary users, needs command-line skills, and that checking only public indicators "can miss recent forensic traces and give a false sense of security".

Apps

iVerify Basic, a low-cost app for iPhone and Android, reads diagnostic data and logs you share with it. Among people who chose to run it, it found a handful of Pegasus infections in thousands of scans. Other security apps are good at catching malicious apps, phishing and stalkerware, but on iPhone no store app can inspect the system itself.

Android Intrusion Logging

On Pixel phones with Android 16 or later, Advanced Protection can keep encrypted logs of unlocks, app installs, USB debugging commands and network connections in your Google account. Amnesty's tools can analyse them. It only helps if it was turned on before an attack.

Where to get expert help

  • Access Now Digital Security Helpline: free, around the clock, in about 10 languages, for journalists, activists, human rights defenders and civil society.
  • Amnesty International Security Lab: for journalists, activists and civil society at risk.
  • National cyber agencies (for example CERT-FR in France or the BSI in Germany) for officials, and commercial forensic firms for others.

What to do if you are warned

What to do after a spyware warning Six steps in order: keep the warning and do not reset the phone; contact an expert helpline; turn on Lockdown Mode on your other devices; secure your accounts from a different device; once examined, update, reset or replace the phone; and set up the phone fresh instead of restoring a possibly infected backup. 1Keep the warning. Don't reset yet 2Contact an expert helpline 3Lockdown Mode on other devices 4Secure accounts from another device 5After the exam: update, reset or replace 6Set up fresh; skip the old backup
Built from Apple's and CERT-FR's guidance. The first step matters most: resetting or updating first can erase the evidence an expert needs.
  1. Keep the evidence. CERT-FR asks people who are notified to keep the message and not change the phone until it has been examined.
  2. Get expert help. Contact Access Now or Amnesty's Security Lab (links above). Apple itself points people to Access Now.
  3. Protect your other devices. Turn on Lockdown Mode on your iPad and Mac, and on the phone once it has been examined.
  4. Secure your accounts from a clean device. Change passwords, switch to passkeys or security keys, sign out of all sessions, and check linked devices in WhatsApp and your Apple or Google account. Stolen passwords and cloud access can outlive the infection.
  5. Tell the people close to you. Their phones hold the same conversations; Citizen Lab advises having them checked too.

How do you remove it?

  • Restart. Most modern mercenary spyware does not survive a restart, so the attacker must infect the phone again, which risks exposure. The US National Security Agency recommends restarting at least weekly. A restart does not close the hole, though.
  • Update the system and every app. This fixes the bug that let it in. Both 2026 iOS exploit kits fail on current versions of iOS.
  • Reset or replace the phone if experts suspect it is still infected, and set it up as new rather than restoring a backup that may carry the problem.
  • Clean up your accounts as described above, because what was stolen from the phone stays stolen.

What does not work: "clean" buttons in security apps, deleting apps (zero-click spyware is not an app you can see), or only changing your phone number.

How do you protect your phone?

For everyone

  • Install updates as soon as they arrive, and replace a phone that no longer gets them. Exploit kits for old iOS versions were reused by several groups in 2026.
  • Restart the phone regularly: weekly for most people, daily if you are at risk.
  • Don't open unexpected links, even from familiar names.
  • Use passkeys or security keys and two-step verification on your main accounts.
  • Keep the phone in your hands, with a strong passcode. On iPhone, turn on Stolen Device Protection.

If you are at higher risk

  • Lockdown Mode (iPhone, iPad, Mac). Settings, Privacy & Security, Lockdown Mode, Turn On & Restart. It blocks most message attachments and link previews, complex web features, FaceTime calls from people you have not called, configuration profiles, 2G and 3G, and wired connections while the phone is locked. Turn it on separately on each device. Apple says it has not seen a successful attack on a device with Lockdown Mode on, and it blocked NSO's BLASTPASS exploit.
  • Advanced Protection (Android 16 and later). Settings, Security & Privacy, Advanced Protection. It blocks apps from unknown sources, turns on memory protection where the hardware supports it, blocks 2G, restarts the phone after 72 hours locked and hardens Chrome. On Pixels you can also turn on Intrusion Logging.
  • A newer iPhone. The iPhone 17 family and iPhone Air have Memory Integrity Enforcement, hardware protection that Apple says makes spyware exploits far harder and more expensive to build.
  • WhatsApp Strict Account Settings (Settings, Privacy, Advanced): blocks media from unknown senders, silences unknown callers, turns off link previews and forces two-step verification.
  • Google's Advanced Protection Program for your Google account.
  • Fewer ways in. Use disappearing messages, limit ad tracking and use an ad blocker in the browser (ads were an infection route in 2025 and 2026), switch off iMessage and FaceTime if you do not need them, and consider a separate phone for sensitive work.

Is it more likely to be stalkerware? For most people, yes. Kaspersky counted more than 34,000 of its own users hit by stalkerware in a year. Stalkerware is usually installed by a partner or family member with access to the phone or its account. Look for apps you did not install, unknown configuration or management profiles, accessibility or device-admin access you did not grant, and devices you do not recognise signed in to your Apple or Google account. PhoneProof's Security check lists several of these on Android.

For the technically curious

Zero-click chains usually start with a parser bug, in an image format, a PDF or a message attachment handled before you ever open it, then escape the app sandbox and gain kernel privileges. Vendors increasingly avoid surviving a reboot, which keeps their code out of storage where forensic tools look, and re-infect instead. That is why detection leans on side effects: entries in shutdown.log, crash reports from failed exploit attempts, unusual process names in data-usage records, and network domains in backups. It is also why public indicator lists always lag behind new variants.

Frequently asked questions

Can an app tell me if my phone has Pegasus?

No app can give a reliable yes or no. Store apps cannot see the system or other apps, and the spyware is built to hide. Tools that read a diagnostics file or a backup can find known traces, but finding nothing does not prove the phone is clean.

Is battery drain or a hot phone a sign of spyware?

Not a useful one. Mercenary spyware is designed to stay invisible, and Germany's BSI says victims of zero-click attacks usually notice nothing. Battery drain and heat almost always have ordinary causes.

Does restarting my phone remove spyware?

Often, for a while. Much modern spyware does not survive a restart, so the attacker has to infect the phone again. It does not fix the bug that let it in, so also update the phone.

What should I do if Apple says I was targeted by mercenary spyware?

Take it seriously. Do not reset or update the phone yet, keep the notification, and contact the Access Now Digital Security Helpline or Amnesty's Security Lab. Turn on Lockdown Mode on your other Apple devices and secure your accounts from a different device.

Should ordinary people worry about Pegasus?

Most people will never be targeted: each attack costs a lot and is aimed at chosen individuals. Stalkerware, installed by someone with access to your phone, is far more common. Updates, restarts, passkeys and checking for unknown apps and profiles protect against both.

Sources

  1. Apple: About Apple threat notifications and protecting against mercenary spyware
  2. Apple: About Lockdown Mode
  3. Amnesty Security Lab: Inside Pegasus (July 2026)
  4. Amnesty: Mobile Verification Toolkit documentation
  5. Amnesty Security Lab: Android Intrusion Logging (May 2026)
  6. Amnesty Security Lab: Intellexa Leaks (December 2025)
  7. Amnesty Security Lab: Predator spyware in Angola (February 2026)
  8. Amnesty: The Pegasus Project (2021)
  9. Citizen Lab: BLASTPASS (2023)
  10. Citizen Lab: A first look at Paragon's spyware operations (March 2025)
  11. Citizen Lab: First forensic confirmation of Paragon's iOS spyware (June 2025)
  12. Citizen Lab: Pegasus in Serbia (October 2026)
  13. Citizen Lab: Targeted ads as a pipeline for spyware (October 2026)
  14. Kaspersky Securelist: The shutdown.log detection method (2024)
  15. iVerify: Apple reverses course on shutdown.log in iOS 26.2
  16. Unit 42: LANDFALL Android spyware (2025)
  17. TechCrunch: Apple's push-notification spyware alerts (August 2026)
  18. heise: German politicians among those warned by Apple (2026)
  19. Security Affairs: CERT-FR on Apple's spyware warnings
  20. Google: Android Advanced Protection
  21. Google: Government-backed attack warnings in Gmail
  22. Meta: WhatsApp Strict Account Settings (January 2026)
  23. TechCrunch: Memory Integrity Enforcement on iPhone 17 (2025)
  24. NSA: Mobile device best practices
  25. Kaspersky: Stalkerware figures
  26. Access Now: Digital Security Helpline

Know your phone, inside and out.

PhoneProof measures the hardware and gives one score out of 100, and its Security check shows what the phone lets an app see. No account, no ads.

8 min read
Buying guides

Best value used phones in 2026, by budget

Best-value used phone in late 2026: the Pixel 8, about $275 with Google updates to October 2030. Picks under $150, $300 and $500 for iPhone, Pixel, Galaxy.

By PhoneProof Buying Guides