# Persistence Control and Cleanup

> Control persistence through approval, check hosts for anything left behind, reconcile the change ledger, verify removals and write a clean environment attestation.

Canonical: https://codelivly.com/rooms/persistence-control-and-cleanup
Last updated: 2026-11-26

| | |
|---|---|
| Level | Intermediate |
| Category | Cybersecurity |
| Lessons | 5 |
| Estimated time | 3 h 10 min |
| XP | 940 |

The last day of the fictional Saltmarsh engagement. This room covers why persistence needs its own approval, how to check that nothing unregistered remains, how to reconcile the change ledger, how to remove engagement items and prove they are gone, and how to attest to the state of the environment without claiming more than was seen. Every lesson has a terminal exercise on a simulated host or engagement records and scenario questions that need judgment.

## Lessons

1. Why Persistence Needs Its Own Approval (35 min)
2. Common Persistence Locations (35 min)
3. The Change Ledger (35 min)
4. Removal and Verification (35 min)
5. Guided Lab: Clean Environment Attestation (50 min)

## Related

- [Learning path: Objectives, Detection Review and Reporting](https://codelivly.com/learning-paths/objectives-detection-review-and-reporting)
- [All rooms](https://codelivly.com/rooms)
