Computer Worm

A computer worm is malware that spreads by itself from one computer to another across a network, usually by exploiting a security flaw, without anyone needing to open a file. Worms can infect thousands of systems in hours.

BeginnerCategory: Malware

Also called: worm, network worm

What is a computer worm?

NIST defines a worm as a computer program that can run independently, can spread a complete working version of itself onto other hosts on a network, and may consume computer resources destructively. The key difference from a virus is that a worm doesn't need a person to open a file.

How does a worm work?

A worm scans for other computers with the same weakness, such as an unpatched service or a weak password, breaks into each one, copies itself over and starts scanning again. Because every infected machine becomes a new launch point, worms spread very fast and can clog networks even before their payload does any harm.

Examples of worm attacks

WannaCry in May 2017 combined a worm with ransomware. CISA's alert explains that it spread through a vulnerability in Windows file sharing (SMB) that Microsoft had already patched in update MS17-010. Organizations that hadn't applied the patch saw it move from machine to machine across their networks and around the world within days.

How to protect your business

  • Apply security updates quickly, especially for flaws listed in CISA's Known Exploited Vulnerabilities catalog.
  • Don't expose file sharing or remote desktop to the internet.
  • Segment your network so one infected machine can't reach everything.
  • Use endpoint protection and keep offline backups.

Related terms

Sources

  1. Glossary: worm (NIST)
  2. Indicators Associated With WannaCry Ransomware (CISA)

Drafted with AI assistance, then edited and fact-checked by a person. How we use AI.