# Persistence Detection

> Detect persistence from log evidence: registry run keys and services, scheduled tasks and WMI, cron, systemd and SSH keys, new accounts and group changes.

Canonical: https://codelivly.com/rooms/persistence-detection
Last updated: 2026-11-23

| | |
|---|---|
| Level | Intermediate |
| Category | Cybersecurity |
| Lessons | 5 |
| Estimated time | 3 h 30 min |
| XP | 1150 |

Persistence is what makes an intrusion outlast a reboot, and it is also what installers, updaters and administrators do every day. This room follows Wednesday 2027-05-12 at Kestrel Logistics, when Mina Castellan asks you to review the persistence rules against a week of exports. You read Sysmon registry and WMI events, service and task events, auditd records and sshd logs, and account and group events, and you decide which writes have a reason and which have none. You write rule logic that survives installers and configuration management, and a guided lab ends the room with three unexplained mechanisms, two changes cleared with their records and a findings file. Every exercise reads pre-loaded exports from the defender side, and nothing here teaches an attack.

## Lessons

1. Registry Run Keys and Services (40 min)
2. Scheduled Tasks and WMI Subscriptions (40 min)
3. Cron, systemd and SSH Keys on Linux (40 min)
4. New Accounts and Group Changes (40 min)
5. Guided Lab: Find Three Persistence Mechanisms (50 min)

## Related

- [Learning path: Detecting Attacks on Windows, Linux and AD](https://codelivly.com/learning-paths/detecting-attacks-on-windows-linux-and-ad)
- [All rooms](https://codelivly.com/rooms)
