Bitzu

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

Single choice

Which malware spreads across a network by itself without needing a host file or user action?

  1. Worm
  2. File virus
  3. Trojan
  4. 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.

Select all that apply

Which of these are types of computer virus?

  1. Boot sector virus
  2. Macro virus
  3. Polymorphic virus
  4. Stateful firewall
  5. 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.

True or false

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.

Download on the App StoreGet it on Google Play

More 312-50 topics in this module