Protecting Against Spyware

 Last reviewed on September 3, 2026
 Takes about 30 minutes

Spyware is software that infects your device to spy on you and steal your data without your knowledge or consent. Phones are most often targeted because they record detailed location data, multi-factor authentication (2FA) codes, and a great deal of other personal information, but laptops and other devices can be targeted as well.

Spyware can extract your private messages (even on encrypted messenger apps like Signal), access your 2FA codes, monitor your conversations, track your location in real time, and even turn on your camera or microphone without your awareness. All this data gets sent back to whoever controls the spyware. It's like they are looking over your shoulder as you use your phone.

Spyware is made and sold by private companies to governments. It gets used not just against criminals but also against activists, journalists, and lawyers. Most recently, ICE has purchased access to spyware tools.

The two most well-known mobile spyware programs are Pegasus (from NSO Group) and Graphite (from Paragon Solutions). Both companies were founded by executives who used to work for Unit 8200, Israel's equivalent of the NSA in the US. But newer spyware is being discovered all the time, and spyware is one corner of the larger world of "malware" and "stalkerware," which are also used by oppressive governments and by abusive intimate partners to silence people.

How likely am I to be the target of spyware?

While governments claim to use spyware only against criminals, there are many documented cases of it being deployed against political activists, journalists, and lawyers by governments:

We suggest folks start with our Security Essentials Checklist and then come back to this guide. That guide will help you protect against cheaper-to-deploy surveillance technologies like location tracking or phone-cracking software police can use after they seize your device.

As repressive politicians continue to push the US towards authoritarianism, we should expect sophisticated spyware to be used more broadly against activists.

The good news: the steps you need to take to help protect yourself from spyware and stalkerware will also help you protect against other kinds of attacks that are more likely to affect you, so they are good to complete regardless.

Baseline protections

everyone

This section is for anyone doing activism or advocacy work.

If you're concerned about doxxing, it's a good idea to complete the steps outlined in our Digital Security Essentials checklist →

Many of these will protect you against someone trying to access your accounts or devices if you're the target of doxxing.

These items from the Essentials checklist are especially important:

  • Turn off location tracking for most apps
  • Install the latest software updates for your laptop, phone, and apps
  • Use a password manager
  • Change your existing passwords if they are weak or reused across multiple sites.
  • Enable two-factor authentication on your important accounts
  • Don't click on suspicious links
DO: Install updates as soon as you're prompted
DO NOT: Keep pushing the "update later" button

Every time a new operating system update comes out, it is fixing security holes. Each update you haven't installed represents a longer list of ways the cops can hack into your device. Think of it as a big building with more and more doors left unlocked.

If your operating system is not up-to-date, many of the other recommendations in this guide will not protect your data.

Start with your phone. If you're doing something higher risk, make sure to update all your devices.

How to run updates

Because security updates are so important, we designed a tool to walk you through the process.

How to run updates manually

If you prefer to run updates manually, here is how to do it for each device:

Spyware is an advanced type of attack, exploiting sophisticated vulnerabilities on our devices. In response, Apple and Google have introduced an advanced security mode that offers enhanced protection against spyware.

On iPhones, it's called Lockdown Mode and on Android, it's called Advanced Protection Program. (You can also enable Advanced Protection Program on just your Google Account even if you don't have an Android phone.)

We have no reports of anyone getting infected with spyware who had Apple's Lockdown Mode enabled. Android's Advanced Protection is more recent and its effectiveness has yet to be tested.

How to enable Lockdown Mode for iPhones

This feature is available for iOS version 16 and above.

How to enable Advanced Protection on Android

Note: The location of this setting may vary between Android devices, so we recommend searching for 'Advanced Protection' in the Settings search bar.

This feature is available for Android 16 and above.

Apple, Google, and other services offer additional security features to protect against targeted attacks on your accounts and data. These protect your online accounts with each company, not your device itself.

Apple's Advanced Data Protection enables end-to-end encryption for most of your content.

How to enable advanced protection on your email/cloud accounts

Protect your data:

  • iCloud Advanced Data Protection - Enables end-to-end encryption for almost all data stored in iCloud, protecting your information against government court orders. Make sure you save the recovery key somewhere very safe (like a password manager).

Protect your account:

Enhanced protections

medium-threat

This section is for you if you are in a leadership role or you are doing activism that is more likely to be targeted by the state or your opposition.

If you want to make it tougher for a thief to get into your home, one easy step is to cut down on the number of doors. On your device, each app acts as a "door" to the outside world, exposing you to increased risk of attack. If the app has a bug or vulnerability, it can make your whole device vulnerable.

How to remove apps

  1. Scan through all the apps on your phone and computer.
  2. Decide if you truly need it. Many apps can just as easily be accessed via their website instead. It is usually a little more inconvenient, but you get more privacy and security as a result.
  3. Uninstall it if at all possible. If you're not sure, try uninstalling it for a week and see if you can manage without it. You can always reinstall later.

Examples of apps that have been used by spyware in the past:

If you were infected by spyware already, it can perform live surveillance on your device, accessing the camera and microphone. To limit what spies can see, it's a good idea to cover at least your front camera.

How to cover your front camera

  1. Get a sticker that has enough stickiness to be reusable. Or consider this sticker pack from SLNT.
  2. Put it on your phone and your laptop
  3. Move it off temporarily when you need the front camera, then remember to move it back.

If it fits your workflow, consider setting up a second phone or computer just for your higher-risk work.

Check our Secondary Phone Checklist for more on this.

If you do this, make sure you still take security precautions on all devices. Even though only one device has sensitive communications/data on it, both devices could be a target for spyware since they reveal your location and other personal information an attacker might want. You might consider getting a phone that supports GrapheneOS. It is security-focused and privacy-focused version of Android that runs on Google Pixel phones.

Most spyware attempts to hide its tracks by not writing any files to your device. Because of that, rebooting your device will likely cause the spyware to be removed for the moment. That said, if you are still a target, they will likely try to reinfect your phone immediately. Some of the infections require you to click on a link (or take some other kind of action), but some occur without any user interaction. So while rebooting your phone frequently can help make things more difficult for your attackers, it isn't a guarantee that you're free from spyware.

Testing Devices

If you use an iPhone, you can run a spyware analysis using iMazing. It is free (don't click any of the "buy" buttons). Technical users can also run the Mobile Verification Toolkit (MVT) for detailed consensual device forensics.

However, detecting spyware on a device is not a trivial task and you shouldn't rely on just anyone to test your phone. Civil society members globally have turned to these institutions to help test their phones and run detailed analysis with the support of experts:

Each organization will have its own vetting process, and it might take some time for them to respond to your request while they verify everything on their end.

How to notice if you might be infected

Spyware generally presents no noticeable symptoms and infects silently. However, some common complaints from spyware targets over the years have included:

  • Rapid drainage of the phone battery
  • Suspicious behavior from certain apps
  • Abnormal data usage
  • Receipt of suspicious links or attachments

Apple and WhatsApp now regularly notify users they suspect their devices have been targeted with mercenary spyware. Here's more on Apple's threat notifications and WhatsApp's threat notification.

Learn more

  • Citizen Lab has traced Pegasus operations to 45 countries
  • Forensic Architecture has mapped the human cost of those operations on their site, Digital Violence

Related: History of how the US government has compromised internet security:

Have Questions?

Let us know if you have questions or feedback so we can make these guides as useful as possible.