Lion Cipher Lab

Catch ATT&CK T1547.001 Run key and Startup folder persistence on Windows with Sysmon, then clean up and prove it is gone (Windows Purple 5 of 6)

Why it matters

Persistence is the part of an intrusion that survives a reboot, and the Run keys and the Startup folder are the oldest and simplest ways to get it. Unlike discovery, persistence leaves something behind, which is both a chance to catch it and a duty to remove it. Defenders hunt it by watching a short list of places, and by being able to say 'this one is ours' for every legitimate entry. Practising on a VM teaches both halves: write the detection, then prove, three ways, that your cleanup left nothing.

What you'll learn

Steps in this lab

  1. The rules of this lab, and what T1547.001 is
  2. Make Sysmon watch the autostart places
  3. Read the two atomics, then write the detection first
  4. Run the tests, export events 11, 12 and 13, and run the broad rules
  5. Tune, and be honest about what the exemption costs
  6. Clean up with the atomics' own commands, then prove it is gone three ways
  7. Decide, write it down, and what the defender gets

Open the full interactive lab →

Keep learning