StudyToCert

All certifications / A+ Core 2 / Lessons

CompTIA A+ Core 2 220-1202 · Domain 2: Security

Malware: virus, trojan, rootkit, ransomware, keylogger, spyware, adware, cryptominer, boot sector virus, stalkerware, fileless malware; tools such as anti-malware, recovery console, EDR/MDR/XDR, email security gateways

▶ Watch the overview video

Last reviewed September 30, 2026 · Leer en español

Malware is any software designed to harm a system or its user, and the exam expects you to identify each type from its behaviour or symptoms, then choose the right tool to deal with it. It helps to group malware by how it spreads, how it hides and what it does. A virus attaches itself to a legitimate program or file and spreads when that host is run or shared; it needs human action to spread. A boot sector virus infects the boot sector or master boot record, so it loads before the operating system and the antivirus software, making it hard to remove from within Windows. A trojan pretends to be useful software, such as a free game or a cracked application, but carries a hidden malicious function, often opening a backdoor. Trojans do not replicate on their own.

Free account

Keep reading for free

Create a free StudyToCert account to read the rest of this lesson: 7 more sections, 8 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.

Sign up free Log in

Study A+ Core 2 for free
A week-by-week plan with every lesson, quizzes, checkpoint tests, a practice exam and hands-on labs.
Open the A+ Core 2 study plan