Skip to content

Incident Response Host Isolation, Live Memory Acquisition & Triage Forensics

SOP-SEC-001 Standard Operating Procedure v1.0.0
Last Updated 2026-10-15
Author Security Operations Team
đŸ’ģ Target OS / Systems:
Windows Server 2019/2022/2025Linux Server (Debian / Ubuntu / RHEL)Endpoint Detection & Response (EDR)Forensic Tooling (WinPmem, AVML, KAPE, CyLR)

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
Guide tools
0/0 Steps (0%)

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:

  1. CPU Registers, Cache, and Process Tables
  2. System Memory (RAM) — Contains unencrypted encryption keys, injected shellcode, decrypted C2 payloads, network sockets.
  3. Network State & Active Connections
  4. Temporary File Systems & Running Process Artifacts
  5. Non-Volatile Disk Storage ($MFT, Event Logs, Prefetch, Registry Hives)
  6. Remote Backups and Archival Logs

Pre-Flight Incident Classification & Tools

Severity LevelDefinitionMandatory Immediate Action
P1 - CriticalActive ransomware spread, Domain Controller compromise, rootkitImmediate network quarantine + Full RAM capture
P2 - HighLateral movement detected, Mimikatz credential dump alertHost isolation + RAM & artifact collection
P3 - MediumSuspicious outbound beaconing, anomalous scheduled taskEDR 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

01

EDR Centralized Host Isolation

EDR Isolation

If EDR is active, invoke isolation from the centralized console to sever all local subnet and Internet communication while preserving the telemetry channel.

Terminal window
# Force agent isolation via Wazuh Server
/var/ossec/bin/agent_control -b 10.10.20.150 -a 005

02

Core Switchport Port Quarantine

Switch Quarantine

If 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 terminal
core-switch(config)# interface GigabitEthernet1/0/24
core-switch(config-if)# description QUARANTINED-INCIDENT-IR-202610
core-switch(config-if)# switchport access vlan 999
core-switch(config-if)# shutdown
core-switch(config-if)# end

Execution: Phase 2 — Volatile Memory Acquisition (RAM)

03

Windows Server Memory Capture via WinPmem

Windows RAM

Capture live system RAM using WinPmem and calculate the cryptographic SHA-256 checksum immediately to preserve chain of custody.

Terminal window
# 1. Record current timestamp
Get-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 Custody
Get-FileHash -Algorithm SHA256 D:\Evidence\MEM_WIN_20261015.raw | Out-File -FilePath D:\Evidence\MEM_WIN_20261015.sha256

04

Linux Server Memory Capture via AVML

Linux RAM

Execute Microsoft AVML as root to compress and capture the Linux kernel and userland physical memory image directly to forensic storage.

Terminal window
# 1. Execute AVML compressed memory dump
./avml --compress /mnt/forensic/MEM_LINUX_20261015.raw.lime
# 2. Hash raw memory image
sha256sum /mnt/forensic/MEM_LINUX_20261015.raw.lime > /mnt/forensic/MEM_LINUX_20261015.sha256

Execution: Phase 3 — Live Triage Artifact Collection & Evidence Preservation

05

Windows Live Artifact Triage with KAPE & PowerShell

Windows Triage

Export active network sockets and running processes before pulling Master File Table ($MFT), Registry hives, Event Logs, and Prefetch via KAPE.

Terminal window
# 1. Capture Active Network Connections & Process PIDs
Get-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_Kape

06

Linux Live Artifact Triage with Bash

Linux Triage

Dump active listening and connected sockets, process tree hierarchies, cron jobs, and compress authentication and audit logs.

Terminal window
# Capture active sockets and network state
ss -tupna > /mnt/forensic/ss_sockets.txt
ps auxwwwf > /mnt/forensic/ps_tree.txt
crontab -l > /mnt/forensic/crontab.txt
# Archive system logs and authentication logs
tar -czf /mnt/forensic/system_logs.tar.gz /var/log/syslog /var/log/auth.log /var/log/audit/audit.log

07

Evidence Custody Ledger & Vault Storage

Chain of Custody

Every 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

08

Root-Cause Remediation Verification & De-isolation

De-isolation

Once 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/24
core-switch(config-if)# switchport access vlan 20
core-switch(config-if)# no shutdown
core-switch(config-if)# end
# If using EDR:
# Navigate to EDR console and click "Release from Isolation".

09

Incident Audit & Closeout Sign-off

Audit Sign-off

Verify 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 locker

Comments