Malware & Antivirus

Malware is malicious software designed to damage devices, steal information, spy on you or lock your files for ransom. It reaches people through email attachments, fake downloads, infected websites, bad apps and unpatched software. A few habits, such as updates, backups, careful downloads and antivirus, stop most of it.

Common types of malware

TypeWhat it does
Virus and wormSpreads between files or devices and can damage or slow a system
TrojanPretends to be a useful program, but hides harmful code
RansomwareLocks or encrypts your files and demands payment to release them
Spyware and keyloggersSecretly records activity, keystrokes, passwords or the screen
Adware and PUPsShows unwanted ads, changes browser settings or installs extra software
Botnets and backdoorsLets attackers control your device remotely, often to attack others
CryptominersUses your device’s power to mine cryptocurrency, making it slow and hot
InfostealersSteals saved passwords, cookies and wallets from browsers

How infections happen

Warning signs

These can have other causes, but check anyway.

Antivirus and built-in protection

Habits that prevent most infections

If you think you’re infected

  1. Disconnect from the internet (unplug the cable or turn off Wi-Fi) to stop it from spreading or sending data.
  2. Don’t pay a ransom before getting advice. Payment doesn’t guarantee getting files back, and it funds criminals. Report ransomware to the FBI’s Internet Crime Complaint Center (IC3) and to CISA.
  3. Run a full scan with your security software, and an offline or second-opinion scanner if needed. Remove or quarantine what it finds.
  4. Change passwords from a clean device, starting with email, banking and work accounts, and turn on two-factor authentication. See Hacked Accounts.
  5. Tell your employer right away if it’s a work device or if work accounts may have been exposed.
  6. Restore from a clean backup, or reset the device if the infection can’t be removed. Get help from a trusted technician if needed.
  7. Watch your accounts and credit if personal information may have been stolen. See Identity Theft.

Phones and tablets

Malware checklist

Standards & references

Last updated: