Skip to content

Incident Response Playbook

github-actions[bot] edited this page Nov 29, 2026 · 5 revisions

๐ŸŽฏ Purpose

Define standardized, repeatable processes for detecting, analyzing, containing, and recovering from security incidents.

โš™๏ธ Function

A local operational sequence (preparation โ†’ identification/analysis โ†’ containment โ†’ eradication โ†’ recovery โ†’ lessons learned) with assigned roles and generic tool references. These are team procedure stages, not a fixed phase count mandated by NIST. For the enhanced template and the NIST SP 800-61 Rev. 3 / CSF 2.0 distinction, see the enhanced playbook.

๐Ÿ† Goal

Give a smaller team or a single analyst a fast, no-frills checklist to follow the moment an incident is declared, without needing to first read a lengthy framework-aligned document.

๐Ÿ“‹ When to Use

  • Any declared security incident (malware, data exfiltration, unauthorized access, DoS, insider threat, supply-chain compromise) impacting on-prem or cloud systems
  • Small teams or lean SOCs that need a working procedure today rather than a fully tooled framework
  • Training new SOC analysts on the incident response lifecycle before introducing the enhanced/tool-specific version

Scope:

Covers any incident impacting on-premise or cloud systems-including malware infections, data exfiltration, unauthorized access, denial-of-service, insider threats, and supply-chain compromises-across all corporate assets (endpoints, servers, network devices, cloud workloads, OT) under monitoring appropriate to the organization's documented coverage. Verify staffing and sensor availability rather than assuming 24ร—7 coverage.


2. Roles & Responsibilities

Role Responsibilities
Incident Response Lead Coordinates IR activities; liaises with management and execs.
SOC Analyst I Monitors alerts; performs initial triage and escalates.
SOC Analyst II / Threat Hunter Deep-dive investigations; proactive hunting and hypothesis testing.
Forensic Analyst Collects and analyzes endpoint & network artifacts.
Malware Analyst Reverse-engineers suspicious binaries; produces IOCs.
Remediation Engineer Implements containment, eradication, and recovery actions.
Communications Officer Manages internal/external notifications (legal, PR, stakeholders).

3. Preparation

1. Asset Inventory

  • Maintain an up-to-date CMDB of critical systems, endpoints, applications, network segments, and owners.

2. Baseline & Logging

  • Ensure all servers/endpoints forward logs (Syslog, Windows Events) to your SIEM (Splunk, Elastic) with retention matched to legal, policy and incident-response requirements; no universal 90-day minimum is implied.
  • Deploy host-based EDR (CrowdStrike, SentinelOne) and network IDS/IPS (Suricata, Zeek).

3. Tooling & Access

  • Validate admin access to forensic workstations, evidence lockers, VPN jump boxes, and ticketing system.
  • Predefine escalation contacts (legal, PR, executive).

4. Playbook Testing

  • Schedule quarterly tabletop exercises covering phishing, ransomware, insider threats, and DDoS.

4. Identification

4.1 Alert Triage

Dashboard Prioritization:

  • Sort by risk score and asset criticality. Follow the approved triage target and escalation rota; a universal 15-minute SLA cannot be assumed from this template.

Common SIGs:

  • Unusual authentication bursts (EventCode 4625 spikes)
  • New/unsigned services or scheduled tasks
  • Outbound connects to known C2 IPs/domains

4.2 Initial Data Collection

Endpoint:

  • Process listing (pslist), network (netstat -anob), autoruns.
  • Snapshot memory (FTK Imager, Magnet RAM Capture).

Network:

  • Query Zeek's structured logs (for example connection, DNS and HTTP metadata). Obtain full PCAPs only from a separately configured packet-capture system if available; Zeek logging alone does not guarantee retained packet data.
  • Query Suricata EVE JSON logs for matching signatures.

5. Containment

5.1 Short-Term

  • Isolate Host: Disable network adapter or move to quarantine VLAN via EDR.
  • Block IOCs: Push firewall rules or EDR blocklists for malicious IPs/domains.

5.2 Long-Term

  • Credentials: Reset impacted accounts; enforce MFA everywhere.
  • Patching: Apply emergency OS/app patches if exploitation leveraged a known CVE.

6. Eradication

  • Persistence Removal: Identify and delete malicious services, scheduled tasks, registry run-keys.
  • Forensic Validation: Re-scan endpoints with updated signatures and confirm no malware artifacts remain (registry, startup folders, memory).

7. Recovery

  • System Restoration: Restore from known-good backups where needed.
  • Integrity Check: Validate checksums (e.g., sha256sum) of critical binaries.
  • Functional Testing: Ensure services start, user logons succeed, and network connectivity is normal.
  • Monitoring Enhancement: Tune SIEM correlation rules to detect similar TTPs in future.

Canonical reference: Backup & Restore Recovery Lab โ€” this section is a summary; the lab shows how to restore the pre-event snapshot and verify it file by file.


8. Lessons Learned

  1. After-Action Review (AAR): Convene within one week of incident closure.
  2. Documentation: Record timeline, root cause, detection gaps, and action items.
  3. Playbook Updates: Incorporate new detection rules, tooling changes, and threshold adjustments.
  4. Training: Deliver focused SOC/IT training on newly observed TTPs.

9. Appendices

A. Sample SIEM Queries

Failed Logon Spike (Splunk):

index=windows EventCode=4625
| bin _time span=5m
| stats count by _time, Account_Name
| where count > 50

DNS Beacon Detection (Elastic DSL):

GET /_search
{
  "query": {
    "bool": {
      "must": [
        { "match": { "dns.question.name": "suspicious.example" } }
      ]
    }
  }
}

B. Evidence Collection Checklist

  • โ˜ Hostname, IP, OS version
  • โ˜ Running processes & services
  • โ˜ Network connections & firewall rules
  • โ˜ Volatile data (memory, swap)
  • โ˜ Non-volatile data (logs, registry hives)

Security and Ethical Considerations โš ๏ธ

IMPORTANT: Use these tools only for authorized security testing. Activity outside your authorization may violate applicable law, contracts, or policy; requirements depend on jurisdiction and circumstances. Obtain written authorization, confirm scope, and see LEGAL.md.

  • Marauder Use: Get written permission before testing any network. Only test networks you own or have explicit authorization to test.
  • Cracking Use: All cracking attempts (Hashcat) must be done in an isolated lab environment against hashes you are authorized to possess.
  • Legal Compliance: Strictly comply with all local laws and regulations.

Legal Use Cases:

  • Penetration testing with client authorization.
  • Testing your own home or lab network security.
  • Security research in isolated lab environments.

Related Files


๐Ÿ“„ Source: PlayBooks/BlueTeam_IncResp_Simple.md | โœ๏ธ Suggest an edit | โฌ…๏ธ Back to Playbooks

Clone this wiki locally