Reference · Foundation

How malware types fit together

The labels describe behavior, delivery, or persistence. One malicious program can fit more than one label.

Malware & ThreatsReviewed Aug 15, 2026

A common malicious-software structure branches into spying, credential theft, disruption and extortion behaviors.

Start with the umbrella

Malware means software used for a malicious purpose. A virus attaches to other files and spreads when they run. A worm can spread between systems. A Trojan pretends to be legitimate. Spyware collects information. An infostealer focuses on credentials, cookies, or other valuable data. Ransomware disrupts access, often through encryption or theft-backed extortion.

One sample can play several roles

A malicious document may act as the first delivery step. A downloader retrieves another payload. A backdoor preserves access. A keylogger records input. A bot turns an infected device into part of a remotely controlled network. These are useful descriptions of behavior, not proof that every campaign follows the same sequence.

Defensive meaning

The label helps decide what evidence to preserve and what else to inspect. Credential theft calls for session and token review, not only a password reset. A worm raises lateral-spread concerns. Ransomware demands recovery and business-continuity preparation. Defenders should focus on observed behavior and affected assets before guessing at a famous family name.

A detection is not the whole incident

One endpoint alert can identify a file or process without showing initial access, credential exposure, lateral movement or data loss. Preserve the alert context, affected host, account and time, then check the connected evidence allowed by the organization’s process. Absence of one malware signature is not proof that the environment is clean, and a signature match alone is not proof of every advertised capability.

Example: one intrusion, several jobs

An initial loader can download an infostealer, which captures credentials that later support ransomware access. Calling the entire sequence “a virus” hides the different evidence and controls. The loader concerns execution and persistence, the infostealer concerns exposed secrets and sessions, and the ransomware event concerns containment and recovery. A timeline can connect them without assuming that every detected file performed every capability.

Response questions that follow behavior

Did the code execute? Which account and host were involved? What could it read or change? Did it create persistence, communicate outward or launch another process? Which credentials or data were available? What evidence remains after isolation? Those questions guide containment and recovery even when the family name is disputed or changes later.

Related reading

Keep exploring the subject

Related guide

Ransomware and extortion

Modern incidents may combine stolen access, data theft, business disruption, extortion, and pressure on customers or partners.