An experiment that got out of hand
In 1988, the internet was tiny. Only about 60,000 computers were connected to it, mostly at universities and research labs. It was a friendly place — people trusted each other because everyone seemed to be a scientist or a student.
On the evening of November 2, 1988, a 23-year-old graduate student at Cornell University named Robert Tappan Morris released a program he had written. Morris said later that he built it as an experiment: a program that could hop from computer to computer on its own, quietly showing how far it could get. He did not want to get caught, so he released it from an MIT computer instead of a Cornell one.
His program was a worm — a piece of code that copies itself from machine to machine without anyone clicking anything. But there was a bug in his plan. Morris had made the worm reinfect computers that were already infected, so it would be harder to kill. Within hours, thousands of computers were running hundreds of copies of the worm at once and grinding to a halt.
By the next morning, roughly 6,000 computers — about 10% of the whole internet — were down or so slow they were useless. Engineers at MIT, Berkeley, and Purdue worked through the night to pull the worm apart and figure out how to stop it. Some teams temporarily disconnected whole chunks of the internet to keep it from spreading further.
- What happened
- The Morris worm became the first big self-spreading program on the internet, slowing or crashing about 10% of all connected computers in one night.
- When
- November 2, 1988. Most damage happened within about a day.
- Who
- Robert Tappan Morris, a 23-year-old Cornell graduate student. His father was a top computer-security scientist at the NSA.
- The catch
- Morris said it was an experiment gone wrong. A design choice meant to keep the worm alive made it reinfect the same machines again and again.
Three open doors
The worm didn't break down one big locked door. It slipped through three small ones that computers back then left open all the time.
Door 1: a debug backdoor
A common mail program called sendmail had a hidden "debug" mode meant for testing. The worm used it to make a computer run commands it was never supposed to run for a stranger.
Door 2: an overflowing program
A tiny service called finger answered "who is logged in?" requests. The worm sent it an oversized request that spilled past its memory slot, so the overflow wrote the worm's own instructions right into the program. That's called a buffer overflow.
Door 3: easy passwords
Many computers trusted each other by default, and the worm carried a list of about 432 super-common passwords — things like "password" and "aaaaaa". A surprising number of accounts actually used them.
Simple definition: a worm is a program that copies itself from computer to computer across a network, all by itself. Unlike a virus, it doesn't need you to open a file or click a link. It travels on its own.
Once inside a new machine, the worm repeated the same trick: look for more computers, slip in, copy itself, move on. Nobody clicked "download." Nobody approved anything. It just spread, computer to computer, like a rumor.
Why a small bug became a disaster
Morris knew people might notice his worm and delete it. So he added a trick: if a computer was already infected, the worm would usually move along politely — but one time out of every seven, it would copy itself onto that machine anyway.
He thought that would keep a few spare copies alive in case anyone tried a cleanup. Instead, it meant infected computers filled up with dozens, then hundreds, of worm copies, each one competing for the same processor. The computers didn't get "hacked" in the movie sense — they were simply crushed under the weight of too many copies of the same small program.
This is the power of exponential growth: when each infected machine can infect several more, the numbers don't climb, they explode. It's the same math behind a rumor that doubles every time it's retold, or a video that gets shared faster than anyone can watch it.
Key insight: in software, a "harmless" experiment can still break things at scale. Intent matters to judges, but computers don't care what you meant — they only do what the code says.
What happened after
The Morris worm didn't steal money or delete files — its damage was downtime: frozen computers, lost work, and days of cleanup. Estimates at the time put the cost anywhere from hundreds of thousands to millions of dollars in wasted time and effort. But the bigger fallout was what it changed.
- Nov 2, 1988
The worm launches in the evening and spreads overnight through university computers.
- Nov 3–4, 1988
Teams at Berkeley, MIT, and Purdue work around the clock to dissect the code. Parts of the internet disconnect to stop the bleeding.
- Nov 1988
The New York Times names Morris. He becomes the first person convicted under the Computer Fraud and Abuse Act, the US law against unauthorized computer access.
- 1990
Morris is sentenced: three years of probation, 400 hours of community service, and a fine of about $10,050. No prison, but a felony on his record.
- Dec 1988
The government funds a brand-new team at Carnegie Mellon University: the Computer Emergency Response Team (CERT/CC) — the internet's first full-time incident-response squad. It still exists today.
- Years later
Morris becomes a respected programmer and professor: he co-founded the startup incubator Y Combinator and joined the faculty at MIT.
Two big lessons stuck. First: the internet needed an emergency team, because the next worm wouldn't wait politely. Second: curiosity is not a legal defense. Writing code that touches other people's computers without permission is a crime, even if you "just wanted to see what would happen."
Run the spread simulator
Below is a tiny pretend network of 24 computers. One starts infected. Each round, every infected computer tries to infect two neighbors. Press Next round and watch how fast it spreads. Then turn on reinfection — the Morris worm's bug — and see computers get overloaded and crash.
Notice the shape: slow at first, then suddenly everywhere. With reinfection off, the worm stops when every computer has one copy. With it on, computers pile up copies until they crash — which is exactly what made the real 1988 worm so destructive. The designers of the modern internet still think about this math every time something spreads.
What the Morris worm taught us
You probably won't write a worm. But you will build things, click things, and share things. The lessons from 1988 still apply:
Update when updates come out
The doors the worm used were known bugs. Updates close doors. "Remind me later" leaves them open.
Never use a lazy password
The worm guessed passwords like "password." A strong, unique password or a password manager shuts that door.
Ask before you experiment on others
Testing code on computers you don't own needs permission — always. That's true for a "harmless" script and a full worm.
Tell someone fast
The cleanup went faster because admins talked to each other. If you break something — or see something weird — reporting it quickly is what fixes it.
Remember: most security work isn't catching geniuses — it's closing boring little doors before something slips through them.
Try it with your family or class
Pick one of these to talk about at dinner, in the car, or with a classmate.
- Morris said he meant to measure the internet, not break it. Should what you meant matter when your program hurts people? Where would you draw the line?
- In 1988, people trusted other computers on the network by default. Do you assume apps and websites are safe by default? What would "trust but verify" look like for you?
- Find something else that grows exponentially — a rumor, a video, a chain message. How is it like a worm? What slows it down?
Check your understanding
In your own words: why did a small mistake — reinfecting computers that were already infected — turn the Morris worm from a quiet experiment into an overnight disaster?
Your answer:
Sample answer: The worm was supposed to skip computers it had already infected, but about 1 in 7 times it copied itself again anyway. So infected machines piled up more and more copies, which used up all their processing power until they slowed down or crashed. A single copy is easy to ignore; hundreds of copies on the same machine is a denial-of-service attack, even if nobody meant it to be one.
Quick quiz
1. What made the Morris worm different from a normal virus?
2. Why did the worm crash computers instead of just quietly sitting on them?
3. Which of these was a lasting result of the Morris worm?
Next: the worm that said "I love you"
The Morris worm traveled through open network doors. Twelve years later, a worm traveled through something trickier — people's curiosity. Meet the email that tricked millions into infecting themselves.
Part of the Cyber Attack Stories tutorial series.