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)
- SOC Analyst / Blue Team
- Intermediate
- ~60 min
- Free · no account required
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
- explaining what the Run keys and the Startup folder do
- adding registry and file-create rules to a Sysmon configuration
- reading Sysmon event 13 (value set), 11 (file create) and 12 (delete)
- writing a Run-key rule before running the test
- suppressing a legitimate application that writes a Run key
- seeing the weakness of allow-listing by program path
- running an atomic's cleanup
- proving cleanup by a registry read, a file check and a delete event
Steps in this lab
- The rules of this lab, and what T1547.001 is
- Make Sysmon watch the autostart places
- Read the two atomics, then write the detection first
- Run the tests, export events 11, 12 and 13, and run the broad rules
- Tune, and be honest about what the exemption costs
- Clean up with the atomics' own commands, then prove it is gone three ways
- Decide, write it down, and what the defender gets
Open the full interactive lab →