Skip to content
Vol. 1 · Ed. 2026
CyberGlossary
Entry № 465

Fileless Malware

Reviewed byCybersecurity entrepreneur & security researcher

What is Fileless Malware?

Fileless MalwareMalware that runs primarily in memory and leverages trusted system tools, avoiding the use of traditional executable files on disk.


Fileless malware minimizes its footprint on disk by living in memory and abusing legitimate components such as PowerShell, WMI, .NET, WSH, and the Windows Registry — a technique often called "living off the land" (LOLBins). Initial code may arrive through a phishing document, exploit or in-memory loader, then reflectively load further stages without ever writing them to disk. Because there is little or no payload file for signature-based AV to scan, fileless attacks are notably harder to detect.

The lineage is well documented. Poweliks (2014) and the later Kovter click-fraud/ransomware family persisted entirely inside Registry keys, decoding and executing their payload at logon with no file on disk. Astaroth, analysed by Microsoft in 2019, ran a textbook living-off-the-land chain: a phishing LNK launched a BAT script that invoked WMIC, then BITSAdmin fetched encoded payloads, Certutil decoded them, and Regsvr32 loaded the final info-stealer DLL — Microsoft's Andrea Lelli uncovered the campaign after spotting an anomalous spike in WMIC usage. These behaviours map to MITRE ATT&CK techniques T1059.001 (PowerShell), T1047 (WMI), T1218 (system binary proxy execution) and T1055 (process injection).

Because the binaries are trusted, static scanning is ineffective. Defences shift to behaviour: PowerShell script-block and module logging, AMSI integration, command-line auditing, EDR with in-memory inspection, Attack Surface Reduction rules, and constraining PowerShell with Constrained Language Mode and WDAC/AppLocker.

flowchart TD
  P[Phishing LNK or document] --> B[BAT / script launches LOLBin]
  B --> W[WMIC or PowerShell executes]
  W --> D[BITSAdmin / Certutil fetch & decode payload]
  D --> M[Reflective load into memory]
  M --> R[Registry / WMI persistence, no file on disk]
  R --> E{Signature AV scan}
  E -->|nothing on disk to match| X[Evades static detection]
  M -.behavioural telemetry.-> EDR[EDR / AMSI / script logging detects]

● Examples

  1. 01

    PowerShell-based payloads of Cobalt Strike Beacon loaded reflectively into memory.

  2. 02

    POWELIKS, fileless malware that stored encoded payloads in the Windows Registry.

● Frequently asked questions

What is Fileless Malware?

Malware that runs primarily in memory and leverages trusted system tools, avoiding the use of traditional executable files on disk. It belongs to the Malware category of cybersecurity.

What does Fileless Malware mean?

Malware that runs primarily in memory and leverages trusted system tools, avoiding the use of traditional executable files on disk.

How do you defend against Fileless Malware?

Defences for Fileless Malware typically combine technical controls and operational practices, as detailed in the full definition above.

What are other names for Fileless Malware?

Common alternative names include: Memory-resident malware, Living-off-the-land malware.

● Related terms

● See also