Skip to content

Break-Glass Enterprise Ransomware Containment & Forest Isolation Procedure

SOP-SEC-010 Standard Operating Procedure v1.0.0
Last Updated 2026-10-15
Author Security Operations Team
πŸ’» Target OS / Systems:
Active Directory Domain Services (All DCs)VMware vSphere 8 / Proxmox VE 8TrueNAS Enterprise / SAN Storage FabricCisco Core Switches & Perimeter Firewalls

Before you begin

  • Applies to:Emergency enterprise response to confirmed widespread ransomware or lateral credential abuse.
  • Where to start:Activate the organization’s emergency response process through the authorized incident lead before isolating systems.
  • What you need:Have an incident record, documented activation authority, an independent communication channel, and access to the approved containment controls.
Guide tools
Guide tools
0/0 Steps (0%)

Scope, Activation Authority & Escalation Criteria

This emergency runbook outlines the immediate, drastic containment actions required when active, widespread ransomware execution, lateral credential abuse, or mass volume shadow copy deletion is confirmed within the enterprise.

Immediate Activation Criteria:

Execution of this procedure is authorized IMMEDIATELY without awaiting Change Advisory Board approval upon confirmation of ANY of the following triggers:

  1. Two or more servers report encrypted files or ransom notes (e.g., .locked, README_DECRYPT.txt).
  2. Detection of unauthorized mass domain-wide commands executing vssadmin delete shadows /all /quiet or wbadmin delete catalog.
  3. Simultaneous unauthorized administrative logins detected across all Tier-0 Domain Controllers.

Containment Sequence Matrix

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ PHASE 1: NETWORK AIR-GAP (Minutes 0 - 5) β”‚
β”‚ - Drop Perimeter Firewall WAN Uplinks β”‚
β”‚ - Sever Core Switch Inter-VLAN Routing & Trunks β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ PHASE 2: STORAGE QUENCH & IMMUTABILITY (Mins 5 - 10) β”‚
β”‚ - Set ZFS / SAN Datasets to READ-ONLY β”‚
β”‚ - Disconnect Hypervisor iSCSI / NFS Mounts β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ PHASE 3: IDENTITY & KERBEROS FREEZE (Mins 10 - 20) β”‚
β”‚ - Reset KRBTGT Password TWICE (Invalidate all TGTs) β”‚
β”‚ - Sever Entra ID Sync & Revoke Refresh Tokens β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ PHASE 4: CLEAN-ROOM RESTORATION (Mins 20+) β”‚
β”‚ - Spin up Isolated Clean-Room Recovery Network β”‚
β”‚ - Restore from Immutable Backups (SOP-SYS-062) β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Phase 1: Immediate Network Air-Gap (Minutes 0 – 5)

Sever external command-and-control communication and prevent lateral infection spread across VLANs.

01

Drop All Firewall WAN Interfaces

Air-Gap

Execute on perimeter firewalls to instantly cut inbound/outbound Internet connectivity, severing actor C2 control and preventing ongoing data exfiltration.

Terminal window
# FortiGate CLI:
config system interface
edit "wan1"
set status down
next
edit "wan2"
set status down
next
end
# pfSense / OPNsense Console:
# Select Option 2 (Set interface IP address) or pull physical WAN patch cables.

02

Sever Inter-VLAN Core Routing

Switch Air-Gap

Access the core switch via dedicated Out-Of-Band (OOB) console or physical serial and administratively shut down all internal VLAN interfaces (except OOB management).

core-switch# configure terminal
! Shut down inter-VLAN routing interfaces immediately
interface vlan 20
shutdown
interface vlan 30
shutdown
interface vlan 40
shutdown
interface vlan 50
shutdown
! DO NOT shut down Out-Of-Band Management VLAN 99
end

Phase 2: Storage Quench & Immutability Lock (Minutes 5 – 10)

03

Force ZFS Datasets to Read-Only

Storage Quench

Access the storage controller directly and enforce read-only properties across all production storage pools to immediately prevent active payload file encryption.

Terminal window
# Set root storage pool to read-only immediately
zfs set readonly=on tank-fast-vms
zfs set readonly=on tank-backup
# Verify write-lock status
zfs get readonly tank-fast-vms

04

Sever Hypervisor Shared Datastores

Hypervisor Detach

On VMware ESXi and Proxmox VE nodes, unmount or disable network datastores to cut off malicious guest virtual machine disk I/O.

Terminal window
# On Proxmox:
pvesm set ceph-vm-pool --disable 1
pvesm set tank-iscsi --disable 1
# On VMware ESXi:
# esxcli storage filesystem unmount -u <Volume-UUID>

Phase 3: Identity & Kerberos Forest Freeze (Minutes 10 – 20)

05

Reset the krbtgt Account Password TWICE

Golden Ticket Purge

Execute on the PDC Emulator Domain Controller. Resetting the password once invalidates active Ticket Granting Tickets (TGTs); resetting a second time clears password history, invalidating all Kerberos Golden Tickets.

Terminal window
# Reset 1: Invalidates currently issued TGTs
Set-ADAccountPassword -Identity krbtgt -NewPassword (ConvertTo-SecureString -AsPlainText "TempBreakGlassPwd!2026#Alpha" -Force) -Reset
# Replicate to partner DCs
repadmin /syncall /AdeP
# Reset 2: Invalidates previous password hash, destroying forged Golden Tickets
Set-ADAccountPassword -Identity krbtgt -NewPassword (ConvertTo-SecureString -AsPlainText "TempBreakGlassPwd!2026#Beta" -Force) -Reset
repadmin /syncall /AdeP

06

Revoke Active Directory Federation & Entra ID Sync

Cloud Isolation

Stop and disable directory synchronization services to prevent corrupted credentials, compromised objects, or ransomware encryption from propagating to Microsoft 365.

Terminal window
# Stop Entra Connect Sync Service
Stop-Service -Name "ADSync"
Set-Service -Name "ADSync" -StartupType Disabled

07

Evict All Active SMB and RDP Sessions

Session Eviction

Forcefully terminate all remote file sharing connections and active remote desktop interactive sessions across domain controllers and member servers.

Terminal window
# Evict all remote SMB connections
Get-SmbSession | Close-SmbSession -Force
# Terminate all active RDP user sessions
qwinsta | ForEach-Object {
$line = $_.Trim() -split '\s+'
if ($line[1] -match '^\d+$') {
rwinsta $line[1]
}
}

Phase 4: Clean-Room Environment & Recovery Roadmap

08

Provision Clean-Room Recovery VLAN & Restore

Recovery

Establish an isolated recovery segment with no access to production, mount immutable backup repositories, preserve forensic samples, and rebuild core domain controllers from clean media.

1. Provision Clean-Room Recovery VLAN (e.g., VLAN 888) with no external routing.
2. Mount Linux Hardened Immutable Repository or Proxmox Backup Server (per SOP-SYS-062).
3. Validate backup snapshots created prior to initial compromise timestamp.
4. Capture live volatile RAM and triage logs from sample machines before wiping (per SOP-SEC-001).
5. Clean-Room OS Rebuild: Re-deploy Domain Controllers from known clean images.

Phase 5: Controlled De-escalation, Rollback & Incident Sign-Off

09

Controlled De-escalation & Phased Reconnection

Rollback

When containment is verified, restore storage write capabilities and bring up networking incrementally while monitoring SIEM dashboards for abnormal authentication spikes.

Terminal window
# 1. Restore TrueNAS Storage Write Capabilities
zfs set readonly=off tank-fast-vms
# 2. Re-enable Core Switch Inter-VLAN Routing One Subnet at a Time
# core-switch(config)# interface vlan 10
# core-switch(config-if)# no shutdown
# 3. Monitor Wazuh SIEM Dashboard for beaconing or authentication spikes before WAN reconnection

10

Incident Command Verification & Closeout Sign-Off

Incident Sign-off

Verify that each emergency stage received mandatory operational authorization and log the Incident Commander sign-off.

INCIDENT COMMAND SIGN-OFF:
[βœ“] Emergency Containment Order: Authorized by Lead SysAdmin / CISO
[βœ“] Storage Read-Only Lock: Executed and verified by Systems Admin Team
[βœ“] Double KRBTGT Password Reset: Executed by Tier-0 Domain Administrator
[βœ“] Clean-Room Recovery Authorize: Sign-off granted by Incident Commander

Comments