Sub topic 7
Malware types and how they differ
This chapter assumes you know basic Windows usage and what antivirus software does. It covers the malware categories that A+ Core 2 expects you to tell apart from a short scenario. Symptoms and removal come in later chapters.
What malware is
Malware is software built to harm a system, steal data, or give an attacker control. The exam rarely asks for definitions. It describes behavior and asks you to name the type. Focus on two questions. How does it spread? What does it do once it runs?
The main types
| Type | Key trait | Typical clue in a scenario |
|---|---|---|
| Virus | Attaches to a host file and needs a user to run it | Infected file opened or macro enabled |
| Worm | Self-replicates across the network with no user action | Rapid spread, network slowdown |
| Trojan | Looks like useful software but hides a payload | "Free" tool or cracked app installed |
| Ransomware | Encrypts files and demands payment | Files locked, ransom note |
| Spyware | Secretly gathers information | Browsing or personal data leaks |
| Keylogger | Records keystrokes | Passwords captured after typing |
| Rootkit | Hides deep in the OS, often at kernel level | Scans find nothing, yet symptoms persist |
| Cryptominer | Uses your CPU or GPU to mine cryptocurrency | High CPU, fans loud, slow machine |
Spread versus payload
Some types are defined by how they spread, and others by what they do. A virus, a worm and a trojan describe delivery. Ransomware, spyware, keyloggers and cryptominers describe the payload. A trojan can deliver ransomware, so one incident can fit two labels. On the exam, pick the label that matches the detail the question emphasizes.
Common exam confusions
- Virus or worm: If a user must open a file, it is a virus. If it spreads by itself over the network, it is a worm.
- Trojan or virus: A trojan does not copy itself into other files. It relies on the user trusting it.
- Spyware or keylogger: A keylogger is a kind of spyware that captures only keystrokes. Spyware is the broader term.
- Rootkit: The defining feature is concealment. It hides itself and other malware from the OS and from scanners. Removal often needs offline scanning or a rebuild.
Worked example
A user downloads a free PDF converter. Afterward, the PC is slow and the fan runs constantly. Task Manager shows high CPU use from an unfamiliar process.
The delivery method was a trojan, because the converter was a disguised program. The payload was a cryptominer, because it consumed CPU for mining. The best single answer depends on the question. "How did it arrive?" gets trojan. "What is it doing?" gets cryptominer.
Exercise
A technician finds that a laptop has no visible malicious process, and antivirus scans come back clean. Yet the laptop keeps contacting an unknown server. Which malware type best fits, and why?
Show answer
A rootkit. Its defining trait is hiding itself from the OS and security tools, which explains the clean scans despite continued malicious activity.
Exercise
An email attachment is opened by one employee. Within minutes, many other computers on the network show the same infection, and nobody else opened the attachment. Is this a virus or a worm?
Show answer
A worm. It spread to other computers without further user action. A virus would need each user to run an infected file.