Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

Malware

Direct answer

Malware is software designed to harm or abuse systems — viruses, worms, trojans, ransomware, spyware, rootkits, botnets and fileless malware. Defences combine prevention, detection, least privilege and backups.

When to use this

Use this when identifying, containing and preventing malware.

First 30 seconds

1. Malware: viruses, worms, trojans, ransomware, spyware, rootkits, botnets.

2. Prevent (filtering, app control, patching), detect (EDR), respond (isolate).

3. Analyse safely in sandboxes.

4. Share IOCs.

5. Recover from clean backups.

Operational verification

delivery → execution → persistence → actions

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Incident response and forensics
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformIncident response and forensics
Scope / prerequisiteUse this when identifying, containing and preventing malware.
What next?2 suggested next steps
Child topics (this level)13
Evidence1
On this pageJump to a specific section
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Drill down

Subtopics

Go one level deeper into this subject.

Subtopic Malware Fundamentals

Malware fundamentals: malware is classified by how it spreads (virus, worm, trojan) and what it does (ransomware, spyware, backdoor, botnet).

Subtopic Virus

A virus is malware that attaches to files or programs and spreads when they are run or shared.

Subtopic Worm

A worm spreads on its own across networks by exploiting vulnerabilities or weak credentials, without user action, like WannaCry over SMB.

Subtopic Trojan

A trojan looks like legitimate software but performs malicious actions once run, such as installing a backdoor or stealing data.

Subtopic Ransomware

Ransomware encrypts files and often steals data first, then demands payment for keys and silence.

Subtopic Spyware

Spyware secretly collects information such as browsing activity, credentials, location or messages and sends it to an attacker or advertiser, often bundled with other software.

Subtopic Rootkit

A rootkit hides malware by modifying the OS, kernel, bootloader or firmware, so normal tools do not show its files or processes.

Subtopic Keylogger

A keylogger records keystrokes, and often screenshots or clipboard data, to steal passwords and messages.

Subtopic Botnet

A botnet is a network of infected computers or IoT devices controlled through command-and-control servers, used for DDoS, spam, credential attacks or distributing other malware.

Subtopic Backdoor

A backdoor is malware or a hidden mechanism that gives an attacker persistent remote access while bypassing normal authentication, such as a web shell or a planted SSH key.

Subtopic Downloader

A downloader (dropper) is small malware whose job is to fetch and install the real payload, often from a URL after initial infection through a phishing attachment.

Subtopic Fileless Malware

Fileless malware runs in memory using legitimate tools like PowerShell, WMI or rundll32 instead of dropping executables, which evades file-based antivirus.

Subtopic Malware Analysis Fundamentals

Malware analysis fundamentals: work in an isolated lab, start with static analysis (hashes, strings, imports), then dynamic analysis in a sandbox watching processes, files, registry and network, and extract IOCs.

Key points
  • Most malware arrives via phishing or exposed unpatched services.
  • Least privilege limits what malware can do.
  • Backups are the last line against ransomware.
Key checks
  • EDR malware detections — alerts
  • yara -r rules.yar <path> — hunt
  • Email/web gateway blocks — prevention
ReferenceWhy it matters1 section · depth on demand

Common types

TypeBehaviour
RansomwareEncrypts and extorts
TrojanDisguised as legitimate software
WormSpreads itself
InfostealerSteals credentials, cookies
LoaderFetches other malware
RATRemote control
RootkitHides itself
ReferenceImportant terms & boundaries2 sections · depth on demand

How it works

Malware is software written to harm, steal or take control. It usually arrives by phishing, exploited vulnerabilities or malicious downloads, establishes persistence, contacts command-and-control servers and then pursues its goal, such as data theft or encryption.

Types

TypeBehaviour
VirusInfects files, spreads when run
WormSpreads itself over networks
TrojanDisguised as legitimate software
RansomwareEncrypts data for ransom
Spyware / infostealerSteals data and credentials
RootkitHides itself and other malware
Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docIncident response and forensics current

Authoritative/upstream documentation reviewed for bounded claims in Malware. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://attack.mitre.org/techniques/enterprise/ · confidence 94%
Confirmation

Confirm action

Continue?