Home › Cybersecurity wiki › What is a computer worm?

Wiki

What is a computer worm?

A worm is malicious software that spreads across a network or through messages without a person launching each new copy.
It differs from a Trojan, which still depends on being opened.
The effect ranges from consuming the network to a harmful function carried along.

History of Worms

Worms are among the early forms of self-spreading malicious software on networks.
Two well-known cases show the span from a flaw in a service to a message that people open.
Both made clear that spread and effect must be looked at separately.

The Morris Worm

The Morris worm used weaknesses in services of the early Internet and spread from system to system.
The spread itself loaded the affected machines so heavily that they could no longer do their ordinary work.
The case showed that a self-copying program can cause great harm even without a further intent.

The ILOVEYOU Worm

The ILOVEYOU worm traveled as a message with an attachment that recipients opened.
It then overwrote files and sent itself to further addresses from the address book.
Spread used trust in a personal message, not a flaw in an exposed service.

How Worms Work

A worm needs a path of propagation and a payload that runs on the system it reaches.
Both can sit in the same program.
Defense must close the path and clean the systems already reached.

Propagation

Propagation runs through reachable services with a gap, or through messages and files that prompt further recipients.
The more automatic the path, the less the worm has to wait for individual clicks.
A closed service or a blocked file type interrupts exactly that step.

Payloads

The payload is what the worm does besides spreading, such as changing files, planting access, or consuming resources.
Some worms have the spread itself as their visible effect.
Cleanup must remove the payload, not only stop further spread.

Types of Worms

By path, worms that travel by email are distinguished from worms that address services on the network directly.
The first kind usually needs an action by the recipient, the second a reachable faulty service.
Mixed forms use both paths one after the other.

Email Worms

Email worms send themselves to addresses they find on the infected system and disguise the attachment as a harmless file.
Filters that block dangerous file types, and not opening unexpected attachments, interrupt them.
A compromised address book makes the next wave look credible.

Internet Worms

Internet worms look for reachable systems with a particular service and establish themselves there without a prior message.
They continue as long as that service remains reachable from the network in a vulnerable version.
Separating or updating the service is the direct countermeasure.

Preventing and Mitigating Worms

Containment separates infected systems, closes the path that was used, and applies the fix to the estate that is still healthy.
In parallel, backups are checked if the payload changed data.
The wave counts as stopped only when no new infections appear.

Software Updates

Software updates close the gap through which an internet worm reaches systems.
They must be present on every reachable copy of the service, not only on the conspicuous ones.
A delay at one exposed point is enough for the wave to continue there.

Antivirus Software

Antivirus software recognizes known worms by traits and by behavior, such as mass sending or contacting many addresses.
It helps on endpoints and on the mail path.
It does not replace a still-unknown worm on an unpatched service.

Conclusion

A worm lives on a path that produces further copies without a fresh human action.
Mail and exposed services are the two classic forms.
Updates, filters, and separating infected systems end the wave only together.