Lion Cipher Lab

Detect DLL side-loading at fleet scale from Sysmon image-load events (Event ID 7)

Why it matters

DLL side-loading is one of the most reliable ways an intruder gets code to run inside a process your tools trust. They copy a legitimate, signed program into a folder they control, drop a malicious DLL next to it with a name that program asks for, and run the program. Windows looks in the program's own folder before System32, so the trusted program loads the attacker's code, and your process list shows only a signed binary from a known vendor. The telemetry that sees this is Sysmon's image-load event, and it is famous for two things: it is disabled by default because it is enormously noisy,…

What you'll learn

Steps in this lab

  1. What side-loading is, in one paragraph (and the ATT&CK ID that changed)
  2. Why Windows loads the attacker's copy: the search order and KnownDLLs
  3. The telemetry: Sysmon Event ID 7, and why it is off by default
  4. Build the synthetic fleet (1,984 image loads, 5 side-loads)
  5. Measure the collection first: what a Sysmon ImageLoad filter keeps and hides
  6. Write six rules and score them
  7. Read the progression: what each signal bought and what it cost
  8. Why 'Signed = true' is a weak reason to trust a DLL
  9. Honest limits: where the layered rule breaks
  10. Turn it into production work

Open the full interactive lab →