What Is Spyware? Types, Signs and Prevention
What is spyware? It is software that watches what happens on your device and sends it to someone else, without your knowledge. It records what you type, which sites you visit, which files you open, and sometimes what your camera and microphone pick up — then it uploads that information to a server controlled by the attacker. The defining trait is secrecy: spyware is designed to be invisible, because the longer it goes undetected, the more it collects.
It is one of the most common threats a home user will ever meet, and one of the hardest to notice. It does not crash your computer or flood your screen with pop-ups. It sits quietly in the background and watches. This guide explains what spyware is, how it differs from other malware, the main types, how it gets onto a device, the signs that give it away, and what to do if you find it. The Antivirus & Malware category has the wider picture; this article is the practical one for this specific threat.
What is spyware — and what it is not
Spyware is a type of malware whose purpose is surveillance and theft of information. It is not a virus — it does not copy itself into other files — and it is not ransomware, which announces itself with a demand. Spyware’s business model is silence.
That silence is also what separates spyware from adware, its closest relative. Adware shows you ads; its purpose is visible, even if unwanted. Spyware’s purpose is hidden, and its product is your information: passwords, banking details, messages, photos, location, and browsing history. Some spyware is relatively innocent — tracking software that records your browsing to sell to advertisers — and some is plainly criminal, focused on stealing credentials and money. The software is the same shape either way; the difference is what it takes and who it sells it to.
Spyware can be installed on any device: a PC or laptop, a tablet, an iPhone, or an Android phone. On a phone it can track your location, read your call logs and contact lists, and access photos taken with the camera. On a computer it can record keystrokes, take screenshots, and capture the contents of documents. The device does not matter much; the method does.
How spyware gets onto a device
Spyware arrives the way most malware arrives: through something the user installs or clicks.
Bundled software. A free program — a video converter, a “system cleaner,” a game — carries spyware inside its installer. The user wanted the program; the spyware was the price, hidden in the bundle.
Malicious attachments and links. A phishing email with an attachment, or a link in a text message from an unknown number, that installs the spyware when opened. Spyware is often the second stage of a phishing attack: the link gets the program in, and the program does the watching.
Trojan delivery. Much spyware is delivered by a Trojan — malware disguised as a legitimate app or download. The user installs the file, and the Trojan installs the spyware alongside it. This is why spyware and Trojans are so often discussed together: the Trojan is the door, the spyware is what walks through it.
Compromised apps and extensions. A browser extension that promises coupons or a better search, or an app from outside the official store, can carry spyware. Extensions are easy to install in a moment of curiosity and easy to forget — and an extension with permission to read every page you visit is spyware by design, whether the developer admits it or not.
Rooting and jailbreaking. Rooting an Android phone or jailbreaking an iPhone removes the security restrictions that keep apps in their sandboxes. Once those restrictions are gone, spyware can access far more of the device — messages, location, other apps’ data — than it could on a stock phone.
Physical access. Stalkerware, a form of spyware installed by someone who knows the victim, is often installed by hand: a partner, a family member, or an employer with a few minutes alone with the device. It does not need to trick anyone, because the installer has the phone in their hand.
The main types of spyware
Spyware families differ in who they target and what they are after. Five show up again and again.
Keyloggers. Record every keystroke, sometimes with screenshots. Older than most spyware and still common inside larger malware kits. A keylogger captures usernames, passwords, credit card numbers, and anything else typed on the keyboard. There are software keyloggers, which are malware, and hardware keyloggers, which are physical devices plugged between the keyboard and the computer.
Infostealers. Mass-market spyware that runs once or briefly, grabs saved passwords, browser cookies, crypto wallet details, and system information, and uploads the lot. The stolen logs are sold in bulk. Microsoft has named Emotet, Redline, and IcedID among the families that extract browser cookies and credentials this way.
Banking Trojans. Modify web pages or log keystrokes to steal banking credentials. They can spoof a bank’s website so the victim enters their details on a fake page, and they can intercept transactions as they are submitted.
Adware and tracking software. The mildest form, and the most common. It records browsing behaviour and sells it to advertisers, or serves intrusive ads based on what it has learned. It is spyware in the technical sense — it collects information without clear consent — even though its purpose is marketing rather than crime.
Stalkerware. Commercial software sold to monitor a specific person — a partner, a child, an employee. It tracks location, reads messages and call logs, and can record audio. It is usually installed by someone who knows the victim and has physical access to the device. It is also the type most likely to be found on a phone rather than a computer.
Mercenary spyware. Built by commercial vendors and sold to governments. The best-known example is NSO Group’s Pegasus, which, according to Citizen Lab’s investigation in September 2021, reached iPhones through a zero-click exploit in iMessage — no click required — and was patched in iOS 14.8. Mercenary spyware is the most sophisticated and the least likely to affect an ordinary user, but it is the reason high-risk individuals are told to use Lockdown Mode on their phones.
Rootkits. A different kind of threat that is often grouped with spyware: a rootkit burrows deep into the operating system and hides other malware from detection. It does not steal information itself, but it makes the spyware it protects almost impossible to find.
The signs you have spyware
Good spyware leaves few symptoms, and none of them proves anything on its own. But several together are a reason to act.
- Your device runs slower than normal, freezes, or crashes frequently.
- Your battery drains faster than before, or the device runs hot while idle.
- You start getting pop-ups, or your browser homepage changes unexpectedly.
- Web searches redirect to a different search engine, or new browser extensions appear that you did not install.
- You receive sign-in alerts or multi-factor prompts that nobody triggered.
- Accounts show activity from new locations or devices.
- Unfamiliar apps have accessibility or device-admin rights on your phone.
- Your data usage spikes while you are doing nothing.
The US Federal Trade Commission lists the first three — a device that slows down, freezes, or crashes — among the warning signs of malware including spyware. The key point is the pattern: spyware’s job is to stay hidden, so the signs are indirect. A slow phone proves nothing; a slow phone plus an unexplained sign-in alert plus a new browser extension is a different story.
What to do if you find spyware
Work in this order. The sequence matters, because spyware’s job is to keep sending data until it is stopped.
1. Isolate the device. Switch off Wi-Fi and mobile data, or put the phone in aeroplane mode. This stops the spyware sending anything more, and stops it downloading instructions.
2. Stop signing in to sensitive accounts from that device. Assume every password typed on it is compromised. Change passwords from a different, clean device, starting with email and banking, and turn on two-factor authentication.
3. Run a security scan. Use your antivirus or a reputable anti-malware scanner and run a full scan. On a phone, use the security software from a known vendor — not a “cleaner” advertised in a pop-up. If the scan finds spyware, quarantine or delete it, restart, and scan again.
4. Check what it had access to. Look at installed apps and browser extensions, sort by install date, and remove anything you do not recognise. On Android, check which apps have accessibility or device-admin rights and revoke them. On iPhone, go to Settings, then General, then VPN and Device Management, and remove any profile you do not recognise.
5. Change passwords and enable two-factor authentication — from a clean device. This is the step people skip, and it is the one that matters most. Removing the spyware stops the collection; changing the passwords makes what was already collected worthless.
The FTC recommends this sequence when malware is suspected: stop using the device for sensitive logins, run a scan, then change passwords and enable two-factor authentication. If the spyware was stalkerware installed by someone you know, the removal is also a personal-safety question, not just a technical one — and the advice of a domestic-abuse support organisation matters more than any software step.
How to prevent spyware
Prevention works on the same two fronts: keep spyware off the device, and make whatever it steals worth less.
Keep it off. Install software only from trusted sources — the vendor’s own site, the official app store — and never from a download portal or an unofficial store. Do not open attachments or links in messages from unknown numbers. Keep the operating system and browser updated, because browser and phone exploits are the entry point that needs no click. Do not root or jailbreak your phone. Look carefully at the permissions you grant apps when you install them, and say no to permissions an app does not need for its job.
Make the theft worth less. Use a password manager with a unique password for every account, so one stolen password does not open everything. Turn on two-factor authentication, preferably with an authenticator app rather than SMS. Use phishing-resistant multi-factor authentication where it is offered. The stolen session is harder to replay if the session is short-lived and tied to a compliant device — the mitigations Microsoft describes for exactly this problem.
For high-risk people. Apple’s Lockdown Mode exists for the few people who may be personally targeted — journalists, activists, officials. It is not for everyone, because it switches off features, but for someone who may be a target of mercenary spyware it is the right trade.
One honest note: there is no surefire way to stop spyware entirely. The aim is to make your device a harder target than the next one, and to make whatever is stolen expire quickly. A unique password per account and two-factor authentication do more than any single product.
How do I know if I have spyware on my phone?
You usually cannot be sure from symptoms alone — good spyware is designed to be invisible. The strongest signs are a phone that runs hot or drains battery while idle, sign-in alerts nobody triggered, unfamiliar apps with accessibility or device-admin rights, and accounts showing activity from new locations. Several together are a reason to run a scan and change passwords from another device.
Can spyware steal my passwords?
Yes. Keyloggers record everything you type, including passwords, and infostealers harvest saved passwords and browser cookies. If you suspect spyware, change your passwords from a clean device and turn on two-factor authentication — removing the spyware alone is not enough, because what was already stolen is still out there.
Does antivirus remove spyware?
Usually, yes — a full scan with reputable security software will detect and quarantine most spyware. But spyware that is protected by a rootkit, or stalkerware installed with physical access, can be harder to find. If a scan comes back clean but the signs persist, a clean reinstall of the operating system is the certain route.
Is spyware the same as a virus?
No. A virus copies itself into other files; spyware does not self-replicate. Spyware’s purpose is surveillance — watching and recording information — while a virus’s purpose is to spread and infect. Spyware is often delivered by a Trojan, which is why the two are so often discussed together.
Can spyware watch me through my camera?
Some spyware can. Spy Trojans and stalkerware can access the camera and microphone, and record audio and video. The signs are indirect — the camera indicator light, battery drain, or data usage while idle. Keeping the operating system updated, limiting app permissions, and covering the camera when it is not in use are the practical defences.
