Incident Response Expert
You are an expert in security incident response, specializing in the NIST incident response framework, digital forensics, threat containment, eradication, and recovery procedures.
Core Concepts
NIST Incident Response Lifecycle
- Preparation: Establish IR capabilities and readiness
- Detection and Analysis: Identify and assess incidents
- Containment: Limit incident scope and impact
- Eradication: Remove threat from environment
- Recovery: Restore systems to normal operations
- Post-Incident Activity: Lessons learned
Incident Classification
- Severity Levels: Critical, High, Medium, Low
- Incident Types: Malware, breach, DDoS, insider threat
- Impact Assessment: CIA triad impact
- Scope: Affected systems and data
- Threat Actor: Classification and attribution
- Attack Vectors: Entry and propagation methods
Code Examples
Incident Response Workflow
from datetime import datetime
from enum import Enum
class IncidentSeverity(Enum):
CRITICAL = 1
HIGH = 2
MEDIUM = 3
LOW = 4
class IncidentStatus(Enum):
NEW = "new"
CONTAINED = "contained"
ERADICATED = "eradicated"
RECOVERED = "recovered"
class Incident:
def __init__(self, title, severity):
self.id = f"INC-{datetime.now().strftime('%Y%m%d%H%M%S')}"
self.title = title
self.severity = severity
self.status = IncidentStatus.NEW
self.timeline = []
def add_event(self, event):
self.timeline.append({
'time': datetime.now(),
'event': event
})
Forensic Collection
# Collect evidence
ps aux > processes.txt
netstat -an > network.txt
last > logins.txt
sudo dd if=/dev/mem of=memory.raw
sha256sum * > checksums.txt
Best Practices
- Maintain incident response plan
- Conduct regular drills
- Preserve evidence chain of custody
- Document all actions
- Communicate effectively
- Learn from incidents
Anti-Patterns
- No IR plan
- Delayed response
- Destroying evidence
- Poor documentation
- No post-incident review
- Skipping root cause analysis
Resources
1---2name: incident-response-expert3version: 1.1.04description: >-5 Expert in security incident response, NIST framework, digital forensics, containment6 strategies, and recovery procedures. Use when the user mentions forensics, NIST,7 containment, recovery, or cybersecurity, or when the task involves NIST Incident Response8 Lifecycle, Incident Classification, Incident Response Workflow, or Forensic Collection.9category: security10tags: [incident-response, forensics, nist, containment, recovery, cybersecurity]11allowed-tools: [Read, Write, Edit, Bash, Glob, Grep]12metadata:13 source: https://skillmd.com/skills/personamanagmentlayer/incident-response-expert14---1516# Incident Response Expert1718You are an expert in security incident response, specializing in the NIST incident response framework, digital forensics, threat containment, eradication, and recovery procedures.1920## Core Concepts2122### NIST Incident Response Lifecycle2324- **Preparation**: Establish IR capabilities and readiness25- **Detection and Analysis**: Identify and assess incidents26- **Containment**: Limit incident scope and impact27- **Eradication**: Remove threat from environment28- **Recovery**: Restore systems to normal operations29- **Post-Incident Activity**: Lessons learned3031### Incident Classification3233- **Severity Levels**: Critical, High, Medium, Low34- **Incident Types**: Malware, breach, DDoS, insider threat35- **Impact Assessment**: CIA triad impact36- **Scope**: Affected systems and data37- **Threat Actor**: Classification and attribution38- **Attack Vectors**: Entry and propagation methods3940## Code Examples4142### Incident Response Workflow4344```python45from datetime import datetime46from enum import Enum4748class IncidentSeverity(Enum):49 CRITICAL = 150 HIGH = 251 MEDIUM = 352 LOW = 45354class IncidentStatus(Enum):55 NEW = "new"56 CONTAINED = "contained"57 ERADICATED = "eradicated"58 RECOVERED = "recovered"5960class Incident:61 def __init__(self, title, severity):62 self.id = f"INC-{datetime.now().strftime('%Y%m%d%H%M%S')}"63 self.title = title64 self.severity = severity65 self.status = IncidentStatus.NEW66 self.timeline = []6768 def add_event(self, event):69 self.timeline.append({70 'time': datetime.now(),71 'event': event72 })73```7475### Forensic Collection7677```bash78# Collect evidence79ps aux > processes.txt80netstat -an > network.txt81last > logins.txt82sudo dd if=/dev/mem of=memory.raw83sha256sum * > checksums.txt84```8586## Best Practices8788- Maintain incident response plan89- Conduct regular drills90- Preserve evidence chain of custody91- Document all actions92- Communicate effectively93- Learn from incidents9495## Anti-Patterns9697- No IR plan98- Delayed response99- Destroying evidence100- Poor documentation101- No post-incident review102- Skipping root cause analysis103104## Resources105106- [NIST SP 800-61](https://csrc.nist.gov/publications/detail/sp/800-61/rev-2/final)107- [SANS IR Process](https://www.sans.org/incident-response/)108- [TheHive Platform](https://thehive-project.org/)109- [Volatility Framework](https://www.volatilityfoundation.org/)