Lion Cipher Lab

Catch a fileless attack with the ETW telemetry Sysmon can't see

Why it matters

The most effective intrusions of the last decade stopped writing malware to disk. They run their code in memory — a PowerShell one-liner, a .NET assembly loaded reflectively, a script pulled straight into RAM — so that the two controls most defenders lean on see nothing. A file-based antivirus scan has no file to scan. Sysmon's process-creation event faithfully records the command line, but the attacker scrambles that command line into meaningless characters that reassemble themselves only once they are already running in memory, so the one artifact Sysmon captured is useless. This is…

What you'll learn

Steps in this lab

  1. The gap: why disk-scans and command lines miss fileless code
  2. What ETW is, in plain terms
  3. Turn on PowerShell Script Block Logging (it is OFF by default)
  4. Fire a benign, obfuscated, in-memory one-liner
  5. Read Event ID 4104 — the deobfuscated script the engine actually ran
  6. Reach the providers the Event Log never shows — set up a consumer
  7. About AMSI — and why its test string stays at Microsoft's docs
  8. Author a detection and tune it against real volume
  9. The honest limits: AMSI blind spots and ETW blinding
  10. Why this matters, and where it fits (opinion)

Open the full interactive lab →