Malware terminology confuses people because the common labels answer different questions. “Worm” describes how something spreads. “Trojan” describes how it tricks its way in. “Ransomware” describes what it does to you. A single piece of malware can be all three at once. Once you separate the questions, the vocabulary becomes much easier to use precisely, and precise words lead to better response decisions.
Question 1: how does it spread?
A virus, in the strict sense, attaches itself to a host file or program and spreads when that host is run or shared. Classic file-infecting viruses modified executables or boot sectors. In everyday speech “virus” has come to mean any malware, which is why many professionals avoid using it loosely.
A worm spreads by itself across networks, without a user opening anything, usually by exploiting a vulnerability in a network service or by abusing weak credentials. WannaCry in 2017 is the textbook modern example: it combined ransomware with a worm that spread through a flaw in Windows file sharing (SMB), which is why it hit so many organisations within hours. Worms are what make some incidents explode across a network rather than stay on one machine.
Most malware today is neither. It spreads because a person or an attacker places it, via a phishing email, a malicious download or manual deployment after a break-in.
Question 2: how does it get in?
A trojan pretends to be something legitimate: a cracked game, a “PDF reader update”, an invoice viewer, a mobile app that promises free data. The user installs it willingly. The term says nothing about what the program does after that, only how it arrived.
A dropper carries another piece of malware inside it and writes it to disk. A loader or downloader fetches the next stage from the internet. These first-stage tools have become a business of their own. Emotet, for example, started in 2014 as a banking trojan and evolved into one of the most widely used loaders, delivering other criminals’ malware, including tools that later led to ransomware. When a loader is detected, the important question is what it was meant to deliver next.
Question 3: what does it do?
| Type | Purpose | What it means for response |
|---|---|---|
| Remote access trojan (RAT) / backdoor | Gives the attacker ongoing remote control | Assume a human may have been active; check what they touched |
| Infostealer | Grabs saved browser passwords, cookies, crypto wallets | Reset every credential stored on the device and revoke sessions |
| Keylogger / spyware | Records keystrokes, screens or activity | Anything typed since infection is exposed |
| Ransomware | Encrypts data and extorts payment | Isolate fast; check for data theft before encryption |
| Wiper | Destroys data with no real recovery path | Restoration from backup is the only route |
| Bot / botnet client | Joins a network of machines taking commands | Device may be used for spam, DDoS or proxying |
| Cryptominer | Uses CPU or GPU to mine cryptocurrency | Usually a sign of an exploitable weakness others can use too |
| Rootkit / bootkit | Hides malware from the OS or loads before it | Cleaning in place is unreliable; reimage |
| Adware | Pushes unwanted ads, sometimes tracks browsing | Lower severity, but shows weak install controls |
Two examples show why function matters more than label. NotPetya in 2017 looked like ransomware, with a ransom note and a payment address, but its design meant files could not realistically be recovered. It was effectively a wiper disguised as ransomware. Mirai, which appeared in 2016, infected internet-connected cameras and routers using default passwords and turned them into a botnet that launched very large denial-of-service attacks. The device owners often noticed nothing at all.
Putting the questions together
Take an imagined alert: an employee at a Hyderabad consultancy downloads what they believe is a free PDF editor. That is a trojan by delivery. Inside is a loader that fetches an infostealer, which uploads the browser’s saved passwords and session cookies, then fetches a RAT for longer-term access.
An analyst who records this as “virus found and removed” will reimage the laptop and close the ticket. One who thinks in terms of function will also ask what the infostealer took. Saved credentials for the company VPN, the cloud email account and a client portal now need resetting, and active sessions need revoking, because stolen cookies can let an attacker bypass MFA until the session expires. The RAT means someone may have had hands-on access, so the analyst checks what else that device connected to during the window.
Families, variants and why names differ
Security vendors give malware family names, and the same sample can be called different things by different products. Detection names often encode the type, platform and family, but the format varies by vendor. Reading several vendors’ verdicts on a sample, through a multi-engine scanning service, often gives a better picture than any single name. Families also change: a stealer may add remote access features in a later version, or a loader may add its own data theft. Labels are a starting point for understanding behaviour, not a substitute for checking what a particular sample actually did on your network.
When you meet a new malware name in an alert or a news story, the three questions are a reliable way in. How did it spread, how did it get in, and what was it built to do? The third answer is almost always the one that decides what you need to do next.
Written by the RP Strativa Team. The company in the example is illustrative.
Leave a Reply