Explore our new Cybersecurity Terms Glossary, explained by our experts.

View the Glossary View the Glossary
PRIVIA

Cybersecurity Terms Glossary

What Is Living off the Land (LotL)?

Living off the land (LotL) is an attack approach in which intruders use legitimate tools already on a system—PowerShell, WMI, certutil—instead of custom malware, to avoid detection.

Illustration for the cybersecurity term Living off the Land (LotL)
Home / Blog / Cybersecurity Terms / What Is Living off the Land (LotL)?
17 November 2026

What Is Living off the Land (LotL)?

What Is Living off the Land (LotL)?

Living off the land (LotL) describes attacks that rely on tools and features already present in the target environment rather than on custom malware. Instead of dropping a suspicious executable, the attacker uses PowerShell, Windows Management Instrumentation (WMI), built-in command-line utilities, remote management software, and cloud CLIs—the same tools administrators use every day.

The result is an intrusion that leaves few files for antivirus to catch and generates activity that looks, at first glance, like routine IT work.

Why Attackers Choose This Approach

Both ransomware affiliates and state-sponsored advanced persistent threat groups now use LotL techniques as standard practice.

Commonly Abused Built-In Tools

The community-maintained LOLBAS project catalogues Windows binaries, scripts, and libraries with abusable functionality; GTFOBins does the same for Unix-like systems. A few appear in almost every investigation:

ToolTypical abuseATT&CK ID
PowerShellDownload and run payloads in memory, reconnaissance, remote executionT1059.001
WMI / wmicRemote process execution and persistenceT1047
certutilDownloading files and decoding Base64 payloadsT1105
rundll32, regsvr32, mshtaProxy execution of malicious code through trusted binariesT1218
bitsadminBackground file transfer and persistenceT1197
ntdsutil, vssadminCopying the Active Directory database for offline credential theftT1003.003
Remote management toolsAnyDesk, ScreenConnect, and similar software used for persistent accessT1219

The same thinking extends beyond Windows. On Linux, attackers use curl, ssh, cron, and existing interpreters. In the cloud, a stolen access key plus the AWS or Azure CLI is enough to enumerate resources, create backdoor identities, and exfiltrate data without ever touching a virtual machine.

A Case That Prompted Global Guidance

In May 2023, the NCSC and its Five Eyes partners published a joint advisory on Volt Typhoon, a Chinese state-sponsored group that had compromised critical infrastructure organisations largely through LotL techniques. The group used built-in tools such as netsh, ntdsutil, and PowerShell, and routed traffic through compromised small office routers to look like local activity. In February 2024, the same agencies issued joint guidance on identifying and mitigating living-off-the-land techniques, warning that many organisations lacked the logging and baselines needed to spot them.

Why Detection Is Difficult

Blocking powershell.exe outright would break legitimate administration, and alerting on every use would bury analysts in noise. Detection therefore depends on context: who ran the command, from which parent process, with what arguments, at what time, and whether that combination is normal for this environment. Many organisations simply do not collect enough telemetry to answer those questions; default Windows logging misses most of it.

Defending Against LotL

Turn On the Right Logging

Reduce What Can Run

Baseline and Hunt

Know which administrators use which tools, from which hosts, and when. Anything outside that baseline—certutil making internet connections, ntdsutil run on a domain controller outside a change window, mshta launched by a browser—deserves investigation. Proactive threat hunting against MITRE ATT&CK techniques catches what automated rules miss, and it often surfaces lateral movement in progress.

Limit Credentials

LotL techniques are only as powerful as the account running them. Least privilege, tiered administration, and phishing-resistant MFA restrict how far an attacker can go with built-in tools.

If your team lacks the time to watch for subtle, tool-based intrusions around the clock, our managed security services (MDR) provide continuous monitoring and threat hunting.

FAQ – Frequently Asked Questions

Is Living off the Land the Same as Fileless Malware?

They overlap but are not identical. Fileless malware runs in memory without writing a traditional executable to disk, often using PowerShell or WMI to do so. Living off the land is the broader approach of abusing any legitimate tool already present, whether in memory or on disk, including remote management software and cloud command-line tools. Most fileless attacks use LotL techniques, but not all LotL activity is fileless.

Should I Block PowerShell Completely?

Usually not, because Windows administration, management tools, and many vendor products depend on it. A better approach is to restrict who can use it, enforce Constrained Language Mode for standard users, remove the outdated PowerShell 2.0 engine, and enable script block logging so every command is recorded. Pair this with EDR rules that flag suspicious patterns such as encoded commands and download cradles.

Can Antivirus Detect LotL Attacks?

Traditional signature-based antivirus rarely detects them, because the binaries involved are legitimate and digitally signed. Detection requires behavioural analysis that looks at command-line arguments, parent processes, network connections, and timing. Modern EDR platforms, combined with well-tuned SIEM rules and human threat hunting, are much better suited to catching this activity than file-scanning tools.

Do Penetration Testers Use Living off the Land Techniques?

Yes. Realistic penetration tests and especially Red Team engagements deliberately use built-in tools to mirror how real attackers operate and to test whether your monitoring notices. Findings typically show which commands went undetected and which logging gaps prevented investigation. This gives your defenders concrete detections to build, rather than relying on assumptions about what your security tools can see.

Related Terms

You May Be Interested In These

What Is a Cloud Key Management Service?

Cybersecurity Terms

17 November 2026

What Is a Cloud Key Management Service?

Read More
What Is Know Your Customer?

Cybersecurity Terms

17 November 2026

What Is Know Your Customer?

Read More
What Is SIEM Use Case Management?

Cybersecurity Terms

17 November 2026

What Is SIEM Use Case Management?

Read More