Malware, short for malicious software, is any program made to harm you or your device. Some steals passwords or money, some spies on you, some fills your browser with ads, and some locks your files until you pay.
Malware and viruses
People often say “virus” for any malware. Strictly, a virus is one kind: it spreads by copying itself into other files. Most malware today doesn’t spread that way. It gets you to install it, often as a fake app, a cracked download or a command a web page asks you to paste into Terminal (ClickFix).
The main kinds
- Infostealers copy saved passwords and browser cookies, then upload them. Mac stealers such as AMOS are sold to criminals as a service.
- Spyware watches what you do, such as your screen, your keyboard or your location.
- Adware changes your browser and shows ads you didn’t ask for.
- Ransomware locks your files and asks for money to unlock them.
- Remote access tools, when someone else installed them, let a stranger control your computer.
On a Mac
Less malware is made for Macs than for Windows PCs, but Macs do get it. macOS checks apps before they open with Gatekeeper and scans for known malware with XProtect. Neither stops you from typing your password into a fake prompt, which is how many Mac stealers get what they want.
On Windows
Windows has the same kinds of malware, and more of it. Windows includes Microsoft Defender Antivirus, which scans files as you download and open them.
How to check
Our guide on how to tell if your Mac has a virus lists the signs, and how to scan a Mac for malware covers the free tools.