Building Incident Response Playbook
Overview
Cybersecurity skill for building incident response playbook. Follows industry best practices and security standards.
When to Use
Trigger phrases:
"building incident response playbook"
"Designs and documents structured incident response playbooks that define step-by"
Establishing or maturing an incident response program from scratch
Documenting procedures for a new incident type after a novel attack
Automating response workflows in a SOAR platform (Cortex XSOAR, Splunk SOAR)
Preparing for compliance audits requiring documented IR procedures (SOC 2, PCI-DSS, HIPAA)
Conducting a gap analysis of existing IR capabilities against specific threat scenarios
Do not use for one-time ad hoc investigations; playbooks are reusable procedure documents, not case-specific reports.
When NOT to Use
- When you lack proper authorization for testing
- For production systems without change management
- When the task requires legal or compliance expertise beyond technical scope
Prerequisites
- Organizational risk assessment identifying top incident scenarios by likelihood and impact
- NIST SP 800-61r3 or SANS PICERL framework adopted as the organizational IR standard
- Asset inventory with business criticality ratings and data classification
- RACI chart defining roles: Incident Commander, SOC analysts, system administrators, legal, communications
- Existing detection capabilities inventory (SIEM rules, EDR detections, IDS signatures)
- SOAR platform access if building automated playbooks
Workflow
# Example: IOC detection
import re
IOC_PATTERNS = {
"ip": r"\b(?:\d{1,3}\.){3}\d{1,3}\b",
"domain": r"\b[a-z0-9-]+\.[a-z]{2,}\b",
"hash_md5": r"\b[a-f0-9]{32}\b",
"hash_sha256": r"\b[a-f0-9]{64}\b",
}
def extract_iocs(text: str) -> dict:
return {k: re.findall(v, text) for k, v in IOC_PATTERNS.items()}
- Assess Requirements — Evaluate current environment and define incident response playbook implementation requirements.
- Design Architecture — Plan the incident response playbook architecture, including components, integrations, and data flows.
- Configure Components — Set up and configure each incident response playbook component according to best practices.
- Test Integration — Validate that all components work together. Run functional and security tests.
- Deploy to Production — Roll out the implementation with monitoring and rollback capabilities.
- Validate and Document — Verify the implementation meets requirements. Document configuration and runbooks.
Tools
- Configuration Management — Infrastructure as code and automation
- Monitoring Stack — Observability and alerting
- Documentation Platform — Runbooks and architecture docs
Process
- Reconnaissance — Gather target information, identify attack surface, enumerate services
- Analysis/Exploitation — Execute the technique, analyze results, document findings
- Reporting — Document IOCs, write findings, provide remediation recommendations
Verification
Anti-Rationalization Table
| Rationalization |
Reality |
| "We are too small to be targeted" |
Automated attacks target everyone. Size does not matter. |
| "Security slows us down" |
A breach slows you down 100x more. Build security in from the start. |
| "We will fix it after launch" |
Vulnerabilities in production are exploited within hours. Fix before deploy. |
1---2name: building-incident-response-playbook3description: Use when designs and documents structured incident response playbooks that define step-by-step procedures for specific incident types aligned with NIST SP 800-61r3 and SANS PICERL frameworks. Covers playbook structure, decision trees, escalation criteria, RACI matrices, and integration with SOAR platforms. Activates for requests involving IR playbook creation, incident response procedure documentation, response runbook development, or SOAR playbook design.4license: Apache-2.05---67# Building Incident Response Playbook89## Overview1011Cybersecurity skill for building incident response playbook. Follows industry best practices and security standards.1213## When to Use14**Trigger phrases:**15- "building incident response playbook"16- "Designs and documents structured incident response playbooks that define step-by"171819- Establishing or maturing an incident response program from scratch20- Documenting procedures for a new incident type after a novel attack21- Automating response workflows in a SOAR platform (Cortex XSOAR, Splunk SOAR)22- Preparing for compliance audits requiring documented IR procedures (SOC 2, PCI-DSS, HIPAA)23- Conducting a gap analysis of existing IR capabilities against specific threat scenarios2425**Do not use** for one-time ad hoc investigations; playbooks are reusable procedure documents, not case-specific reports.262728## When NOT to Use2930- When you lack proper authorization for testing31- For production systems without change management32- When the task requires legal or compliance expertise beyond technical scope333435## Prerequisites3637- Organizational risk assessment identifying top incident scenarios by likelihood and impact38- NIST SP 800-61r3 or SANS PICERL framework adopted as the organizational IR standard39- Asset inventory with business criticality ratings and data classification40- RACI chart defining roles: Incident Commander, SOC analysts, system administrators, legal, communications41- Existing detection capabilities inventory (SIEM rules, EDR detections, IDS signatures)42- SOAR platform access if building automated playbooks4344## Workflow4546```python47# Example: IOC detection48import re4950IOC_PATTERNS = {51 "ip": r"\b(?:\d{1,3}\.){3}\d{1,3}\b",52 "domain": r"\b[a-z0-9-]+\.[a-z]{2,}\b",53 "hash_md5": r"\b[a-f0-9]{32}\b",54 "hash_sha256": r"\b[a-f0-9]{64}\b",55}5657def extract_iocs(text: str) -> dict:58 return {k: re.findall(v, text) for k, v in IOC_PATTERNS.items()}59```60611. **Assess Requirements** — Evaluate current environment and define incident response playbook implementation requirements.622. **Design Architecture** — Plan the incident response playbook architecture, including components, integrations, and data flows.633. **Configure Components** — Set up and configure each incident response playbook component according to best practices.644. **Test Integration** — Validate that all components work together. Run functional and security tests.655. **Deploy to Production** — Roll out the implementation with monitoring and rollback capabilities.666. **Validate and Document** — Verify the implementation meets requirements. Document configuration and runbooks.6768## Tools6970- **Configuration Management** — Infrastructure as code and automation71- **Monitoring Stack** — Observability and alerting72- **Documentation Platform** — Runbooks and architecture docs737475## Process76771. **Reconnaissance** — Gather target information, identify attack surface, enumerate services781. **Analysis/Exploitation** — Execute the technique, analyze results, document findings791. **Reporting** — Document IOCs, write findings, provide remediation recommendations8081## Verification8283- [ ] All incident response playbook procedures executed completely and documented84- [ ] Findings validated against multiple data sources85- [ ] False positives identified and filtered86- [ ] Results documented with evidence and timestamps87- [ ] Recommendations provided with risk-based prioritization8889## Anti-Rationalization Table9091| Rationalization | Reality |92|---|---|93| "We are too small to be targeted" | Automated attacks target everyone. Size does not matter. |94| "Security slows us down" | A breach slows you down 100x more. Build security in from the start. |95| "We will fix it after launch" | Vulnerabilities in production are exploited within hours. Fix before deploy. |