312-50 ยท Malware threats
Viruses and worms
Virus types (boot sector, macro, polymorphic, metamorphic, stealth), worm propagation, and how they differ.
Key points
- Virus: attaches to a host file or program, spreads when it is executed, needs user action.
- Worm: standalone, spreads by itself across networks, usually via vulnerabilities or weak credentials.
- Boot sector: infects the boot area. Macro: lives in documents.
- Polymorphic: changes its decryptor each copy.
- Metamorphic: rewrites its own code.
- Stealth: hides its changes from the OS.
Practice questions
Which malware spreads across a network by itself without needing a host file or user action?
- Worm
- File virus
- Trojan
- Macro virus
Show answer
Answer: A. Worm
A worm is self-propagating. Viruses need a host and an execution event, and Trojans rely on deception.
Which of these are types of computer virus?
- Boot sector virus
- Macro virus
- Polymorphic virus
- Stateful firewall
- Type 1 hypervisor
Show answer
Answer: A. Boot sector virus, B. Macro virus, C. Polymorphic virus
Boot sector, macro and polymorphic viruses are all established categories. A firewall and a hypervisor are not viruses.
A polymorphic virus changes its functionality with every copy, which is why it is hard to detect.
Show answer
Answer: False
False. A polymorphic virus changes its appearance (for example its encryption key or decryptor) while the payload logic stays the same. Rewriting the actual code is metamorphic behaviour.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
