Skip to content

Malware Types and Classification

Distinguish malware types by propagation, apparent purpose and observed behavior, and verify which labels are supported by the evidence.

By Reviewed by Sourabh

Last updated:

Malware is software or firmware intended to perform unauthorized actions that harm or interfere with systems or data. It can affect confidentiality, such as by collecting private information, integrity, such as by changing files, or availability, such as by preventing a service from operating. The term covers several kinds of malicious behavior.

A useful classification answers a particular question. Worm describes propagation, ransomware describes impact and pressure, and a vendor family name describes a grouping of samples. Several labels can apply to the same incident. Record the evidence that supports each label and the level at which it applies. NIST glossary definition of malware

Key terms

Virus
Code that replicates by infecting a host program or file.
Worm
Malware with behavior that enables self-propagation between systems.
Trojan horse
A program presented as legitimate or useful while performing unauthorized functions.
Ransomware
Malware used to deny access to data or systems as part of an extortion demand.
Malware family
A name used to group samples with related code, behavior or another documented basis.

Classify by Propagation, Presentation and Effect

Use separate dimensions when they matter. A virus infects a host object, while a worm can spread between systems. A Trojan horse is described by how it presents itself. A remotely controlled implant is described by the access or control it provides. A ransomware label reflects a disruptive effect and extortion motive. An observed program can fit more than one category.

An observation can support one classification dimension while evidence for the other dimensions remains open.

Scroll horizontally if needed to see the full table.

CategoryWhat the label describesEvidence to look for
VirusInfection of a host file or another objectA comparison documenting changes consistent with infection
WormSelf-propagation between systemsCorrelated source and recipient events supporting autonomous spread
TrojanDeceptive presentationThe object as presented to the user and the observed behavior
RansomwareExtortion associated with loss of accessFile or service impact and evidence of an extortion demand
WiperDestructive effectVerified loss or destructive changes, with source and timeline context

A classification needs evidence appropriate to the dimension. A copied file in several directories is a distribution observation. Self-propagation requires evidence of the relevant behavior or reliable reporting that establishes it. A recipient who saw a misleading attachment establishes one part of presentation. Whether it caused system changes is a separate execution and impact question. NIST guide to malware incident handling

Distinguish Common Roles in an Incident

Spyware is used to collect information. A credential-stealing program targets credentials or related authentication data. A loader’s role is to start another component, and a downloader’s role is to retrieve one. A rootkit describes a category of software associated with concealing activity or maintaining privileged access. A bot describes software through which a system participates in remote control. These labels describe broad roles and can overlap.

Write observed activity first, then interpret its role. A process connection and a newly written file may support a retrieval hypothesis when reliable evidence links the observations. A filename containing a suspicious word, an import or a vendor label gives a lead for the case. State the additional records needed before claiming that the file ran, that information was taken, or that remote commands were accepted.

Separate Infrastructure, Activity and Software

A botnet describes a group of controlled systems. A denial-of-service attack describes an effort to exhaust or disrupt a service. Malware can be involved in either. A large traffic spike by itself describes an observation and needs further evidence to determine its cause and whether malicious software was involved.

Specify whether a term describes the systems involved, the activity under review or a particular file.

Similarly, phishing is a delivery or deception activity and can occur without malware. A legitimate administrative tool may be abused in an incident while retaining legitimate uses. A report should describe what the software did in the examined context and separate that conclusion from how the attacker obtained access. Malware Attacks and Their Evidence

Compare Vendor Labels With Direct Evidence

Tools can disagree because they group samples at different levels. One may name a family while another assigns a behavior class or a general suspicion label. Preserve the exact labels, products and observation dates. A useful comparison also records the sample identity and the evidence each label is based on.

In a practice review, two reports refer to the same file by a matching cryptographic digest. One labels it ransomware and the other labels it suspicious. An authorized incident report independently documents file encryption and a matching extortion note. Those observations support a broad ransomware description for the examined incident. Choosing a family name requires a documented comparison to a sufficiently specific source.

Retain each vendor's label as attributed and tie any behavior claim to observations from the case.

Distinguish Destruction, Surveillance, and Resource Abuse

A wiper is associated with deliberate destruction or loss of availability. A cryptominer uses computing resources to mine cryptocurrency and can be used with authorization or deployed as malware. Sustained CPU or GPU use is a lead. Correlate it to the identified program, its deployment authorization, and records of what it actually did.

Intrusive adware can interfere with a user experience or collect information. Whether a product calls it malware or a potentially unwanted application depends on its behavior and the classification policy. A report describing memory-resident or fileless activity should state where execution evidence was found and what storage was examined. Memory-resident activity can still leave references in logs or other durable records.

Record Classification at the Right Level

Start by deciding what is being classified. A file can be a downloader, a later component can carry out data collection, and the wider incident can involve extortion. A label on one object belongs to that object until the relationship to the other components is established. Keep a separate row for each artifact and for each different observed action.

Name the object or activity being classified before carrying a label into another part of the case.

The object and the incident can receive different descriptions even when an analysis provider gives them one family name. For example, a report of an extortion incident can include an independently identified legitimate file transfer utility. Calling the utility ransomware would mix an incident motive with the characteristics of a single binary. Describe the utility and the unauthorized action separately.

When several names compete, retain aliases only with their source and matching criteria. A naming crosswalk can help an examiner compare sources when those sources document equivalent identifiers. Avoid assuming that short shared fragments in vendor names refer to the same family. A generic label like suspicious script describes the scope of a verdict differently from a validated family name.

Compare a Loader With the Payload It Starts

The role of a component is a claim about its relationship to other evidence. A report may show an initial program starting another file, a record showing that second file reading application data, and a log showing an outbound destination. Write each action with its own process and object identifiers. The term loader describes the first relationship when the supporting records establish it.

A parent-child record demonstrates a particular relationship in the observed execution context. The meaning depends on the event provider and its fields. Parent identity can also be ambiguous when process identifiers are reused. Include a stable unique identifier where available, use the host and time, and preserve an independent corroborating source when the relationship is central to the finding.

A second-stage classification deserves its own evidence. An examiner can document that a child process opened a store of application data from well-attributed records, while the examiner still needs relevant outbound and content records to assess whether the collected data left the system. This separation keeps a behavior label from quietly turning into an impact claim.

Distinguish a Family Claim From a Campaign Claim

Families typically group related specimens or behavior under a known naming scheme. A campaign groups related activity over some identified scope and period. Similarity of two artifacts can suggest a relationship while the decision to link entire incidents requires evidence from those incidents. An independently confirmed shared artifact may matter, and common commercial tooling can also appear across unrelated events.

Ask whether the source states its comparison features and the level of match. A whole-file digest can help identify an exact object. Shared metadata, a common library, or a small set of similar strings can be weak support for a closer relationship, especially when those features occur in many unrelated files. Record the specificity of each feature and what the comparison set contained.

Record which features were compared and the level of claim they support.

Where an internal report only needs a broad class, use the most specific defensible description rather than selecting a plausible family. An incident team can act on verified destructive activity while identity work continues. The final written finding can preserve both the class supported by observations and the unresolved question about the name.

Apply a Three-Axis Classification Exercise

This instructional exercise includes three records. A recipient forwards an archive presented as a payroll reconciliation package. A trusted endpoint record shows the component inside that archive starting a second process. An independent service log shows deliberate data loss on the same host within the review window, but has no process association. List the evidence under presentation, execution role, and effect.

For presentation, preserve the sender record and the label shown to the recipient. Preserve the container member identity and unique process information for the execution relationship. Classify the service event as documented data loss and list the additional host evidence needed to link it to the observed processes. Two reports can agree that the host was affected without agreeing on which component caused it.

For an additional check, suppose the service log directly identifies the second process responsible for the destructive activity. Revisit the initial conclusion. That changes the causal support for the component, while an extortion claim still requires a source tying a demand to the incident. This exercise demonstrates why a classification record should include multiple distinct claims and their evidence.

Casework Example

Lesson Review

Check Your Understanding

Question 1 of 5· 0 answered
What does a worm label describe?

Test yourself on Malware Forensics with free, timed mocks.

Practice Malware Forensics questions

Found this useful? Pass it along.