2. Malware Types and Removal¶
Malware is any software designed to cause harm or operate without informed consent. The different types are named for how they behave, not just "how bad" they are.
| Type | Defining behavior |
|---|---|
| Virus | Attaches to a legitimate file/program, spreads when that file runs or is shared |
| Worm | Spreads on its own across a network, no user action needed |
| Trojan | Disguised as something legitimate/wanted, does something else once run |
| Ransomware | Encrypts a victim's files, demands payment for the key to unlock them |
| Spyware | Quietly collects information (keystrokes, browsing, credentials) and sends it elsewhere |
| Rootkit | Hides deep in the system specifically to avoid detection by normal security tools |
Removal process¶
- Identify the infection — what symptoms, what tool flagged it.
- Quarantine/isolate the affected system — disconnect it from the network before doing anything else, so it can't spread further or keep sending data out.
- Remediate — run removal tools, and for serious infections, consider that a full OS reinstall may be more reliable than "cleaning" a system that's been deeply compromised.
- Update and patch everything, specifically to close whatever let the infection in originally.
- Educate whoever was affected, if user action was part of how it got in.
- Document what happened.
Try it
A computer suddenly has all its documents renamed with a strange extension and a message demanding payment. Name the malware type, and the very first step you'd take before anything else.
Tip
Disconnecting from the network (unplugging the cable, disabling Wi-Fi) is usually a faster, more reliable first move than trying to fix anything while a system might still be actively spreading or leaking data.
Play it
Open the Security Fundamentals Lab and use the Malware tab.