Living off the Land (LOTL) describes attacks that abuse tools and features already present in an environment. Instead of installing obvious malware, attackers use PowerShell, WMI, rundll32, certificate tools, remote administration, shells or cloud APIs. Such tools are cataloged as LOLBins, LOLScripts or LOLDrivers.
Why is it hard to detect?
Administrators and deployment systems use the same tools. A filename cannot distinguish maintenance from attack. Context matters: who started the process, with which command line, on what device, after which identity event and with what network activity?
Examples and signals
| Technique | Legitimate use | Suspicious context |
|---|---|---|
| PowerShell | Administration and automation. | Encoded commands, download and execution from an Office process. |
| WMI/WinRM | Remote administration. | Lateral execution from a user workstation or unusual identity. |
| rundll32/regsvr32 | Load Windows components. | Unusual paths, remote content or parent processes. |
| Cloud CLI/API | Deployment and operation. | New tokens, bulk exports or changes outside pipelines. |
Limiting LOTL
- - Install administrative tools and scripting only where needed.
- - Apply application control and signed scripts based on risk.
- - Correlate script blocks, process creation, network and identity events.
- - Restrict remote administration to management systems and privileged identities.
- - Analyze command line, parent/child, user and target together.
- - Test controls with authorized simulations and reduce false positives using operations knowledge.
LOTL, malware and ransomware
LOTL is not a malware family. Attackers may use only legitimate tools or combine them with malware. Ransomware operations often use native tools for discovery, credentials, lateral movement and control evasion before deploying a payload.
Useful open-source resources
LOLBAS catalogs Windows binaries, scripts and libraries; GTFOBins documents security-relevant Unix binary behavior. Sigma provides portable detections and Atomic Red Team controlled tests. Run simulations only in approved environments and check for side effects.
Thank you for your feedback! We will review it and optimize this content.
Do you have feedback on Living off the Land? Tell us!
Additional Services
Comprehensive IT security solutions for complete protection
Red Teaming
Simulation of real attacks on your company including people, infrastructure and processes. A comprehensive approach to testing your entire security strategy.
Learn morePhishing Exercises
Practical phishing simulations to raise employee awareness. Increase awareness and reduce the risk of successful email-based attacks.
Learn more