Explore our new Cybersecurity Terms Glossary, explained by our experts.
Cybersecurity Terms Glossary
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.

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.
wmic from a help desk engineer doing the same.Both ransomware affiliates and state-sponsored advanced persistent threat groups now use LotL techniques as standard practice.
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:
| Tool | Typical abuse | ATT&CK ID |
|---|---|---|
| PowerShell | Download and run payloads in memory, reconnaissance, remote execution | T1059.001 |
| WMI / wmic | Remote process execution and persistence | T1047 |
| certutil | Downloading files and decoding Base64 payloads | T1105 |
| rundll32, regsvr32, mshta | Proxy execution of malicious code through trusted binaries | T1218 |
| bitsadmin | Background file transfer and persistence | T1197 |
| ntdsutil, vssadmin | Copying the Active Directory database for offline credential theft | T1003.003 |
| Remote management tools | AnyDesk, ScreenConnect, and similar software used for persistent access | T1219 |
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.
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.
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.
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.
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.
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.
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.
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.
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.
You May Be Interested In These
We use a few cookies that are needed to make this website work, and they are always on. We would also like to set analytics cookies, to see which pages are useful; functional cookies, so that our live chat works; and advertising cookies, to measure our campaigns. We will not set any of those until you say yes, and you can change your mind at any time from the Cookie Settings link in the footer.
Choose the cookies you are happy for us to use. Strictly necessary cookies are always on; everything else is off until you turn it on.
These cookies keep the website working: they hold your security checks, your form submissions and the choice you make here. The site cannot run without them, so they are always on.
These let our live chat open and remember your conversation, and let the newsletter sign-up work. Switch them off and the chat window will not appear.
These tell us which pages are read and how people find us, so that we can improve the site. The reports are about groups of visitors, never about you personally.
These let us measure our advertising and show you our adverts on other websites, such as LinkedIn, Google and Meta. Switch them off and you will still see adverts, but they will be less relevant.