Viruses, worms and Trojans

The evil trinity, grandfathers of all malware!

Virus

Though its used as a general term for all malware, a virus is a type of malware dependent to another file, attached normally to an executable, that acts only once its executed by the user as an extra hidden code and then immediately tries to propagate on the system and stay undetected while doing the harm, usually trying to steal data or breaking the system. They can infect typically by an email or an untrustworthy download.

Worm

Its strength is not needing the intervention of the victim to propagate, it doesn't even need to be attached to a file. Instead, a worm infects through a vulnerability on the system, then uses services or servers on the network as a medium to propagate and self-replicate, being able to infect the whole network very fast. Once the network is infected they can do horrific harm, stealing tons of data or even paralyzing the whole company.

Trojan

A Trojan doesn't replicate or propagate by itself, instead, following the myth of the Greek Trojan horse, it disguises as a legitimate software installation, even working as intended and being useful, while harming on the background undetected, normally stealing data, installing other malware or even opening a backdoor for an attacker. Its strength is the deception to the user to stay undetected as a harmless software, that can stay on the system for months. The most common way to get infected is by untrustworthy downloads.

We have then that as all malware usually focus on the same malicious objectives, they get their names by their method of infection and propagation. Viruses are dependent on a file to be executed by the user but act/propagate immediately, worms are dependent on a vulnerability but can infect a whole network and Trojans are dependent on the user to execute the installation but can stay hidden and open a backdoor to more malware.

Last updated