Virus vs Worm
A virus attaches to a file and needs a person to run it; a worm spreads across networks on its own.
Virus
Malware that hides inside another file and spreads when that file runs.
Worm
Malware that copies itself across networks without help.
| Virus | Worm | |
|---|---|---|
| Needs a host file | Yes | No |
| Needs a person to act | Usually | No |
| Spreads through | Shared files, attachments | Network weaknesses |
Example
Opening an infected attachment spreads a virus; a worm can reach an unpatched computer with nobody clicking anything.