LOGBOOK

HELP

Quiz Entry - updated: 2026.07.14

What is the difference between a virus and a worm?

A virus needs a user action and a host file to spread; a worm self-replicates and spreads across networks on its own.

Key difference: How they spread

A virus attaching to a host file and needing user action, contrasted with a worm that self-replicates and spreads across networks on its own

* A virus rides a host file and needs you to run it; a worm is standalone and spreads across networks by itself. *

Malware Spread Method
Virus Requires user action (opening file, running program)
Worm Self-replicating, spreads automatically across networks

Virus:

  • Attaches to legitimate files
  • Needs a "host" to execute
  • Example: Infected email attachment

Worm:

  • Standalone program
  • Exploits network vulnerabilities
  • Can spread without user interaction
  • Example: WannaCry, SQL Slammer

Memory tip: A virus needs you to "catch it" (user action); a worm crawls on its own.

Go deeper:

From Quiz: NETW1 / Networking Today | Updated: Jul 14, 2026