Incident Response Host Isolation, Live Memory Acquisition & Triage Forensics
Before you begin
- Applies to:Authorized host isolation and live evidence collection during an endpoint incident.
- Where to start:Start with the incident lead and the approved containment workflow for the affected host.
- What you need:Have the case record, authority to isolate the host, approved collection tools, and restricted storage for evidence.
Guide tools
Scope, Purpose & Order of Volatility
This standard operating procedure defines the tactical steps required when an endpoint (server or workstation) is suspected of active compromise, malware beaconing, credential dumping, or ransomware execution.
Order of Volatility (RFC 3227 Compliance)
When responding to an incident, evidence must be captured from most volatile to least volatile before powering off or rebooting the host:
- CPU Registers, Cache, and Process Tables
- System Memory (RAM) â Contains unencrypted encryption keys, injected shellcode, decrypted C2 payloads, network sockets.
- Network State & Active Connections
- Temporary File Systems & Running Process Artifacts
- Non-Volatile Disk Storage ($MFT, Event Logs, Prefetch, Registry Hives)
- Remote Backups and Archival Logs
Pre-Flight Incident Classification & Tools
| Severity Level | Definition | Mandatory Immediate Action |
|---|---|---|
| P1 - Critical | Active ransomware spread, Domain Controller compromise, rootkit | Immediate network quarantine + Full RAM capture |
| P2 - High | Lateral movement detected, Mimikatz credential dump alert | Host isolation + RAM & artifact collection |
| P3 - Medium | Suspicious outbound beaconing, anomalous scheduled task | EDR isolation + Artifact triage analysis |
Forensic Toolkit Preparation
Maintain an air-gapped, write-blocked USB drive or dedicated read-only forensic SMB share containing:
winpmem.exe(v4.0+ signed kernel driver memory dumper)avml(Microsoft Automated Volatile Memory Acquisition for Linux)kape.exe(Kroll Artifact Parser and Extractor)sha256sum.exe/ native PowerShell hash tools
Execution: Phase 1 â Host Network Isolation
EDR Centralized Host Isolation
EDR IsolationIf EDR is active, invoke isolation from the centralized console to sever all local subnet and Internet communication while preserving the telemetry channel.
# Force agent isolation via Wazuh Server/var/ossec/bin/agent_control -b 10.10.20.150 -a 005Core Switchport Port Quarantine
Switch QuarantineIf EDR is disabled or unresponsive, immediately isolate the endpoint at Layer 2 via the core switch port by moving it to an isolated quarantine VLAN or shutting the interface down.
core-switch# configure terminalcore-switch(config)# interface GigabitEthernet1/0/24core-switch(config-if)# description QUARANTINED-INCIDENT-IR-202610core-switch(config-if)# switchport access vlan 999core-switch(config-if)# shutdowncore-switch(config-if)# endExecution: Phase 2 â Volatile Memory Acquisition (RAM)
Windows Server Memory Capture via WinPmem
Windows RAMCapture live system RAM using WinPmem and calculate the cryptographic SHA-256 checksum immediately to preserve chain of custody.
# 1. Record current timestampGet-Date -Format o | Out-File -FilePath D:\Evidence\acquisition_log.txt -Append
# 2. Capture live system RAM.\winpmem.exe -o D:\Evidence\MEM_WIN_20261015.raw --mode 2
# 3. Compute cryptographic hash immediately for Chain of CustodyGet-FileHash -Algorithm SHA256 D:\Evidence\MEM_WIN_20261015.raw | Out-File -FilePath D:\Evidence\MEM_WIN_20261015.sha256Linux Server Memory Capture via AVML
Linux RAMExecute Microsoft AVML as root to compress and capture the Linux kernel and userland physical memory image directly to forensic storage.
# 1. Execute AVML compressed memory dump./avml --compress /mnt/forensic/MEM_LINUX_20261015.raw.lime
# 2. Hash raw memory imagesha256sum /mnt/forensic/MEM_LINUX_20261015.raw.lime > /mnt/forensic/MEM_LINUX_20261015.sha256Execution: Phase 3 â Live Triage Artifact Collection & Evidence Preservation
Windows Live Artifact Triage with KAPE & PowerShell
Windows TriageExport active network sockets and running processes before pulling Master File Table ($MFT), Registry hives, Event Logs, and Prefetch via KAPE.
# 1. Capture Active Network Connections & Process PIDsGet-NetTCPConnection | Select-Object LocalAddress,LocalPort,RemoteAddress,RemotePort,State,OwningProcess | Export-Csv -Path D:\Evidence\network_sockets.csv -NoTypeInformation
Get-Process | Select-Object Id,ProcessName,Path,StartTime,Company | Export-Csv -Path D:\Evidence\running_processes.csv -NoTypeInformation
# 2. Execute KAPE for Automated Triage Artifacts.\kape.exe --tsource C: --tdest D:\Evidence\KAPE_Out --target KapeTriage --zip Evidence_KapeLinux Live Artifact Triage with Bash
Linux TriageDump active listening and connected sockets, process tree hierarchies, cron jobs, and compress authentication and audit logs.
# Capture active sockets and network statess -tupna > /mnt/forensic/ss_sockets.txtps auxwwwf > /mnt/forensic/ps_tree.txtcrontab -l > /mnt/forensic/crontab.txt
# Archive system logs and authentication logstar -czf /mnt/forensic/system_logs.tar.gz /var/log/syslog /var/log/auth.log /var/log/audit/audit.logEvidence Custody Ledger & Vault Storage
Chain of CustodyEvery piece of digital evidence collected must have an associated Chain of Custody ledger entry recording exact hardware serials and SHA-256 hashes.
EVIDENCE CUSTODY LEDGER:- Case Reference ID: IR-2026-10-15-001- Target Hostname: PROD-SRV-APP01 (IP: 10.10.20.150 / MAC: 00:50:56:AB:12:CD)- Evidence Description: Complete Physical RAM Dump (MEM_WIN_20261015.raw)- SHA-256 Checksum: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855- Acquired By: Security Operations Team- Storage Medium: Encrypted BitLocker USB Serial: #USBFORENSIC-04- Stored In: Cyber Security Safe #1 (Access Restricted to CISO & Lead Admin)Execution: Phase 4 â Post-Incident Remediation & Closeout Sign-off
Root-Cause Remediation Verification & De-isolation
De-isolationOnce malicious processes and persistence mechanisms are fully eradicated, verify security baselines and re-enable switchport or EDR access.
# Switchport restoration on Cisco Catalyst:core-switch(config)# interface GigabitEthernet1/0/24core-switch(config-if)# switchport access vlan 20core-switch(config-if)# no shutdowncore-switch(config-if)# end
# If using EDR:# Navigate to EDR console and click "Release from Isolation".Incident Audit & Closeout Sign-off
Audit Sign-offVerify that containment was enacted within policy deadlines, memory evidence was cryptographically sealed, and sign-off is logged.
INCIDENT CLOSEOUT CHECKPOINTS:[â] Isolation Executed: Network boundary severed within 5 minutes of alert[â] RAM Acquired: Raw memory image captured and SHA-256 verified[â] Triage Captured: Prefetch, Event Logs, and Network sockets preserved[â] Chain of Custody: Vaulted and signed into physical evidence lockerYour feedback keeps these production procedures accurate and battle-tested.