Theory · 9 min · Malware and living off the land
Living off the land
Judge a built-in tool by its context, not its name.
Living off the land means using what is already on the system: PowerShell, certutil, rundll32, regsvr32, mshta, bitsadmin, WMI. There is no malware file to find, and the binaries are signed by Microsoft.
The LOLBAS project documents what each Windows binary can be abused for: downloading (certutil -urlcache -f), running code through a signed proxy (rundll32, regsvr32, mshta), and more.
Context decides. certutil run by an admin to check a certificate is normal; certutil downloading an .exe into AppData from a raw IP is not. Look at the parent, the user, the arguments, the destination and the time.
Admins and attackers use the same tools, so whitelisting by name fails both ways. Baselines per host role and per account work better.
T1105T1218.010T1218.011T1059.001
Your turn: sort the evidence. Which uses are most likely admin work, and which deserve escalation?
Do the interactive check Free, in the browser.
Sources
- LOLBAS project (Windows living-off-the-land binaries) LOLBAS
- ATT&CK T1218.011: System Binary Proxy Execution: Rundll32 MITRE ATT&CK v20
- ATT&CK T1105: Ingress Tool Transfer MITRE ATT&CK v20