Security & Privacy

Computer worm

Also known as: worm, network worm, internet worm

A computer worm is a type of malware that spreads on its own from one computer to another, usually by exploiting security flaws or weak passwords, without needing a person to open a file.

Because worms copy themselves automatically, they can infect huge numbers of systems in hours. While classic worm outbreaks have become rarer thanks to automatic updates and firewalls, events like WannaCry showed that unpatched networks remain vulnerable.

Computer worm, explained at three levels

At home

A worm spreads like a cold through a classroom: nobody has to do anything wrong except sit near someone who's sick. Once it infects one computer, it searches the network for other machines with the same unpatched weakness or weak password, copies itself onto them, and each new victim starts searching too. That's how worms can reach huge numbers of computers within hours.

At work

A computer worm is malware that copies itself from machine to machine across a network, usually through an unpatched flaw or weak password, with no one clicking anything. Because every infected computer helps spread it, a worm can reach a whole company network in minutes. Businesses defend by patching quickly, especially for flaws flagged as wormable, and separating networks so an outbreak can't reach everything.

Real-world examples

At home

Thomas remembers his university's computers slowing to a crawl in 2003 when the Blaster worm spread across campus. The IT team spent days patching every machine.

At work

Lena is IT manager at a Moncton manufacturing plant. During WannaCry, older factory computers were at risk, so she isolated them from the office network and applied emergency patches.

How it compares

featureComputer wormComputer virus
Needs a host fileNoYes, attaches to files
Spreads by itselfYes, across networksWhen infected files are shared or run
SpeedVery fastSlower
Main defencePatching and segmentationAntivirus and safe file habits

Viruses ride along with files. Worms travel on their own.

For analysts

I'd make sure patching covers every networked device, including old ones nobody likes to touch. Worms find the one machine everyone forgot.

History & origin

On November 2, 1988, Cornell graduate student Robert Tappan Morris released the Morris worm, which infected an estimated 6,000 computers, roughly a tenth of the internet at the time, and led to the first felony conviction under the US Computer Fraud and Abuse Act. The ILOVEYOU worm in May 2000 spread through email and caused billions of dollars in damage. Code Red in 2001, Blaster in 2003, and Conficker in 2008 spread through Windows flaws. Stuxnet, discovered in 2010, was a worm built to sabotage Iran's nuclear program. In May 2017, WannaCry used the leaked NSA exploit EternalBlue to infect hundreds of thousands of computers worldwide, disrupting the UK's National Health Service. In my view, the Morris worm was the internet's first real wake-up call, and WannaCry proved we kept hitting snooze.