Jump to content

Morris worm: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
Trek00 (talk | contribs)
m specified what software without an example
Line 8: Line 8:
==Architecture of the worm==
==Architecture of the worm==
[[File:Morris Worm.jpg|right|thumb|180px|Disk containing the source code for the Morris Worm held at the [[Computer History Museum]].]]
[[File:Morris Worm.jpg|right|thumb|180px|Disk containing the source code for the Morris Worm held at the [[Computer History Museum]].]]
According to its creator, the Morris worm was not written to cause damage, but to gauge the size of the Internet. The worm was released from [[MIT]] in the hope of suggesting that its creator studied there {{Citation needed|date=September 2015}}, which Morris did not (n.b. Morris is currently a tenured professor at MIT). It worked by exploiting known vulnerabilities in [[Unix]] [[sendmail]], [[Finger protocol|finger]], and [[Remote Shell|rsh]]/[[rexec]], as well as [[weak password]]s.<ref>{{cite web|url=http://www.loundy.com/CASES/US_v_Morris2.html |title=US vs. Morris |publisher=Loundy.com |date= |accessdate=2014-02-05}}</ref> Due to reliance on [[Remote Shell|rsh]] (normally disabled on untrusted networks), fixes to sendmail, finger, the widespread use of [[fail2ban]] and similar software, and improved awareness of the dangers of weak passwords, it should not succeed on a recent, properly configured system.
According to its creator, the Morris worm was not written to cause damage, but to gauge the size of the Internet. The worm was released from [[MIT]] in the hope of suggesting that its creator studied there {{Citation needed|date=September 2015}}, which Morris did not (n.b. Morris is currently a tenured professor at MIT). It worked by exploiting known vulnerabilities in [[Unix]] [[sendmail]], [[Finger protocol|finger]], and [[Remote Shell|rsh]]/[[rexec]], as well as [[weak password]]s.<ref>{{cite web|url=http://www.loundy.com/CASES/US_v_Morris2.html |title=US vs. Morris |publisher=Loundy.com |date= |accessdate=2014-02-05}}</ref> Due to reliance on [[Remote Shell|rsh]] (normally disabled on untrusted networks), fixes to sendmail, finger, the widespread use of network filtering, and improved awareness of the dangers of weak passwords, it should not succeed on a recent, properly configured system.


A supposedly unintended consequence of the code, however, caused it to be more damaging: a computer could be infected multiple times and each additional process would slow the machine down, eventually to the point of being unusable. This would have the same effect as a [[fork bomb]] and crash the computer. The main body of the worm could only infect [[Digital Equipment Corporation|DEC]] [[VAX]] machines running 4[[Berkeley Software Distribution|BSD]], and [[Sun-3]] systems. A portable [[C (programming language)|C]] "grappling hook" component of the worm was used to pull over (download) the main body, and the grappling hook could run on other systems, loading them down and making them peripheral victims.
A supposedly unintended consequence of the code, however, caused it to be more damaging: a computer could be infected multiple times and each additional process would slow the machine down, eventually to the point of being unusable. This would have the same effect as a [[fork bomb]] and crash the computer. The main body of the worm could only infect [[Digital Equipment Corporation|DEC]] [[VAX]] machines running 4[[Berkeley Software Distribution|BSD]], and [[Sun-3]] systems. A portable [[C (programming language)|C]] "grappling hook" component of the worm was used to pull over (download) the main body, and the grappling hook could run on other systems, loading them down and making them peripheral victims.

Revision as of 05:17, 12 January 2016

The Morris worm or Internet worm of November 2, 1988 was one of the first computer worms distributed via the Internet. It was the first to gain significant mainstream media attention. It also resulted in the first felony conviction in the US under the 1986 Computer Fraud and Abuse Act.[1] It was written by a graduate student at Cornell University, Robert Tappan Morris, and launched on November 2, 1988 from MIT.

Architecture of the worm

Disk containing the source code for the Morris Worm held at the Computer History Museum.

According to its creator, the Morris worm was not written to cause damage, but to gauge the size of the Internet. The worm was released from MIT in the hope of suggesting that its creator studied there [citation needed], which Morris did not (n.b. Morris is currently a tenured professor at MIT). It worked by exploiting known vulnerabilities in Unix sendmail, finger, and rsh/rexec, as well as weak passwords.[2] Due to reliance on rsh (normally disabled on untrusted networks), fixes to sendmail, finger, the widespread use of network filtering, and improved awareness of the dangers of weak passwords, it should not succeed on a recent, properly configured system.

A supposedly unintended consequence of the code, however, caused it to be more damaging: a computer could be infected multiple times and each additional process would slow the machine down, eventually to the point of being unusable. This would have the same effect as a fork bomb and crash the computer. The main body of the worm could only infect DEC VAX machines running 4BSD, and Sun-3 systems. A portable C "grappling hook" component of the worm was used to pull over (download) the main body, and the grappling hook could run on other systems, loading them down and making them peripheral victims.

The mistake

The critical error that transformed the worm from a potentially harmless intellectual exercise into a virulent denial of service attack was in the spreading mechanism. The worm could have determined whether to invade a new computer by asking whether there was already a copy running. But just doing this would have made it trivially easy to kill: everyone could just run a process that would answer "yes" when asked whether there was already a copy, and the worm would stay away. The defense against this was inspired by Michael Rabin's mantra "Randomization". To compensate for this possibility, Morris directed the worm to copy itself even if the response is "yes" 1 out of 7 times.[3] This level of replication proved excessive, and the worm spread rapidly, infecting some computers multiple times. Rabin said that Morris "should have tried it on a simulator first."[4]

Effects of the worm

The U.S. Government Accountability Office put the cost of the damage at $100,000–10,000,000.[5] Clifford Stoll, who helped fight the worm, wrote in 1989 "I surveyed the network, and found that two thousand computers were infected within fifteen hours. These machines were dead in the water—useless until disinfected. And removing the virus often took two days."[6] It is usually reported that around 6,000 major UNIX machines were infected by the Morris worm; however, Morris's colleague Paul Graham claimed, "I was there when this statistic was cooked up, and this was the recipe: someone guessed that there were about 60,000 computers attached to the Internet, and that the worm might have infected ten percent of them."[7] (Stoll wrote "Rumors have it that [Morris] worked with a friend or two at Harvard's computing department (Harvard student Paul Graham sent him mail asking for 'Any news on the brilliant project')".[6])

The Internet was partitioned for several days, as regional networks disconnected from the NSFNet backbone and from each other to prevent recontamination as they cleaned their own networks.

The Morris worm prompted DARPA to fund the establishment of the CERT/CC at Carnegie Mellon University to give experts a central point for coordinating responses to network emergencies.[8] Gene Spafford also created the Phage mailing list to coordinate a response to the emergency.

Robert Morris was tried and convicted of violating United States Code: Title 18 (18 U.S.C. § 1030), the Computer Fraud and Abuse Act[9] in United States v Morris. After appeals he was sentenced to three years probation, 400 hours of community service, a fine of $10,050 plus the costs of his supervision.[10]

The Morris worm has sometimes been referred to as the "Great Worm", because of the devastating effect it had on the Internet at that time, both in overall system downtime and in psychological impact on the perception of security and reliability of the Internet. The name was derived from the "Great Worms" of Tolkien: Scatha and Glaurung.[11]

In the visual novel Digital: A Love Story, the Morris worm is portrayed as a cover story for a large-scale attack on ARPANET and several bulletin board systems.

In the epilogue of his book The Cuckoo's Egg, Stoll details his efforts battling the Morris Worm.

See also

Notes and references

  1. ^ Dressler, J. (2007). "United States v. Morris". Cases and Materials on Criminal Law. St. Paul, MN: Thomson/West. ISBN 978-0-314-17719-3.
  2. ^ "US vs. Morris". Loundy.com. Retrieved 2014-02-05.
  3. ^ "Court Appeal of Morris". Retrieved 2014-02-05.
  4. ^ Maynor, David. Metasploit Toolkit.
  5. ^ During the Morris appeal process, the U.S. Court of Appeals estimated the cost of removing the virus from each installation was in the range of $200 - 53,000. Possibly based on these numbers, Harvard spokesman Clifford Stoll estimated the total economic impact was between $100,000 - 10,000,000.
  6. ^ a b Stoll, Clifford (1989). "Epilogue". The Cuckoo's Egg. Doubleday. ISBN 978-0-307-81942-0.
  7. ^ "The Submarine". Paulgraham.com. Retrieved 2014-02-05.
  8. ^ "Security of the Internet. CERT/CC". Cert.org. 1998-09-01. Retrieved 2014-02-05.
  9. ^ United States v. Morris (1991), 928 F.2d 504, 505 (2d Cir. 1991).
  10. ^ "Computer Intruder is Put on Probation and Fined" by John Markoff, New York Times. The total fine ran to $13,326, which included a $10,000 fine, $50 special assessment, and $3,276 cost of probation oversight.
  11. ^ Great Worm from The Jargon File