secure-os.org
All guidesQubes OSTailsWhonixHardened LinuxDisk encryptionThreat model
spyware

What Is Spyware? How It Spies on You and How to Stop It (2026)

secure-os· Updated June 14, 2026· 5 min read #spyware#malware#privacy#surveillance
A login screen with a password field

Most malware wants to disrupt or extort you. Spyware is quieter, and arguably worse. It wants to watch you. It silently records what you type, where you go, and what’s on your screen. Then it sends all of it to someone else. This guide explains what spyware is. It covers the types, how it gets onto a device, the warning signs, and how to remove and prevent it.

Commercial data collection blurs into spyware-like behaviour, which is why it helps to know what US data-privacy laws do and don’t cover.

What spyware is

Spyware is a type of malware. It is built to secretly monitor and collect information about you, without consent. It can log keystrokes, capture passwords, and track browsing and location. It can read messages too. Then it sends all of it to an attacker or data broker, while trying hard to stay hidden.

Ransomware announces itself. Spyware does the opposite. Its whole value is staying undetected, so it can keep harvesting. That is what makes it both common and dangerous.

Lines of source code on a dark screen
Lines of code on a screen - spyware is hidden code that monitors your activity and sends it elsewhere.

The main types

  • Keyloggers - record every keystroke, capturing passwords and messages.
  • Infostealers - hunt for and steal saved credentials, cookies, crypto wallets and files.
  • Adware/tracking spyware - watch your browsing to profile you for ads. Often bundled with “free” software.
  • Stalkerware - consumer apps secretly installed on a partner’s or child’s phone. They track calls, messages and location. This is a serious, often abusive, privacy violation.

How it gets in

  • Bundled with free software - “free” downloads that quietly install extras.
  • Phishing - a malicious attachment or link.
  • Malicious or fake apps - especially outside official app stores.
  • Physical access - someone installing stalkerware directly on your device.

The pattern is familiar. It needs you to install something. Or it needs someone with access to your device.

Warning signs

A device acting strangely can hint at spyware. Watch for sudden slowness, a draining battery, or a device running hot. Watch for unexplained data usage, new toolbars or pop-ups, and settings changing on their own. You may also see apps you don’t remember installing. On phones, watch for unfamiliar apps with broad permissions (microphone, location, accessibility).

How to remove and prevent it

  • Remove - run a reputable anti-malware scan. On phones, uninstall unknown apps and revoke suspicious permissions. For serious infections, or suspected stalkerware, a factory reset is the most reliable clean slate. Back up your data first.
  • Prevent - keep your OS and apps updated. Install only from official stores and trusted sources. Use least privilege: don’t grant apps permissions they don’t need. And choose privacy-respecting platforms. A hardened phone OS like GrapheneOS and a degoogled setup cut both spyware and built-in tracking. See our best privacy phone guide.

The honest limit

No single tool catches everything. Anti-malware lags on new spyware. A VPN protects the network layer, but not your device itself. And determined commercial spyware can be hard to detect. So defence has to be layered: updates, least privilege, careful installs, and a willingness to reset a compromised device.

The bottom line

Spyware is malware built to watch you. Keyloggers, infostealers, adware and stalkerware all harvest your data while hiding. It arrives through bundled software, phishing, dodgy apps or physical access. Spot it by the warning signs. Remove it with a scan or a factory reset. Then prevent it with updates, least privilege, trusted sources and privacy-first platforms. The quieter the threat, the more your habits matter.

Editorial guide based on documented spyware types (keyloggers, infostealers, adware, stalkerware), infection vectors and removal/prevention practice. The commercial link carries the rel=“sponsored nofollow” attribute; an affiliate commission may apply at no extra cost to you.

Frequently asked questions

What is spyware?

Spyware is malware that secretly monitors your activity and collects information. That includes keystrokes, passwords, browsing, location or messages. It then sends this data to a third party, without your consent. It ranges from commercial “stalkerware” to advanced state-grade tools, and often hides to avoid detection.

What are the signs of spyware on a device?

Possible signs include unexpected battery drain, a device running hot, and higher data usage. You may also see sluggish performance, strange pop-ups, or settings changing on their own. But advanced spyware can be nearly invisible. So a lack of symptoms is not proof of safety. Keeping software updated is the better protection.

How do I remove and prevent spyware?

Update the OS and apps, since patches close the holes spyware exploits. Remove unknown apps, run a reputable scan, and as a last resort factory-reset the device. To prevent it, only install from trusted sources and don’t click suspicious links. Use strong device locks, and keep everything updated. For high-risk targets, specialised checks may be needed.