Which malware spreads by inserting copies of itself into host programs or data files?

Virus, it attaches to a host file and usually needs user action to run.

Start playing free

  1. A worm
  2. A virus ✔
  3. A rootkit

Why: Viruses are often triggered when you open a file or run a program. A worm, by contrast, is self-contained and spreads on its own.

Huh, didn't know that: NIST SP 800-83 says antivirus software is the most commonly used technical control for mitigating malware threats.

The dad joke
What is a computer virus? A terminal illness!
Like this card?
Play the game

References

Answer: A virus. Viruses are often triggered when you open a file or run a program. A worm, by contrast, is self-contained and spreads on its own.

  1. NIST SP 800-83 Rev. 1, Guide to Malware Incident Prevention and Handling nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-83r1.pdf
    A virus self-replicates by inserting copies of itself into host programs or data files.
    Checked 2026-10-10.

Think this answer is wrong? Tap "Challenge this answer" on the card in the game and tell us why.

Test yourself in the game