Use this when protecting VM snapshots that may contain secrets.
Snapshot Security
Snapshot security: VM snapshots contain full disk and sometimes memory state, including secrets and keys. Restrict who can create, copy and download them, and delete old snapshots.
1. Snapshots may contain memory with secrets and old vulnerable states.
2. Restrict snapshot permissions.
3. Delete promptly.
4. Encrypt storage.
5. Don't share snapshot files.
VM state → snapshot (sensitive) → controlled access
Context & applicabilityCommon mistakes · platform/version boundaries
- Snapshots kept for weeks, growing large and holding old vulnerable states.
- Memory snapshots containing passwords and keys copied around.
- Reverting a DC snapshot without VM-GenerationID support (USN rollback on old systems).
- Treating snapshots as backups.
Operational reference
Fast context before you go deeper.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Snapshots contain disk and sometimes memory state.
- Restrict who can copy or download them.
- Delete old snapshots.
- Snapshot inventory and ages — exposure
- Who can create/revert/download snapshots — RBAC
- Snapshots with memory (contain secrets) — protection
ReferenceWhy it matters1 section · depth on demand
Snapshot risks
- Snapshots (especially with memory) contain passwords, keys and session data; whoever can read the datastore can extract them.
- Old snapshots keep vulnerable or compromised states and grow storage.
- Reverting a domain controller snapshot can cause USN rollback.
Restrict datastore access, delete snapshots after use (alert on age > 72 h), and encrypt VMs holding sensitive data.
ReferenceHow it works1 section · depth on demand
In depth
Snapshots capture a VM's disk (and optionally memory) state at a point in time. They contain everything in the VM — including data that was later deleted and, with memory snapshots, secrets present in RAM — so they are as sensitive as the VM itself.
Guidelines:
| Risk | Measure |
|---|---|
| Data exposure | Restrict snapshot and export permissions |
| Secrets in memory snapshots | Avoid memory snapshots for sensitive VMs |
| Long-lived snapshots | Performance and storage impact; delete within days |
| Reverting reintroduces old vulnerabilities/credentials | Patch and rotate after revert |
| Snapshots are not backups | Same storage; ransomware can delete them |
Report snapshots older than a few days and remove them; they are a common source of datastore outages and forgotten data copies.
ReferenceImportant terms & boundaries1 section · depth on demand
Secure handling
- Restrict who can create, export and download snapshots.
- Delete snapshots after changes are verified (hours or days, not weeks).
- Encrypt VMs whose snapshots may hold secrets.
- Alert on snapshot downloads and on cloning of DC or database VMs.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Virtualization Security → Snapshot Security. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://csrc.nist.gov/pubs/sp/800/125/final · confidence 94%