Computer Worms - Self-Spreading Network Malware
About 2 min read
A worm is a type of malware that self-replicates and automatically spreads to other computers. Unlike a virus, it does not need a host file and spreads on its own by exploiting network vulnerabilities. According to an analysis by researchers at CAIDA and other institutions, SQL Slammer (Sapphire), which spread in January 2003, infected more than 90 percent of vulnerable hosts within 10 minutes and caused network outages.
What Must Be Decided in Advance Against Something That Spreads on Its Own
When spreading proceeds without human operation, what governs the speed of the response is not the accuracy of detection but the time that judgment takes. The sequence of confirming what is happening, deciding where to cut, and actually acting always contains the time spent gathering the situation. Because the spreading continues at the same rate while that gathering goes on, spending more time in pursuit of a better judgment enlarges the very thing being responded to. What can be decided in advance here is the scope that may be acted on without waiting for judgment: an agreement on which conditions, once met, permit isolation without human confirmation. Next, a method that limits spreading by introducing divisions has to hold at the same time as the premise that some traffic needs to cross those divisions. A route that crosses for the sake of the work also serves as a route for the spreading. Since the shape of the traffic alone cannot tell which direction it is being used in, adding more divisions does not make things proportionally safer; a passage remains for every route that has to cross. What the design of divisions settles is not whether passage exists but whether the crossing routes can be kept to the minimum. And grasping the scale must be treated as separate from judging containment. Because the count grows while the counting is under way, the result always describes a past state. Tying the start of recovery to confirmation of the full count means nothing begins until that confirmation ends. What should be decided in advance is not whether the confirmation is complete but what will serve as the basis for judging whether the number is still growing.
How a Worm Spreads
How Worms Propagate
A worm scans the network for vulnerabilities, automatically discovering and infecting unpatched systems. Email attachments, USB drives, and file-sharing services can also serve as infection vectors. After infection, it creates copies of itself and keeps spreading. On WannaCry in May 2017, an alert from the US CISA stated that it propagated by exploiting a Windows SMB vulnerability (MS17-010) and, citing open-source reports, described tens of thousands of infections in over 150 countries.
The Difference From a Trojan Horse
A Trojan horse is a technique that disguises itself as legitimate software to trick users into installing it, and it has no self-replication capability. A worm differs in that it spreads automatically over the network without any user action. The distinction is that a Trojan horse "deceives its way in" while a worm "breaks in by exploiting vulnerabilities."
Key Defensive Measures
Promptly applying security patches for your OS and software is one measure against worms that spread by exploiting vulnerabilities. Use a firewall to close unnecessary ports, and network segmentation limits the spread of infection. Protecting network equipment and admin panels with strong random passwords, and never operating with default passwords, are also among the measures. The article on ransomware protection covers measures in common.
Was this article helpful?
Related Terms
- Rootkits - Stealthy Malware Deep in Your OSA rootkit hides deep in the OS to maintain persistent access that is hard to detect. Explore kernel-level and user-level rootkits and how to find them.
- Botnets - How Infected Device Networks OperateA botnet is a network of compromised devices controlled remotely for DDoS, spam, and theft. Explore the botnet lifecycle and how takedowns are executed.
- DMZ Network Architecture and Its Security RoleA DMZ creates a buffer zone between the internet and your internal network for public-facing servers. Learn how it contains damage from compromised hosts.
- Malware Types - Viruses, Trojans, Worms, and MoreMalware is any software designed to damage or exploit a device. Learn to identify viruses, trojans, worms, and spyware, and how to remove them safely.