
Malware is the general name for software designed to damage your device, steal data or take control. A "virus" is only one type.
Main types
| Type | What it does |
|---|---|
| Virus | Infects other files and spreads; a file must be opened for it to run |
| Worm | Spreads by itself across networks without user action |
| Trojan | Looks like useful software but secretly does harm |
| Spyware | Secretly monitors your activity, keystrokes and passwords |
| Adware | Shows excessive ads and redirects the browser |
| Ransomware | Encrypts files and demands money (see our ransomware guide) |
| Rootkit | Hides its presence while gaining deep access |
| Botnet | Makes your device part of a remotely controlled network |
| Crypto miner | Uses your device's power to mine crypto without permission |
| Mobile malware | Infects through phone apps |
How does it infect?
- Phishing emails and attachments (see our phishing guide).
- Software downloaded from untrusted sites, pirated programs.
- Malicious ads and fake update prompts.
- Documents containing macros (see our Excel macro guide).
- USB sticks.
- Unpatched software with vulnerabilities.
- Malicious browser extensions (see our Chrome extensions guide).
- Fake apps and QR code links (see our QR code guide).
Signs
- The device slows down or heats up unexpectedly.
- Apps you don't recognise and browser extensions.
- The search engine or home page changing; many pop-up ads.
- Battery drains quickly, data use rises.
- Files won't open or a ransom note.
- Unfamiliar transactions or sign-in alerts on your accounts.
- Antivirus switching itself off.
If you suspect it
- Disconnect from the network (turn off Wi-Fi and unplug the cable).
- Run a full scan with security software (see our Windows Defender guide); use the offline scan option.
- Remove unknown apps and extensions.
- Change passwords from another clean device; especially email and bank (see our guide on what to do when an account is hacked).
- If needed, reset to factory settings and restore only clean data from backup.
- Inform your bank; financial data may have been stolen.
Protection
- Keep the system and apps updated.
- Keep security software on and current; keep the firewall enabled (see our firewall guide).
- Download only from official stores; avoid pirated software.
- Don't open unknown attachments and links.
- Use strong passwords and two-factor authentication.
- Don't do daily work with an admin account.
- Take regular backups (see our 3-2-1 backup guide).
- Use disk encryption and a screen lock.
- Train staff (at work).
On phones
Install only from official app stores, check app permissions (see our app permissions guide), keep the system updated and leave the "install from unknown sources" option off.
Summary
Malware is varied but the principles of protection are similar: updates, caution, backups and layered defence.
Serkan Akyürek is the founder and author of toolrota; he writes step-by-step guides on Excel, AI, the cloud, personal finance and digital security.