Overview
Provides a clear, actionable incident response playbook based on NIST / SANS phases (Preparation, Detection & Analysis, Containment, Eradication, Recovery, Lessons Learned). Includes severity classification, immediate containment checklists, evidence preservation, stakeholder notification templates (internal and external), forensic approach, root cause analysis template, and a post-incident review process.
When to Use This Skill
- A security incident is suspected or confirmed (credential leak, unauthorized access, data exfiltration, malware, etc.).
- Building or improving an incident response plan / runbooks.
- Training the team on how to respond to incidents.
- After an incident for the post-mortem.
Prerequisites
- An incident has been declared (or you are writing the plan in advance).
- Access to relevant systems (logs, cloud consoles, ticketing, communication channels).
- Pre-defined roles (Incident Commander, Communications Lead, Technical Lead, Legal, etc.).
- Contact lists and escalation paths.
Steps
Preparation (do this now, before any incident):
- Define severity levels (Sev 1 Critical, Sev 2 High, Sev 3 Medium, Sev 4 Low).
- Create on-call rotation and escalation matrix.
- Pre-authorize certain containment actions (e.g., "Incident Commander can disable a user or revoke tokens without further approval for Sev 1/2").
- Maintain "go bags" / runbooks and access to forensic tools.
- Tabletop exercises.
Detection & Analysis:
- Triage the alert or report.
- Determine if it is a real incident (vs false positive or bug).
- Classify severity.
- Assemble the response team.
- Start a dedicated Slack/Teams channel + incident ticket.
- Preserve evidence (do not reboot, image disks if possible, export logs with timestamps, take screenshots of consoles).
Containment (short-term & long-term):
- Short-term: isolate affected systems/users (disable accounts, revoke tokens, block IPs, take instances out of LB, enable WAF rules).
- Long-term: patch, re-image, rotate secrets, improve detection.
- Document every containment action with time and who performed it.
Eradication:
- Remove malware, backdoors, unauthorized accounts, malicious code.
- Patch vulnerabilities that were exploited.
- Rebuild affected systems from known-good images where possible.
Recovery:
- Restore systems from backups (verify they are clean).
- Gradually bring services back online with increased monitoring.
- Validate that the threat is no longer present (re-scan, re-authenticate users, etc.).
- Monitor for re-compromise.
Lessons Learned / Post-Incident Review (PIR):
- Blameless post-mortem within 1-2 weeks.
- Timeline reconstruction.
- What went well, what didn't, root cause (5 Whys or similar).
- Action items with owners and due dates (fix the vulnerability, improve detection, update runbooks, training, etc.).
- Update this playbook and other relevant docs.
Communication:
- Internal: status updates at regular cadence (every 30-60 min for Sev 1).
- External (customers, regulators, press): coordinated through legal/comms, factual, timely, empathetic.
- Templates provided for initial notification, updates, and post-incident transparency report.
Output:
- Incident severity matrix.
- Immediate containment checklist (per common incident types: credential compromise, data breach, ransomware, supply chain, etc.).
- Evidence preservation checklist.
- Stakeholder notification templates (internal + customer).
- Post-incident review template (timeline, 5 Whys, action items).
- Sample runbook for "suspected credential leak".
Examples
A complete, ready-to-use incident response playbook with severity definitions, role definitions, containment checklists for the top 5 incident types a web company faces, notification templates, and a PIR template is included.
Edge Cases & Error Handling
- Legal / regulatory notification deadlines (GDPR 72h, state breach laws, etc.): Have legal pre-review the templates and know the thresholds.
- Ransomware: Do not pay without legal + executive approval; focus on containment and recovery from backups.
- Insider threat: Involve HR/legal early; preserve chain of custody for evidence.
Verification
- The team can locate the playbook quickly when an incident occurs.
- A tabletop exercise using a realistic scenario completes the full cycle (detection → containment → PIR) without major gaps.
- After a real (or simulated) incident, the PIR produces actionable improvements that are tracked to completion.
- Communication templates are used and feel appropriate.
- Success: Incidents are handled methodically, damage is limited, evidence is preserved, stakeholders are informed appropriately, and the organization learns and improves.
References
1---2name: incident-responder3description: Overview4---56## Overview78Provides a clear, actionable incident response playbook based on NIST / SANS phases (Preparation, Detection & Analysis, Containment, Eradication, Recovery, Lessons Learned). Includes severity classification, immediate containment checklists, evidence preservation, stakeholder notification templates (internal and external), forensic approach, root cause analysis template, and a post-incident review process.910## When to Use This Skill1112- A security incident is suspected or confirmed (credential leak, unauthorized access, data exfiltration, malware, etc.).13- Building or improving an incident response plan / runbooks.14- Training the team on how to respond to incidents.15- After an incident for the post-mortem.1617## Prerequisites1819- An incident has been declared (or you are writing the plan in advance).20- Access to relevant systems (logs, cloud consoles, ticketing, communication channels).21- Pre-defined roles (Incident Commander, Communications Lead, Technical Lead, Legal, etc.).22- Contact lists and escalation paths.2324## Steps25261. **Preparation** (do this now, before any incident):27 - Define severity levels (Sev 1 Critical, Sev 2 High, Sev 3 Medium, Sev 4 Low).28 - Create on-call rotation and escalation matrix.29 - Pre-authorize certain containment actions (e.g., "Incident Commander can disable a user or revoke tokens without further approval for Sev 1/2").30 - Maintain "go bags" / runbooks and access to forensic tools.31 - Tabletop exercises.32332. **Detection & Analysis**:34 - Triage the alert or report.35 - Determine if it is a real incident (vs false positive or bug).36 - Classify severity.37 - Assemble the response team.38 - Start a dedicated Slack/Teams channel + incident ticket.39 - Preserve evidence (do not reboot, image disks if possible, export logs with timestamps, take screenshots of consoles).40413. **Containment** (short-term & long-term):42 - Short-term: isolate affected systems/users (disable accounts, revoke tokens, block IPs, take instances out of LB, enable WAF rules).43 - Long-term: patch, re-image, rotate secrets, improve detection.44 - Document every containment action with time and who performed it.45464. **Eradication**:47 - Remove malware, backdoors, unauthorized accounts, malicious code.48 - Patch vulnerabilities that were exploited.49 - Rebuild affected systems from known-good images where possible.50515. **Recovery**:52 - Restore systems from backups (verify they are clean).53 - Gradually bring services back online with increased monitoring.54 - Validate that the threat is no longer present (re-scan, re-authenticate users, etc.).55 - Monitor for re-compromise.56576. **Lessons Learned / Post-Incident Review (PIR)**:58 - Blameless post-mortem within 1-2 weeks.59 - Timeline reconstruction.60 - What went well, what didn't, root cause (5 Whys or similar).61 - Action items with owners and due dates (fix the vulnerability, improve detection, update runbooks, training, etc.).62 - Update this playbook and other relevant docs.63647. **Communication**:65 - Internal: status updates at regular cadence (every 30-60 min for Sev 1).66 - External (customers, regulators, press): coordinated through legal/comms, factual, timely, empathetic.67 - Templates provided for initial notification, updates, and post-incident transparency report.68698. **Output**:70 - Incident severity matrix.71 - Immediate containment checklist (per common incident types: credential compromise, data breach, ransomware, supply chain, etc.).72 - Evidence preservation checklist.73 - Stakeholder notification templates (internal + customer).74 - Post-incident review template (timeline, 5 Whys, action items).75 - Sample runbook for "suspected credential leak".7677## Examples7879A complete, ready-to-use incident response playbook with severity definitions, role definitions, containment checklists for the top 5 incident types a web company faces, notification templates, and a PIR template is included.8081## Edge Cases & Error Handling8283- **Legal / regulatory notification deadlines** (GDPR 72h, state breach laws, etc.): Have legal pre-review the templates and know the thresholds.84- **Ransomware**: Do not pay without legal + executive approval; focus on containment and recovery from backups.85- **Insider threat**: Involve HR/legal early; preserve chain of custody for evidence.8687## Verification88891. The team can locate the playbook quickly when an incident occurs.902. A tabletop exercise using a realistic scenario completes the full cycle (detection → containment → PIR) without major gaps.913. After a real (or simulated) incident, the PIR produces actionable improvements that are tracked to completion.924. Communication templates are used and feel appropriate.935. Success: Incidents are handled methodically, damage is limited, evidence is preserved, stakeholders are informed appropriately, and the organization learns and improves.9495## References9697- [NIST SP 800-61 Rev. 2 - Computer Security Incident Handling Guide](https://csrc.nist.gov/publications/detail/sp/800-61/rev-2/final)98- [SANS Incident Handler's Handbook](https://www.sans.org/white-papers/33901/)99- [Google SRE Incident Management](https://sre.google/sre-book/managing-incidents/)100- [FIRST Incident Response](https://www.first.org/standards/)