Malware and Malicious Activity
Unlock the complete study guide + 1,040 practice questions across 16 full exams.
Bundled into the existing CompTIA Security+ premium course — no separate purchase.
Included in this chapter:
- Propagation taxonomy: virus vs worm vs trojan
- Payload and persistence types: RAT, rootkit, fileless, ransomware, logic bomb, botnet
- Exam-pattern recognition for SY0-701 malware items
SY0-701 malware types: propagation, goal, and example trigger
| Type | How it propagates | Primary goal | Distinguishing trait |
|---|---|---|---|
| Virus | Attaches to a host file; runs when user executes it | Corrupt/spread payload via infected files | Needs user action; not self-propagating |
| Worm | Self-replicates across networks, no user action | Rapid mass infection | Spreads autonomously over the network |
| Trojan | Disguised as legitimate software the user runs | Deliver a hidden payload | Relies on deception; does not self-replicate |
| RAT | Delivered as a trojan payload | Interactive remote control of the host | Gives attacker a remote console / backdoor |
| Ransomware | Often via phishing, RDP, or worm-like spread | Extort payment by encrypting/locking data | Encryption + ransom demand (double-extortion = also leak) |
| Spyware / Keylogger | Bundled with trojans or drive-by installs | Covertly collect activity / capture keystrokes | Exfiltrates user data; keylogger = keystrokes specifically |
| Rootkit | Installed post-compromise at kernel/boot/firmware | Hide presence and maintain privileged access | Subverts the OS; survives reinstall (bootkit) |
| Fileless malware | Loads into memory via legitimate tools (LOLBins) | Execute without writing to disk | No on-disk artifact; evades signature AV |
| Logic bomb | Embedded by an insider or in trusted code | Detonate payload when a condition is met | Trigger-based (date/event), not propagation-based |
| Botnet | Hosts recruited via worms/trojans, joined to C2 | Coordinated DDoS, spam, distributed attacks | Many bots controlled via command-and-control |
| Bloatware | Preinstalled by OEM/vendor | Generally unwanted, not malicious by design | Enlarges attack surface; not a malicious payload |
Decision tree
Cheat sheet
Unlock with Premium — includes all practice exams and the complete study guide.