Lion Cipher Lab
Build a purple-team bench: auditd on a Linux VM you own, with a clean snapshot (Purple Discovery 1 of 6)
- SOC Analyst / Blue Team
- Beginner
- ~45 min
- Free · no account required
Why it matters
A purple-team exercise has two sides that work together: the 'red' side runs a small, documented test, and the 'blue' side checks whether the defenders' tools noticed. The loop is only useful if the test machine can be put back exactly as it was, and if the sensor is actually on. This lab builds that bench once, so each later lab can start from a clean state and a working sensor.
What you'll learn
- explaining the purple-team loop: run a test, look for evidence, tune, validate
- taking a clean VM snapshot before any test
- installing and checking the Linux audit daemon
- loading, listing and deleting audit rules
- finding your own events by key with ausearch
Steps in this lab
- The rule first, then the plan
- Take a clean snapshot before you do anything else
- Install and check the audit daemon
- Start from no rules, and learn the three rule commands
- Write your first rule: record every program a real user starts
- Run something harmless and find your own event
- Measure the baseline: how much noise does a broad rule make?
- Clean up, and what the defender gets from this
Open the full interactive lab →