Clean Room Backup Restoration, Verification & Disaster Recovery Orchestration
Before you begin
- Applies to:Clean room backup recovery using Veeam or Proxmox Backup Server with an isolated recovery environment.
- Where to start:Start with the recovery lead and verify the backup and network isolation before restoring any workload.
- What you need:Have approved repository access, a candidate restore point, isolated compute and storage, dependency order, and security sign-off criteria for returning systems to production.
Guide tools
Scope, Threat Model & Architectural Objective
This emergency runbook establishes the mandatory operational procedure for verifying immutable backups, provisioning an Isolated Recovery Environment (IRE) / Clean Room, restoring mission-critical workloads in strict dependency sequence, scanning for dormant malware, and returning sanitized systems into enterprise production.
During a catastrophic ransomware outbreak or advanced persistent threat (APT) compromise, systems cannot be restored directly into existing networks. Attackers frequently implant dormant backdoors, time-delayed detonators, or lateral movement beacons that re-infect production immediately upon restoration.
Clean Room Restoration & Threat Scouring Pipeline: Verify repository immutability (chattr +i / SHA-256), provision an air-gapped Isolated Recovery Environment (IRE) sandbox, restore systems in strict dependency order (Tier 0 β Tier 1 β Tier 2), execute offline disk forensic scouring via YARA/EDR, invalidate Kerberos credentials via dual krbtgt rotation, and restore production access under metered firewall policy.
Recovery Prerequisites & Tooling Matrix
| Component | Target Specification | Role in Recovery |
|---|---|---|
| Recovery Network (IRE) | Isolated VLAN 999 (192.168.254.0/24) | Non-routable private vSwitch; no gateway, zero Internet egress |
| Immutable Storage | Linux Hardened Repository (XFS reflink) | WORM-locked backup repository (chattr +i enforced) |
| Forensic Hypervisor | Dedicated Standalone ESXi / Proxmox Node | Clean hypervisor hardware unmanaged by compromised vCenter |
| Antivirus / YARA Tools | ClamAV, Thor Scanner, Microsoft Defender Offline | Offline malware scanner injected via read-only ISO |
| Authentication | Air-gapped break-glass local administrator credentials | Zero dependencies on compromised Active Directory |
Execution: Phase 1 β Isolated Clean Room Provisioning
Provision Isolated Virtual Recovery Network (IRE)
IRE IsolationProvision a completely isolated virtual switch with no physical uplinks or routing interfaces on the designated recovery hypervisor. This guarantees zero egress traffic during forensic bring-up.
# On Proxmox VE Standalone Recovery Host:# Create isolated Linux Bridge with no physical slave interfacescat <<'EOF' >> /etc/network/interfaces
auto vmbr999iface vmbr999 inet static address 192.168.254.1/24 bridge-ports none bridge-stp off bridge-fd 0 # ISOLATED CLEAN ROOM RECOVERY NETWORK - ZERO ROUTINGEOF
ifreload -a# On VMware ESXi Standalone Recovery Host via PowerCLI:# Create isolated Standard vSwitch with no physical NICsNew-VirtualSwitch -VMHost "esxi-clean.corp.internal" -Name "vSwitch-CleanRoom"New-VirtualPortGroup -VirtualSwitch "vSwitch-CleanRoom" -Name "PG-CleanRoom-Isolated" -VLanId 999β― Illustrative Output (Results Vary)
# Verification:Confirm the new vSwitch has zero physical adapters attached:esxcfg-vswitch -lorip link show vmbr999Validate Immutability and Cryptographic Signatures
Integrity AuditVerify that backup repositories maintained their immutable lock and have not been altered or truncated by verifying filesystem immutability attributes and offline cryptographic hashes.
# On Linux Hardened Backup Repository:# 1. Verify file system immutability flag on backup chains (.vbk / .vib)lsattr -l /mnt/backup-immutable/backups/PROD-DC01/*.vbk
# Expected output must contain: "Immutable"
# 2. Verify SHA-256 checksums against offline baseline recordsha256sum /mnt/backup-immutable/backups/PROD-DC01/PROD-DC01_Full.vbk > /tmp/current_hash.txtdiff -u /mnt/secure-offline-vault/hashes/PROD-DC01_Full.sha256 /tmp/current_hash.txt# In Veeam Backup & Replication PowerShell:# Verify backup integrity using SureBackup verification engineTest-VBRBackup -Backup (Get-VBRBackup -Name "Enterprise Core Infrastructure") -Verboseβ― Illustrative Output (Results Vary)
# Verification Output:/mnt/backup-immutable/backups/PROD-DC01/PROD-DC01_Full.vbk ImmutableFiles match: zero differences detected. chattr +i lock confirmed active.Execution: Phase 2 β Tiered System Restoration Sequence
Workloads must be restored in strict dependency order:
- Tier-0 (Identity & PKI): Primary Domain Controller, Enterprise Root/Issuing CA.
- Tier-1 (Core Infrastructure): DNS, DHCP, Storage Management, Database Clusters.
- Tier-2 (Applications & Workloads): ERP, Line of Business, Web Services, File Repositories.
Restore Primary Domain Controller in DSRM
Tier-0 IdentityRestore the authoritative Domain Controller (DC-01) directly into the isolated clean-room port group without network connectivity to any existing hosts, booting strictly into Directory Services Restore Mode (DSRM).
# In Veeam PowerShell session on Backup Server:$RestorePoint = Get-VBRRestorePoint -Name "DC-01" | Sort-Object $_.CreationTime -Descending | Select-Object -First 1
# Configure Instant VM Recovery targeting clean-room network$Server = Get-VBRServer -Name "esxi-clean.corp.internal"$ResourcePool = Get-VBRResourcePool -Server $Server -Name "CleanRoom-Pool"
$Params = @{ RestorePoint = $RestorePoint Server = $Server ResourcePool = $ResourcePool Network = "PG-CleanRoom-Isolated" PowerUp = $false VMName = "DC-01-CLEANROOM"}
Start-VBRInstantRecovery @Params# Before powering on, boot into DSRM (Directory Services Restore Mode)# Mount guest disk and inject DSRM boot flag:bcdedit /set safeboot dsrmβ― Illustrative Output (Results Vary)
# Verification:Start VM and connect via virtual console:Verify DC boots into Safe Mode / DSRM prompt: "Safe Mode (Directory Services Repair)"Perform Offline Malware & Persistence Threat Scan
Forensic SweepBefore allowing guest communication, scan the restored virtual disk from an external mount point using multiple independent threat-hunting engines and inspect autorun persistence hives.
# On recovery hypervisor: Mount restored VM raw disk in read-only modeguestmount -a /var/lib/vz/images/100/vm-100-disk-0.qcow2 -m /dev/sda2 --ro /mnt/analysis/
# 1. Execute YARA threat scan for known ransomware extensions and web shellsyara -r /opt/rules/ransomware_index.yar /mnt/analysis/Windows/System32/yara -r /opt/rules/apt_persistence.yar /mnt/analysis/Windows/Tasks/
# 2. Inspect common persistence autorun registry keyschntpw -e /mnt/analysis/Windows/System32/config/SOFTWARE <<'EOF'cd Microsoft\Windows\CurrentVersion\Runlscd ..\RunOncelsqEOF
# 3. Unmount analysis target cleanlyguestunmount /mnt/analysisβ― Illustrative Output (Results Vary)
# Verification:Confirm zero detections from YARA rule sweeps and verify no anomalous binaries exist in Run / RunOnce registry hives.Restore Database and Application Servers in Dependency Order
Tier-1/2 RestoreFollowing Tier-0 identity clearance, restore database servers into the clean room, enforcing storage snapshot validation and executing database consistency checks.
# Restore SQL Server into Clean Room sandbox$SQLPoint = Get-VBRRestorePoint -Name "PROD-SQL01" | Sort-Object $_.CreationTime -Descending | Select-Object -First 1
Start-VBRInstantRecovery ` -RestorePoint $SQLPoint ` -Server $Server ` -Network "PG-CleanRoom-Isolated" ` -PowerUp $true ` -VMName "SQL-01-CLEANROOM"-- On restored SQL Server via local console:-- Validate database structural integrityDBCC CHECKDB ('EnterpriseERP') WITH NO_INFOMSGS, ALL_ERRORMSGS;GOβ― Illustrative Output (Results Vary)
CHECKDB found 0 allocation errors and 0 consistency errors in database 'EnterpriseERP'.Execution: Phase 3 β Credential Invalidation & Hardening
Dual-Rotation of Kerberos Ticket-Granting Service (krbtgt)
Golden Ticket KillTo prevent resurrected Golden Tickets from persisting after recovery, reset the krbtgt account password twice with a 10-minute replication pause.
# Run on restored DC-01 inside Clean Room:Import-Module ActiveDirectory
# 1. First krbtgt password reset (invalidates older tickets)$SecurePass1 = (New-Guid).ToString() + "!Aa1" | ConvertTo-SecureString -AsPlainText -ForceSet-ADAccountPassword krbtgt -NewPassword $SecurePass1 -Reset
Write-Host "[-] First krbtgt reset complete. Pausing 10 minutes for token aging..." -ForegroundColor CyanStart-Sleep -Seconds 600
# 2. Second krbtgt password reset (invalidates all active Golden Tickets)$SecurePass2 = (New-Guid).ToString() + "!Bb2" | ConvertTo-SecureString -AsPlainText -ForceSet-ADAccountPassword krbtgt -NewPassword $SecurePass2 -ResetWrite-Host "[+] krbtgt dual-rotation successfully completed." -ForegroundColor Greenβ― Illustrative Output (Results Vary)
# Verification:Query Kerberos ticket grant:klist get krbtgtConfirm fresh ticket issuance with current timestamp.Force Enterprise-Wide Administrative Credential Reset
Privilege PurgeReset all Domain Admins, Enterprise Admins, and service account passwords prior to production network re-attachment to prevent credential replay attacks.
# Reset all accounts in Privileged OUGet-ADUser -SearchBase "OU=Tier0,OU=AdminAccounts,DC=corp,DC=internal" -Filter * | ForEach-Object { $RandomPass = (-join ((65..90) + (97..122) + (48..57) + 33..38 | Get-Random -Count 24 | ForEach-Object {[char]$_})) Set-ADAccountPassword $_.SamAccountName -NewPassword (ConvertTo-SecureString -AsPlainText $RandomPass -Force) -Reset Set-ADUser $_.SamAccountName -ChangePasswordAtLogon $true Write-Host "[-] Reset password for privileged user: $($_.SamAccountName)"}β― Illustrative Output (Results Vary)
Confirm PasswordLastSet attribute updates to current timestamp on all privileged objects:Get-ADUser -SearchBase "OU=Tier0,OU=AdminAccounts,DC=corp,DC=internal" -Filter * -Properties PasswordLastSet | Select Name, PasswordLastSetExecution: Phase 4 β Controlled Return to Production
Configure Metered Quarantine Ingress/Egress on Edge Firewall
Network MeteringDo not open full network routing immediately. Create strict micro-segmentation rules permitting only required management ports with full packet inspection.
! On Perimeter / Core Firewall (Cisco IOS-XE / FortiOS):! Allow only DNS (53), Kerberos (88), and LDAP (389) between restored servers and target subnetaccess-list 150 permit tcp 192.168.254.0 0.0.0.255 10.10.10.0 0.0.0.255 eq 53access-list 150 permit udp 192.168.254.0 0.0.0.255 10.10.10.0 0.0.0.255 eq 53access-list 150 permit tcp 192.168.254.0 0.0.0.255 10.10.10.0 0.0.0.255 eq 88access-list 150 permit tcp 192.168.254.0 0.0.0.255 10.10.10.0 0.0.0.255 eq 389access-list 150 deny ip any any logβ― Illustrative Output (Results Vary)
# Verification:Run "show log" on firewall:Confirm unapproved outbound protocols (e.g., SMTP, TOR, High Ports) generate deny log entries.Re-assign Production Network Interfaces and Monitor Telemetry
CutoverSwitch restored VM network interfaces from the Clean Room vSwitch back to production VLANs while EDR telemetry is monitored live in SIEM.
# Reconnect restored VM to production networkGet-VM "DC-01-CLEANROOM" | Get-NetworkAdapter | Set-NetworkAdapter -NetworkName "VLAN10-Servers" -Confirm:$false
# On DC-01, remove DSRM boot flag and restart into normal multi-user modebcdedit /deletevalue safebootRestart-Computer -Forceβ― Illustrative Output (Results Vary)
# Verification:Confirm host responds to pings on production subnet and reports active telemetry to Wazuh SIEM.Rollback & Audit Sign-Off
Emergency Network Severance & Snapshot Reversion
RollbackIf anomalous beaconing, suspicious process execution, or file encryption behavior is detected post-restoration, instantly sever network adapters and halt the VM.
# 1. Immediately disconnect network interface via hypervisor CLIGet-VM "DC-01-CLEANROOM" | Get-NetworkAdapter | Set-NetworkAdapter -Connected:$false -Confirm:$false
# 2. Stop VM execution forciblyStop-VM "DC-01-CLEANROOM" -Kill -Confirm:$false
# 3. Mark the backup restore point as compromised in VeeamGet-VBRRestorePoint -Name "DC-01" | Where-Object {$_.CreationTime -eq $RestorePoint.CreationTime} | ForEach-Object { Write-Warning "Tainted restore point identified: $($_.Id)" }Operational Compliance & Audit Sign-off
| Validation Checkpoint | Mandatory Acceptance Criteria | Approver | Sign-Off |
|---|---|---|---|
| Air-Gap Verification | Zero routable uplinks on Clean Room vSwitch | Network Engineering | Approved |
| Immutability Audit | WORM lock validated on Linux repository | Security Operations | Approved |
| Malware Sweep | YARA and EDR scans return 0 threats | Security Operations | Approved |
| krbtgt Dual-Reset | Kerberos service account rotated twice | Lead Systems Administrator | Approved |
| Metered ACL Cutover | Strict firewall rules applied prior to re-connection | Network Engineering | Approved |
| Production Handover | Core services validated online > 60 minutes | CISO | Approved |
Your feedback keeps these production procedures accurate and battle-tested.