Lion Cipher Lab
Catch cron persistence (T1053.003), then remove it and prove it is gone (Purple Persistence 1 of 5)
- SOC Analyst / Blue Team
- Intermediate
- ~55 min
- Free · no account required
Why it matters
Persistence means an intruder arranging to come back. Cron, the Linux scheduler, is one of the oldest ways to do it, and the project's own notes say these techniques were used in real attacks on IoT devices and Linux web servers. For a defender the question is simple: when a new scheduled job appears, will you know, and who made it? This lab answers that on your own VM, in a way you can repeat.
What you'll learn
- writing directory and file rules for the places cron jobs live
- reading the original login user (auid) in an event, even when the change was made as root
- running two documented cron atomics on a VM you own and their cleanup
- proving removal by checking the rule no longer fires and the file is gone
- explaining which cron locations your rules do not cover
Steps in this lab
- Rules of this lab, and what the technique is
- Read the atomics before you run them
- Write the rules first
- Run Atomic Test 3 and Test 1
- Find the events and read who did it
- Remove it with the project's cleanup, and prove it is gone
- Blind spots, and what to hand over
Open the full interactive lab →