Computer Worms: How One Infection Can Copy Itself Onward
A computer worm is a self-contained program that can copy itself between systems. In cybersecurity, the term usually describes malicious software that spreads this way. It doesn't need to insert itself into another program to reproduce.
That is the central distinction from a computer virus, which replicates through a host program or file. It isn't a guarantee that no person ever helped the worm arrive or run.
To understand an outbreak, separate three questions: how did the software first arrive, how did it copy itself onward, and what else did it do once it was running?
- Stop ransomware and malware before they reach your files.
- Bank and shop in a browser built to keep transactions private.
- Cover five devices, from Windows and Mac to phones.
The next machine needs a route in
Consider a worm already running on one computer. It looks for other machines offering a network service—a program that accepts and handles requests over a network.
If a reachable service contains a flaw the worm knows how to exploit, the worm may use that flaw to run a copy on the second machine. Exploiting a flaw means putting the weakness to use to make a system do something it shouldn't.
The second copy can look for another reachable, vulnerable system and repeat the process. Each new target still has to meet the conditions for infection, including the required access and software weakness.
The National Institute of Standards and Technology (NIST), a U.S. standards agency, distinguishes worms that exploit network services from self-contained worms distributed through mass mailings in its malware-handling guide. Malware means software made for harmful purposes. The category includes more than one route onto a computer.
A person's action can help with initial delivery even when later copying happens automatically. “It spreads itself” explains a capability; it doesn't explain every step that came before it.
WannaCry combined two jobs
The 2017 WannaCry outbreak, also called WannaCrypt, illustrates why a spreading method and a harmful result need different names.
Ransomware denies access to files or systems and demands payment. WannaCrypt combined that kind of harm with worm-like spread. Microsoft's May 12, 2017 analysis described it spreading through a vulnerability in SMB, short for Server Message Block, a protocol used for network file sharing.
Microsoft had released a fix for that vulnerability before the outbreak. The computers reached through it remained vulnerable; a released update and an installed update aren't the same thing.
The early analysis didn't establish exactly how the malware first entered. It did establish a mechanism for onward spread.
Other worms can perform different tasks. The payload is the harmful activity beyond replication, such as the file encryption in a ransomware attack. The copying itself can also consume computer and network resources, as NIST's worm definitions note.
A Virus, a Worm, or a Trojan? The Difference Matters
Break a step in the chain
For a worm exploiting a known service flaw, installing the relevant software patch removes that weakness from the path. Restricting unnecessary access to the service can interrupt the route to it. Those measures address specific steps, rather than depending on whether a user notices something suspicious.
An update program also needs to verify which machines received the fix. One repaired laptop doesn't close the same flaw on the machines beside it. The next copy of a worm follows the available route, regardless of how many other computers have already been protected.
Computer Viruses: The Harmful Code That Copies Into a Host

Botnets: When Other People's Computers Become an Attack Tool

Robert Tappan Morris: Life After the Internet Worm

QUOTE:
"Amateurs hack systems, professionals hack people."
