On the evening of November 2, 1988, Robert Tappan Morris - a 23-year-old Cornell University graduate student - released a self-replicating program from an MIT computer account. Within hours, thousands of Unix workstations across the early internet were grinding to a halt. The Morris Worm, as it became known, was the first major malicious software incident on the internet and the event that forced the US government, universities, and the nascent security community to confront that networked computers were vulnerable in ways that nobody had adequately planned for.
Morris later claimed he intended the worm to demonstrate security vulnerabilities, not cause damage. Whether that was true or a post-arrest rationalization, the worm caused significant disruption: approximately 6,000 machines were infected (a substantial fraction of the 60,000 machines then on the internet), many were rendered unusable for days, and the estimated cleanup cost ran to millions of dollars. Morris was the first person convicted under the Computer Fraud and Abuse Act of 1986. The incident directly led to the creation of CERT/CC at Carnegie Mellon University.
The Three Exploits
The Morris Worm used three separate attack vectors to propagate, which was remarkable for 1988. Any one of them might have been patched quickly; the combination meant the worm could spread even if one or two vectors were closed.
The first was a buffer overflow in the Unix fingerd daemon. The finger protocol allowed users to query information about other users on a system. The fingerd program that processed these queries had a buffer overflow vulnerability: sending a specially crafted request that was longer than the buffer fingerd had allocated for it would overwrite adjacent memory, including the return address of the function, allowing arbitrary code execution. This was one of the first buffer overflow exploits deployed in the wild.
The second was a debug backdoor in sendmail. The Unix sendmail program handled email routing and had a DEBUG option intended for testing. The option allowed sending commands to the mailer, and through it, executing arbitrary programs. This was a known issue - the DEBUG option had been criticized - but had not been removed from production systems.
The third was password cracking via a built-in dictionary. The worm carried a list of 432 common passwords and attempted them against local user accounts, then used the cracked accounts to rsh/rexec to trusted remote systems. Unix systems commonly configured rsh trust relationships between machines - a machine that trusted another would accept remote command execution from it without a password. Once one machine on a trusted cluster was compromised, the others often fell automatically.
The Bug That Made It Worse
Morris apparently intended the worm to check whether a copy of itself was already running on a target system and not reinstall if one was found - a mechanism to limit spread. The check was: if an existing copy was found and asked "are you a copy?", it would report "yes" and the new copy would exit. But Morris added a countermeasure to prevent administrators from killing the worm by running a decoy that always answered "yes": even when an existing copy answered "yes," the new copy would still install itself with 1-in-7 probability.
This 1-in-7 override meant that machines quickly accumulated multiple worm copies. On some machines, dozens or hundreds of worm processes were running simultaneously, consuming all available CPU and memory and rendering the machines unusable. The system slowdown was the primary damage mechanism - the worm did not intentionally delete files or destroy data. It simply crashed systems by overloading them.
The rapid spread and system crashes caused genuine alarm. ARPANET administrators considered taking the network offline. Universities disconnected from the broader network to stop the spread. The crisis response was improvised because no formal incident response infrastructure existed for internet-wide events.
The Response and CERT/CC
Within hours of the worm's release, researchers at Berkeley, MIT, and Purdue were analyzing captured copies of the worm binary and developing countermeasures. The analysis was complicated by the worm's self-modifying behavior and the fact that it used xor-encrypted code sections. By 4 AM on November 3, researchers at Berkeley had developed and distributed a patch. By November 4, most affected systems were recovering.
The coordination of the response was improvised - researchers communicated via phone and the same email infrastructure the worm was damaging. The experience made clear that there needed to be a standing organization capable of coordinating response to internet security incidents. DARPA funded the Computer Emergency Response Team Coordination Center (CERT/CC) at Carnegie Mellon University in November 1988, directly as a result of the Morris Worm.
CERT/CC became the model for the national CERT infrastructure that exists in most countries today. The concept of a coordinating body for internet security incidents - receiving reports, analyzing threats, and distributing mitigations - was invented in response to six days of chaos in November 1988.
The Legal Aftermath
Morris was indicted under the Computer Fraud and Abuse Act of 1986, making him the first person prosecuted under the law. His defense argued that the worm was an experiment intended to measure the size of the internet, not cause damage. The jury convicted in January 1990.
Morris received a sentence of three years probation, 400 hours of community service, and a $10,050 fine - no prison time. The sentence reflected the novelty of the crime, the absence of malicious intent to destroy data, and the judge's reluctance to imprison someone for what was arguably a scientific experiment that went badly wrong.
Morris went on to a distinguished academic and entrepreneurial career. He completed his PhD at Harvard, co-founded Viaweb (later acquired by Yahoo as Yahoo Store), and became a professor at MIT. He was inducted into the Internet Hall of Fame in 2019. His worm is preserved at the Computer History Museum as a historical artifact.