Project 88: Persistence Detection Lab

Module: Module 9: Post-Exploitation Detection & Active Directory Security  |  Level: Advanced  | 
Primary tool: Autoruns (Windows) / crontab + systemd audit (Linux)  |  Estimated time: 2–4 hours

Objective: Enumerate every persistence mechanism on a machine, the way a responder must during an investigation.

Free lab environment

LetsDefend (free tier) + CyberDefenders (free challenges) — https://letsdefend.io/ and https://cyberdefenders.org/blueteam-ctf-challenges/

Both platforms offer free-tier SOC-analyst simulations with real (sanitized) logs, alerts, and packet captures, so you can practice detection and triage without needing your own production environment.

Lab workflow

  1. Access the free lab scenario (a clean VM you administer (Windows or Linux)) and read the provided context before looking at any alert.
  2. Using Autoruns (Windows) / crontab + systemd audit (Linux), review the available logs/alerts with the specific goal of learning to enumerate every persistence mechanism on a machine, the way a responder must during an investigation.
  3. For each candidate indicator, write down why it is suspicious in plain English before deciding it’s a true positive — this discipline avoids alert-fatigue-driven guessing.
  4. Draft the detection rule or logic (in plain English or pseudocode) that would have caught this automatically in the future.
  5. Cross-check your conclusion against the platform’s model answer or scoring, if provided, and note any gap between your reasoning and the expected answer.
  6. Write up your finding as a short incident note: what happened, how you knew, what you’d do next.

Evidence & screenshot requirements

Submit the following with your report (see this module’s practical assignment for exact upload details):

  • your full persistence-mechanism inventory (scheduled tasks/cron, services, run keys/systemd units, startup items)
  • your written note on which single item, if compromised, would be hardest to detect, and why

Expected deliverable

A concise lab-report entry containing: scope/target, exact commands or payloads used, your key
observation, the required screenshots above, and — where applicable — the specific remediation for what
you found. Vague answers (“sanitize input”, “use a firewall”) without naming the exact mechanism will not
receive full credit.

Safety & authorization

Only test the specific free lab target named above, or infrastructure you personally own. Do not target
third-party systems, real user accounts, or production services without explicit written authorization.
Never deploy anything from this project outside an isolated lab environment.