Lion Cipher Lab
Find persistence without an audit rule: diff a before and after snapshot (Purple Persistence 5 of 5)
- SOC Analyst / Blue Team
- Intermediate
- ~65 min
- Free · no account required
Why it matters
A rule gives you time and who, but only for the files you thought of. A snapshot diff gives you coverage and a clean proof of removal, but only after the fact. Using both is stronger than either. This lab runs the whole set together and compares what each sensor saw.
What you'll learn
- writing a short snapshot script that records the places persistence hides
- comparing a before and an after snapshot with diff
- using the same snapshot to prove cleanup worked
- comparing two sensors, rules and snapshots, by what each catches
- writing a purple report with a result for each technique
Steps in this lab
- Rules of this lab, and the plan
- Write the snapshot script
- Back up what the tests change, and load the rules
- Run the four tests in one sitting
- Take the after snapshot and read the diff
- Clean up each test, then prove it with an empty diff
- Write the purple report, and clean up
Open the full interactive lab →