Computer worm

{{Short description|Self-replicating malware program}}

{{About|coding of a worm|the data storage device|write once read many|other uses|Worm (disambiguation)}}

{{Distinguish|Computer virus}}

{{pp-move}}

File:Virus Blaster.jpg of the Blaster worm, showing a message left for Microsoft CEO Bill Gates by the worm's creator]]

File:Conficker.svg]]

A computer worm is a standalone malware computer program that replicates itself in order to spread to other computers.{{cite web|last=Barwise|first=Mike|title=What is an internet worm?|url=http://www.bbc.co.uk/webwise/guides/internet-worms|publisher=BBC|access-date=9 September 2010|archive-url=https://web.archive.org/web/20150324073759/http://www.bbc.co.uk/webwise/guides/internet-worms|archive-date=2015-03-24}} It often uses a computer network to spread itself, relying on security failures on the target computer to access it. It will use this machine as a host to scan and infect other computers. When these new worm-invaded computers are controlled, the worm will continue to scan and infect other computers using these computers as hosts, and this behaviour will continue.{{Cite journal|last1=Zhang|first1=Changwang|last2=Zhou|first2=Shi|last3=Chain|first3=Benjamin M.|date=2015-05-15|title=Hybrid Epidemics—A Case Study on Computer Worm Conficker|journal=PLOS ONE|volume=10|issue=5|pages=e0127478|doi=10.1371/journal.pone.0127478|pmid=25978309|pmc=4433115|arxiv=1406.6046|bibcode=2015PLoSO..1027478Z|issn=1932-6203|doi-access=free}} Computer worms use recursive methods to copy themselves without host programs and distribute themselves based on exploiting the advantages of exponential growth, thus controlling and infecting more and more computers in a short time.{{Cite journal|last=Marion|first=Jean-Yves|date=2012-07-28|title=From Turing machines to computer viruses|journal=Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences|volume=370|issue=1971|pages=3319–3339|doi=10.1098/rsta.2011.0332|pmid=22711861|bibcode=2012RSPTA.370.3319M|issn=1364-503X|doi-access=free}} Worms almost always cause at least some harm to the network, even if only by consuming bandwidth, whereas viruses almost always corrupt or modify files on a targeted computer.

Many worms are designed only to spread, and do not attempt to change the systems they pass through. However, as the Morris worm and Mydoom showed, even these "payload-free" worms can cause major disruption by increasing network traffic and other unintended effects.

History

The first ever computer worm is generally accepted to be a self-replicating version of Creeper created by Ray Tomlinson and Bob Thomas at BBN in 1971 to replicate itself across the ARPANET.{{cite book |url=https://books.google.com/books?id=xv9UAAAAMAAJ |title=IEEE Annals of the History of Computing |publisher=IEEE Computer Society |year=2005 |volume=27–28 |page=74 |quote=[...]from one machine to another led to experimentation with the Creeper program, which became the world's first computer virus: a computation that used the network to recreate itself on another node, and spread from node to node. The source code of creeper remains unknown.}}[https://www.theguardian.com/technology/2009/oct/23/internet-history From the first email to the first YouTube video: a definitive internet history]. Tom Meltzer and Sarah Phillips. The Guardian. 23 October 2009 Tomlinson also devised the first antivirus software, named Reaper, to delete the Creeper program.

The term "worm" was first used in this sense in John Brunner's 1975 novel, The Shockwave Rider. In the novel, Nichlas Haflinger designs and sets off a data-gathering worm in an act of revenge against the powerful people who run a national electronic information web that induces mass conformity. "You have the biggest-ever worm loose in the net, and it automatically sabotages any attempt to monitor it. There's never been a worm with that tough a head or that long a tail!"{{Cite book |first=John |last=Brunner |title=The Shockwave Rider |location=New York |publisher=Ballantine Books |year=1975 |isbn=978-0-06-010559-4 |url-access=registration |url=https://archive.org/details/shockwaverider0000brun }} "Then the answer dawned on him, and he almost laughed. Fluckner had resorted to one of the oldest tricks in the store and turned loose in the continental net a self-perpetuating tapeworm, probably headed by a denunciation group "borrowed" from a major corporation, which would shunt itself from one nexus to another every time his credit-code was punched into a keyboard. It could take days to kill a worm like that, and sometimes weeks."

Xerox PARC was studying the use of "worm" programs for distributed computing in 1979.{{Cite IETF|rfc=2555|title=Internet Meeting Notes 8, 9, 10 & 11 May 1979|page=5|date=17 May 1979|author=J. Postel}}

On November 2, 1988, Robert Tappan Morris, a Cornell University computer science graduate student, unleashed what became known as the Morris worm, disrupting many computers then on the Internet, guessed at the time to be one tenth of all those connected.{{Cite web|url=http://www.paulgraham.com/submarine.html#f4n|title=The Submarine|website=www.paulgraham.com}} During the Morris appeal process, the U.S. Court of Appeals estimated the cost of removing the worm from each installation at between $200 and $53,000; this work prompted the formation of the CERT Coordination Center{{cite web |url=http://www.cert.org/encyc_article/tocencyc.html |title=Security of the Internet |work=CERT/CC }} and Phage mailing list.{{cite web |url=http://securitydigest.org/phage/ |title=Phage mailing list |publisher=securitydigest.org |access-date=2014-09-17 |archive-date=2011-07-26 |archive-url=https://web.archive.org/web/20110726143040/http://securitydigest.org/phage/ |url-status=dead }} Morris himself became the first person tried and convicted under the 1986 Computer Fraud and Abuse Act.{{cite book |last=Dressler |first=J. |title=Cases and Materials on Criminal Law |chapter=United States v. Morris |location=St. Paul, MN |publisher=Thomson/West |year=2007 |isbn=978-0-314-17719-3 }}

Conficker, a computer worm discovered in 2008 that primarily targeted Microsoft Windows operating systems, is a worm that employs three different spreading strategies: local probing, neighborhood probing, and global probing.{{Cite journal |last1=Zhang |first1=Changwang |last2=Zhou |first2=Shi |last3=Chain |first3=Benjamin M. |date=2015-05-15 |title=Hybrid Epidemics—A Case Study on Computer Worm Conficker |journal=PLOS ONE |language=en |volume=10 |issue=5 |pages=e0127478 |doi=10.1371/journal.pone.0127478 |issn=1932-6203 |pmc=4433115 |pmid=25978309 |bibcode=2015PLoSO..1027478Z |doi-access=free |arxiv=1406.6046 }} This worm was considered a hybrid epidemic and affected millions of computers. The term "hybrid epidemic" is used because of the three separate methods it employed to spread, which was discovered through code analysis.{{Cite journal |last1=Zhang |first1=Changwang |last2=Zhou |first2=Shi |last3=Chain |first3=Benjamin M. |date=2015-05-15 |editor-last=Sun |editor-first=Gui-Quan |title=Hybrid Epidemics—A Case Study on Computer Worm Conficker |journal=PLOS ONE |language=en |volume=10 |issue=5 |pages=e0127478 |doi=10.1371/journal.pone.0127478 |issn=1932-6203 |pmc=4433115 |pmid=25978309 |bibcode=2015PLoSO..1027478Z |doi-access=free |arxiv=1406.6046 }}

Features

Independence

Computer viruses generally require a host program.{{Cite web|title=Worm vs. Virus: What's the Difference and Does It Matter?|url=https://www.avast.com/c-worm-vs-virus|access-date=2021-10-08|website=Worm vs. Virus: What's the Difference and Does It Matter?|language=en}} The virus writes its own code into the host program. When the program runs, the written virus program is executed first, causing infection and damage. A worm does not need a host program, as it is an independent program or code chunk. Therefore, it is not restricted by the host program, but can run independently and actively carry out attacks.{{Cite book|last=Yeo, Sang-Soo.|title=Computer science and its applications : CSA 2012, Jeju, Korea, 22-25.11.2012|date=2012|publisher=Springer|isbn=978-94-007-5699-1|pages=515|oclc=897634290}}{{Cite journal|last1=Yu|first1=Wei|last2=Zhang|first2=Nan|last3=Fu|first3=Xinwen|last4=Zhao|first4=Wei|date=October 2010|title=Self-Disciplinary Worms and Countermeasures: Modeling and Analysis|journal=IEEE Transactions on Parallel and Distributed Systems|volume=21|issue=10|pages=1501–1514|doi=10.1109/tpds.2009.161|s2cid=2242419|issn=1045-9219}}

Exploit attacks

Because a worm is not limited by the host program, worms can take advantage of various operating system vulnerabilities to carry out active attacks. For example, the "Nimda" virus exploits vulnerabilities to attack.

Complexity

Some worms are combined with web page scripts, and are hidden in HTML pages using VBScript, ActiveX and other technologies. When a user accesses a webpage containing a virus, the virus automatically resides in memory and waits to be triggered. There are also some worms that are combined with backdoor programs or Trojan horses, such as "Code Red".{{Citation|last=Brooks|first=David R.|title=Programming in HTML and PHP|chapter=Introducing HTML|date=2017|pages=1–10|publisher=Springer International Publishing|isbn=978-3-319-56972-7|doi=10.1007/978-3-319-56973-4_1|series=Undergraduate Topics in Computer Science}}

Contagiousness

Worms are more infectious than traditional viruses. They not only infect local computers, but also all servers and clients on the network based on the local computer. Worms can easily spread through shared folders, e-mails,{{Cite journal |last1=Deng |first1=Yue |last2=Pei |first2=Yongzhen |last3=Li |first3=Changguo |date=2021-11-09 |title=Parameter estimation of a susceptible–infected–recovered–dead computer worm model |url=http://journals.sagepub.com/doi/10.1177/00375497211009576 |journal=Simulation |language=en |volume=98 |issue=3 |pages=209–220 |doi=10.1177/00375497211009576 |s2cid=243976629 |issn=0037-5497|url-access=subscription }} malicious web pages, and servers with a large number of vulnerabilities in the network.{{Cite journal|last=Lawton|first=George|date=June 2009|title=On the Trail of the Conficker Worm|journal=Computer|volume=42|issue=6|pages=19–22|doi=10.1109/mc.2009.198|s2cid=15572850|issn=0018-9162}}

Harm

Any code designed to do more than spread the worm is typically referred to as the "payload". Typical malicious payloads might delete files on a host system (e.g., the ExploreZip worm), encrypt files in a ransomware attack, or exfiltrate data such as confidential documents or passwords.{{Cite web |title=What is a malicious payload? |url=https://www.cloudflare.com/en-gb/learning/security/glossary/malicious-payload/ |access-date=2025-01-02 |website=www.cloudflare.com |language=en-gb}}

Some worms may install a backdoor. This allows the computer to be remotely controlled by the worm author as a "zombie". Networks of such machines are often referred to as botnets and are very commonly used for a range of malicious purposes, including sending spam or performing DoS attacks.{{Cite news |url=http://seattletimes.nwsource.com/html/businesstechnology/2001859752_spamdoubles18.html |newspaper=The Seattle Times |title=Business & Technology: E-mail viruses blamed as spam rises sharply |date=February 18, 2004 |first=Tiernan |last=Ray |access-date=May 18, 2007 |archive-url=https://web.archive.org/web/20120826193746/http://seattletimes.nwsource.com/html/businesstechnology/2001859752_spamdoubles18.html |archive-date=August 26, 2012 |url-status=dead }}{{Cite news |url=https://www.wired.com/news/business/0,1367,60747,00.html |title=Cloaking Device Made for Spammers |newspaper=Wired |date=October 9, 2003 |first=Brian |last=McWilliams }}{{Cite news |url= http://news.bbc.co.uk/1/hi/technology/3513849.stm |work=BBC News |title= Hacker threats to bookies probed |date= February 23, 2004 }}

Some special worms attack industrial systems in a targeted manner. Stuxnet was primarily transmitted through LANs and infected thumb-drives, as its targets were never connected to untrusted networks, like the internet. This virus can destroy the core production control computer software used by chemical, power generation and power transmission companies in various countries around the world - in Stuxnet's case, Iran, Indonesia and India were hardest hit - it was used to "issue orders" to other equipment in the factory, and to hide those commands from being detected. Stuxnet used multiple vulnerabilities and four different zero-day exploits (e.g.: [http://www.microsoft.com/technet/security/advisory/2286198.mspx]) in Windows systems and Siemens SIMATICWinCC systems to attack the embedded programmable logic controllers of industrial machines. Although these systems operate independently from the network, if the operator inserts a virus-infected drive into the system's USB interface, the virus will be able to gain control of the system without any other operational requirements or prompts.{{Cite journal|last1=Bronk|first1=Christopher|last2=Tikk-Ringas|first2=Eneken|date=May 2013|title=The Cyber Attack on Saudi Aramco|journal=Survival|language=en|volume=55|issue=2|pages=81–96|doi=10.1080/00396338.2013.784468|s2cid=154754335|issn=0039-6338}}{{Cite journal|last=Lindsay|first=Jon R.|date=July 2013|title=Stuxnet and the Limits of Cyber Warfare|journal=Security Studies|volume=22|issue=3|pages=365–404|doi=10.1080/09636412.2013.816122|s2cid=154019562|issn=0963-6412}}{{Cite book|last1=Wang|first1=Guangwei|last2=Pan|first2=Hong|last3=Fan|first3=Mingyu|title=Proceedings of the 3rd International Conference on Computer Science and Service System |chapter=Dynamic Analysis of a Suspected Stuxnet Malicious Code |date=2014|volume=109|location=Paris, France|publisher=Atlantis Press|doi=10.2991/csss-14.2014.86|isbn=978-94-6252-012-7|doi-access=free}}

Countermeasures

Worms spread by exploiting vulnerabilities in operating systems.

Vendors with security problems supply regular security updates{{cite web|url=http://www.ubuntu.com/usn |title=USN list |publisher=Ubuntu |access-date=2012-06-10}} (see "Patch Tuesday"), and if these are installed to a machine, then the majority of worms are unable to spread to it. If a vulnerability is disclosed before the security patch released by the vendor, a zero-day attack is possible.

Users need to be wary of opening unexpected emails,{{Cite web |url=https://www.f-secure.com/v-descs/iworm.shtml |title=Threat Description Email-Worm |access-date=2018-12-25 |archive-url=https://web.archive.org/web/20180116193554/https://www.f-secure.com/v-descs/iworm.shtml |archive-date=2018-01-16 |url-status=dead }}{{Cite web|url=https://www.f-secure.com/v-descs/love.shtml|title=Email-Worm:VBS/LoveLetter Description | F-Secure Labs|website=www.f-secure.com}} and should not run attached files or programs, or visit web sites that are linked to such emails. However, as with the ILOVEYOU worm, and with the increased growth and efficiency of phishing attacks, it remains possible to trick the end-user into running malicious code.

Anti-virus and anti-spyware software are helpful, but must be kept up-to-date with new pattern files at least every few days. The use of a firewall is also recommended.

Users can minimize the threat posed by worms by keeping their computers' operating system and other software up to date, avoiding opening unrecognized or unexpected emails and running firewall and antivirus software.{{cite web |url=http://www.veracode.com/security/computer-worm |title=Computer Worm Information and Removal Steps |publisher=Veracode |access-date=2015-04-04 |date=2014-02-02 }}

Mitigation techniques include:

Infections can sometimes be detected by their behavior - typically scanning the Internet randomly, looking for vulnerable hosts to infect.{{Cite journal|last1=Sellke |first1=S. H. |last2=Shroff |first2=N. B. |last3=Bagchi |first3=S. |year=2008 |title=Modeling and Automated Containment of Worms |journal=IEEE Transactions on Dependable and Secure Computing |volume=5 |issue=2 |pages=71–86 |doi=10.1109/tdsc.2007.70230 }}{{Cite news |url=http://newswise.com/articles/view/541456/ |work=Newswise |title=A New Way to Protect Computer Networks from Internet Worms |access-date=July 5, 2011}} In addition, machine learning techniques can be used to detect new worms, by analyzing the behavior of the suspected computer.{{cite journal|doi=10.1016/j.csda.2008.01.028|title=Detection of unknown computer worms based on behavioral classification of the host|journal=Computational Statistics & Data Analysis|volume=52|issue=9|pages=4544–4566|year=2008|last1=Moskovitch|first1=Robert|last2=Elovici|first2=Yuval|last3=Rokach|first3=Lior|s2cid=1097834 }}

Helpful worms

A helpful worm or anti-worm is a worm designed to do something that its author feels is helpful, though not necessarily with the permission of the executing computer's owner. Beginning with the first research into worms at Xerox PARC, there have been attempts to create useful worms. Those worms allowed John Shoch and Jon Hupp to test the Ethernet principles on their network of Xerox Alto computers.{{Cite journal|last1=Shoch|first1=John|last2=Hupp|first2=Jon|date=Mar 1982|title=The "Worm" Programs - Early Experience with a Distributed Computation|url=https://vx-underground.org/archive/VxHeaven/lib/ajm01.html|journal=Communications of the ACM|volume=25|issue=3|pages=172–180|doi=10.1145/358453.358455|s2cid=1639205|doi-access=free}} Similarly, the Nachi family of worms tried to download and install patches from Microsoft's website to fix vulnerabilities in the host system by exploiting those same vulnerabilities.{{cite web|title=Virus alert about the Nachi worm|url=http://support.microsoft.com/kb/826234|publisher=Microsoft}} In practice, although this may have made these systems more secure, it generated considerable network traffic, rebooted the machine in the course of patching it, and did its work without the consent of the computer's owner or user. Regardless of their payload or their writers' intentions, security experts regard all worms as malware. Another example of this approach is Roku OS patching a bug allowing for Roku OS to be rooted via an update to their screensaver channels, which the screensaver would attempt to connect to the telnet and patch the device.{{cite web | url=https://github.com/llamasoft/RootMyRoku#:~:text=In%20the%20past%2C%20Roku%20has%20taken%20some%20creative%20measures%20to%20forcefully%20patch%20jailbroken%20devices.%20One%20such%20example%20was%20an%20update%20to%20the%20screensaver%20channel%20that%20would%20check%20for%20a%20telnet%20service%2C%20connect%20to%20it%2C%20and%20command%20it%20to%20un%2Droot%20and%20update%20the%20device. | title=Root My Roku | website=GitHub }}

One study proposed the first computer worm that operates on the second layer of the OSI model (Data link Layer), utilizing topology information such as Content-addressable memory (CAM) tables and Spanning Tree information stored in switches to propagate and probe for vulnerable nodes until the enterprise network is covered.{{Cite book | doi = 10.1109/ISCC.2010.5546723| chapter = A link-layer-based self-replicating vulnerability discovery agent| title = The IEEE symposium on Computers and Communications| pages = 704| year = 2010| last1 = Al-Salloum | first1 = Z. S. | last2 = Wolthusen | first2 = S. D. | isbn = 978-1-4244-7754-8| s2cid = 3260588}}

Anti-worms have been used to combat the effects of the Code Red,{{Cite web|url=http://www.vnunet.com/News/1125206|title=vnunet.com 'Anti-worms' fight off Code Red threat|date=Sep 14, 2001|archive-url=https://web.archive.org/web/20010914021701/http://www.vnunet.com/News/1125206|archive-date=2001-09-14}} Blaster, and Santy worms. Welchia is an example of a helpful worm.{{cite book | title=The Welchia Worm| date=December 18, 2003|page=1| url=http://www.giac.org/paper/gcih/517/welchia-worm/105720| access-date=9 June 2014}} Utilizing the same deficiencies exploited by the Blaster worm, Welchia infected computers and automatically began downloading Microsoft security updates for Windows without the users' consent. Welchia automatically reboots the computers it infects after installing the updates. One of these updates was the patch that fixed the exploit.

Other examples of helpful worms are "Den_Zuko", "Cheeze", "CodeGreen", and "Millenium".

Art worms support artists in the performance of massive scale ephemeral artworks. It turns the infected computers into nodes that contribute to the artwork.{{Cite journal |last=Aycock |first=John |date=2022-09-15 |title=Painting the Internet |url=https://muse.jhu.edu/article/236371/pdf |journal=Leonardo |volume=42 |issue=2 |pages=112–113 |via=MUSE}}

See also

References

{{reflist|40em}}