Lion Cipher Lab
Catch systemd timer execution (T1053.006), including the one that leaves no file (Purple Execution 2 of 3)
- SOC Analyst / Blue Team
- Intermediate
- ~60 min
- Free · no account required
Why it matters
A timer is a quiet way to run something again and again, and on a systemd machine it is built in. Defenders often watch cron and forget timers. This lab also teaches a sharper point: a detection built on files misses anything created without a file. Knowing which tests slip past a rule is more valuable than a rule that looks complete.
What you'll learn
- listing timers with systemctl list-timers to get a baseline
- watching the folder where unit files are written
- running the documented file-based and transient systemd timer atomics on a VM you own
- seeing that a transient timer leaves no unit file, and catching it another way
- removing the timers with the project's cleanup and proving they are gone
Steps in this lab
- Rules of this lab, and the technique
- Save a baseline of timers and unit files
- Read the atomics
- Write the rules first
- Run Test 1 and Test 3
- Find what each rule saw, and what the timer list shows
- Remove both with the project's cleanup, and prove it
- Blind spots, and what to hand to the defenders
Open the full interactive lab →