TechKnowSurge
CompTIA Security+ 2.4
InteractiveSecurityFree

Virus or Worm?

Both self-replicate. The line is the host: a virus rides inside another file, a worm stands alone. Land five in a row.

⚑ Complete this interactive to capture a CTF flag worth 5 points.

About this interactive

What you are doing: deciding, one description at a time, whether it is a virus or a worm. The one line that matters: both self-replicate, so speed and damage do not decide it — dependency does. A virus inserts its code into an existing file or program and does nothing until a person runs that file; it travels host to host inside the files people share. A worm carries its own code, needs no host to live in, and spreads across the network by itself, with no user action, often filling bandwidth as it multiplies. How to use it: ask whether it needs a host file and a human to run it. If yes, virus. If it spreads on its own as a standalone program, worm. A wrong answer resets your streak and shows the right bin.

What you'll learn

Aligned to

CompTIA Security+
2.4 Given a scenario, analyze indicators of malicious activity.

Key terms

Virus
Malicious code that attaches itself to legitimate programs and replicates when executed.
Worm
Self-replicating malware that spreads across networks without requiring user interaction.
Self-Replication
The ability of malicious code to automatically copy itself from one file or program to another, spreading infection without user intervention.
Malware
Software specifically designed to disrupt, damage, or gain unauthorized access to a system.

Topics

Virus Worm Self Replication Interactive Streak Sort

About TechKnowSurge

TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.

Explore free tools and programs →