Spyware

Spyware is malware that secretly gathers information from a device, such as passwords, browsing activity, messages or keystrokes, and sends it to someone else. Infostealers are a common type that targets saved logins and sessions.

BeginnerCategory: Malware

Also called: infostealer, information stealer, stalkerware

What is spyware?

NIST defines spyware as software that is secretly installed on a system to gather information on individuals or organizations without their knowledge. It is built to stay hidden while it watches.

How does spyware work?

Spyware usually arrives bundled with free software, through a phishing attachment, a fake app or browser extension, or a malicious download. Once running, it collects data and sends it to the attacker's server. For businesses, the most damaging kind today is the infostealer: it copies saved browser passwords, cookies and session tokens in seconds. With a stolen session token, an attacker can sometimes get into an account without needing the password or MFA code.

Common types

  • Infostealers that grab saved logins, cookies and crypto wallets.
  • [Keyloggers](/glossary/keylogger/) that record what you type.
  • Stalkerware installed on a phone to track a person's messages and location.
  • [Adware](/glossary/adware/) and tracking software that monitor browsing, sometimes overlapping with spyware.

How to protect your business

  • Use endpoint protection that detects infostealers, and don't let staff save work passwords in personal browsers.
  • Use a company password manager and phishing-resistant MFA.
  • Restrict software and browser extension installs.
  • If spyware is found, reset passwords from a clean device and sign out all active sessions, not just change the password.

Related terms

Sources

  1. Glossary: spyware (NIST)
  2. How To Recognize, Remove, and Avoid Malware (Federal Trade Commission)

Drafted with AI assistance, then edited and fact-checked by a person. How we use AI.