Skip to content
Cybersecurity

Living off the Land

Living off the Land (LotL) is an attack technique that uses legitimate system tools (PowerShell, WMI, certutil) instead of custom malware. LotL attacks are harder to detect because they use trusted system components.

Living off the Land Definition

Living off the Land (LotL) is an attack approach where adversaries use legitimate tools and features built into operating systems instead of introducing their own malware. The term comes from military survival techniques - “living off the land” means using resources already available.

Why do attackers use LotL?

  • Evasion: System tools are trusted
  • No signatures: No custom malware
  • Availability: Tools are present on every system
  • Persistence: Difficult to remove without breaking system functions
  • Legitimacy: Actions look like normal administration

Common LOLBins

PowerShell:

  • Script execution
  • Downloading payloads
  • System enumeration

WMI (Windows Management Instrumentation):

  • Remote command execution
  • Persistence
  • Lateral movement

certutil:

  • Downloading files
  • Encoding/decoding
  • Originally for certificates

mshta:

  • HTA (HTML Application) execution
  • Bypass policies

Other:

  • regsvr32, rundll32, wmic
  • bitsadmin, msiexec
  • cscript, wscript

LotL Detection

Challenges:

  • Tools are legitimate
  • Difficult to distinguish malicious from normal use
  • Traditional AV doesn’t detect it

Methods:

  • Behavioral analysis
  • Command line monitoring
  • Anomaly baselines
  • Correlation with other indicators

LotL and EDR

Modern EDR solutions detect LotL by:

  • Monitoring command line arguments
  • Analyzing process parent-child relationships
  • Detecting anomalies (PowerShell from Word)
  • Correlating events from multiple sources

LotL in MITRE ATT&CK

Many ATT&CK techniques use LotL:

  • T1059: Command and Scripting Interpreter
  • T1218: System Binary Proxy Execution
  • T1047: Windows Management Instrumentation

Defense Against LotL

  • Restricting PowerShell (Constrained Language Mode)
  • AppLocker/WDAC policies
  • Script block logging
  • Network monitoring for anomalies
  • Limiting admin tool access

Living off the Land is a dominant technique of modern attacks, requiring security teams to go beyond signature-based detection.

Explore our services

Want to Reduce IT Risk and Costs?

Book a consultation - we respond within 24h

Response in 24h Custom quote No obligations