Lion Cipher Lab

Spot living-off-the-land abuse: when certutil, rundll32, mshta, and regsvr32 aren't doing their day job

Why it matters

The tools that catch malware are looking for malware — a file the attacker brought with them. So attackers increasingly bring no file at all. They 'live off the land': they use the legitimate, Microsoft-signed programs already on every Windows machine — certutil, rundll32, mshta, regsvr32, powershell — to download, decode, and run their code. There is no strange executable to flag, the binary is signed by Microsoft, and it is on every allow-list because blocking it would break Windows. This is the modern default for hands-on-keyboard intrusions, and it is exactly why the defender's most…

What you'll learn

Steps in this lab

  1. What 'living off the land' means, and why it beats bringing malware
  2. The one rule of this drill: read the command line, not the image name
  3. Pair 1 — certutil: certificate tool vs. download cradle (T1105)
  4. Pair 2 — rundll32: run a DLL export vs. run a remote/JS payload (T1218.011)
  5. Pair 3 — mshta: local HTA app vs. remote HTA URL (T1218.005)
  6. Pair 4 — regsvr32: register a local DLL vs. Squiblydoo remote scriptlet (T1218.010)
  7. Pair 5 — powershell: signed automation vs. hidden encoded blob (T1059)
  8. Step back: read the whole story the ten records tell
  9. When the command line settles it, when it can be fooled — and how a pro detects LOLBins better

Open the full interactive lab →