/iblai-vibe-security-incident-triage
Drive rapid triage and initial response to a security incident. Follow
NIST SP 800-61 methodology.
Do NOT power off affected hosts — volatile memory is evidence. Do NOT
recommend retaliation or "hacking back."
Priorities
In this order, no exceptions:
- Preserve human safety
- Contain the incident to prevent further damage
- Preserve evidence for investigation
- Identify root cause and scope
- Document everything
Step 1: Classification
Pin the incident type:
- Malware: ransomware, trojan, worm, cryptominer
- Unauthorized access: compromised credentials, exploitation
- Data exfiltration: data theft, insider threat
- Denial of service
- Web compromise: defacement, skimming, backdoor
- Phishing / social engineering
Pin the severity:
- Critical: active data exfiltration, ransomware spreading, critical system compromise
- High: confirmed compromise, malware detected, unauthorized access
- Medium: suspicious activity, potential indicators, failed attacks
- Low: policy violation, reconnaissance detected, likely false positive
Step 2: Initial Containment
Match the action to type and severity:
- Network: block suspicious IPs/domains at the firewall
- Host: isolate the affected system (network-disconnect — NOT power off; volatile memory is evidence)
- Account: disable compromised accounts, force password resets
- Application: disable the affected service if safe to do so
Critical: Do NOT power off systems. Volatile memory contains
evidence.
Step 3: Evidence Preservation
Capture in order of volatility (most volatile first):
# 1. Running processes
ps auxf # Linux
tasklist /v # Windows
# 2. Network connections
ss -tupn # Linux
netstat -anob # Windows
# 3. Logged-in users
who -a # Linux
query user # Windows
# 4. Open files
lsof -nP # Linux
# 5. System logs
journalctl --since "1 hour ago" # Linux/systemd
If memory forensics tools are available (LiME, WinPmem), capture a
memory dump before anything else.
Step 4: Initial Analysis
For each suspicious indicator, document:
- What: describe the artifact
- When: timestamps in UTC
- Where: affected system(s)
- How: how it was detected
Common analysis paths:
- Process tree: unusual names, paths, or parent-child relationships
- Network indicators: unusual outbound connections, DNS to suspicious domains, beaconing patterns (regular intervals)
- File indicators: recently modified files in unusual locations, hidden files, new executables
- Log analysis: auth failures, privilege escalation, service changes, cleared logs
- Persistence: crontab, systemd units, registry Run keys, scheduled tasks, startup items
Step 5: IOC Extraction
Document every indicator of compromise:
| Type |
Examples |
| IP addresses |
Source and destination IPs |
| Domains |
C2 domains, phishing domains |
| File hashes |
MD5 and SHA256 of suspicious files |
| File paths |
Malware locations, dropped files |
| Email addresses |
Phishing sender addresses |
| URLs |
Malicious URLs, C2 endpoints |
| User agents |
Unusual or known-malicious user agents |
Output Format
# Incident Triage Report
## Incident ID: [ID]
## Date/Time: [UTC]
## Severity: [Critical/High/Medium/Low]
## Classification: [incident type]
## Status: [Triage/Contained/Analyzing/Resolved]
### Summary
[2-3 sentence overview]
### Affected Systems
| Hostname | IP | Role | Status |
|----------|-----|------|--------|
### Timeline
| Time (UTC) | Event | Source | Notes |
|------------|-------|--------|-------|
### Indicators of Compromise
| Type | Value | Context | Confidence |
|------|-------|---------|------------|
### Containment Actions Taken
- [ ] [Action and result]
### Evidence Preserved
| Type | Location | Hash | Notes |
|------|----------|------|-------|
### Recommended Next Steps
1. [Immediate priority]
2. [Short-term action]
3. [Follow-up investigation]
### Escalation Checklist
- [ ] Management notified
- [ ] Legal notified (if data breach)
- [ ] Law enforcement (if applicable)
- [ ] Affected parties notified (if data breach)
Boundaries
- Defense and containment, not counter-attack.
- Preserve evidence — never modify logs or timestamps.
- Recommend legal/management escalation for confirmed breaches.
- If a containment action's blast radius is unclear, ask before running it.
- Never recommend "hacking back" or retaliatory actions.
- Refuse requests to cover up incidents or tamper with evidence.
References
- NIST SP 800-61r2: Computer Security Incident Handling Guide
- SANS Incident Handler's Handbook
- MITRE ATT&CK Framework
1---2name: iblai-vibe-security-incident-triage3description: Guide rapid triage and initial response to security incidents following NIST SP 800-61 methodology. Use when the user mentions 'incident response,' 'security incident,' 'triage,' 'we've been hacked,' 'breach,' 'compromised,' 'malware detected,' 'suspicious activity,' 'IOC,' 'indicators of compromise,' or needs help handling a security event.4---56# /iblai-vibe-security-incident-triage78Drive rapid triage and initial response to a security incident. Follow9NIST SP 800-61 methodology.1011Do NOT power off affected hosts — volatile memory is evidence. Do NOT12recommend retaliation or "hacking back."1314## Priorities1516In this order, no exceptions:17181. Preserve human safety192. Contain the incident to prevent further damage203. Preserve evidence for investigation214. Identify root cause and scope225. Document everything2324## Step 1: Classification2526Pin the incident type:2728- **Malware:** ransomware, trojan, worm, cryptominer29- **Unauthorized access:** compromised credentials, exploitation30- **Data exfiltration:** data theft, insider threat31- **Denial of service**32- **Web compromise:** defacement, skimming, backdoor33- **Phishing / social engineering**3435Pin the severity:3637- **Critical:** active data exfiltration, ransomware spreading, critical system compromise38- **High:** confirmed compromise, malware detected, unauthorized access39- **Medium:** suspicious activity, potential indicators, failed attacks40- **Low:** policy violation, reconnaissance detected, likely false positive4142## Step 2: Initial Containment4344Match the action to type and severity:4546- **Network:** block suspicious IPs/domains at the firewall47- **Host:** isolate the affected system (network-disconnect — NOT power off; volatile memory is evidence)48- **Account:** disable compromised accounts, force password resets49- **Application:** disable the affected service if safe to do so5051**Critical: Do NOT power off systems.** Volatile memory contains52evidence.5354## Step 3: Evidence Preservation5556Capture in order of volatility (most volatile first):5758```bash59# 1. Running processes60ps auxf # Linux61tasklist /v # Windows6263# 2. Network connections64ss -tupn # Linux65netstat -anob # Windows6667# 3. Logged-in users68who -a # Linux69query user # Windows7071# 4. Open files72lsof -nP # Linux7374# 5. System logs75journalctl --since "1 hour ago" # Linux/systemd76```7778If memory forensics tools are available (LiME, WinPmem), capture a79memory dump before anything else.8081## Step 4: Initial Analysis8283For each suspicious indicator, document:8485- **What:** describe the artifact86- **When:** timestamps in UTC87- **Where:** affected system(s)88- **How:** how it was detected8990Common analysis paths:9192- **Process tree:** unusual names, paths, or parent-child relationships93- **Network indicators:** unusual outbound connections, DNS to suspicious domains, beaconing patterns (regular intervals)94- **File indicators:** recently modified files in unusual locations, hidden files, new executables95- **Log analysis:** auth failures, privilege escalation, service changes, cleared logs96- **Persistence:** crontab, systemd units, registry Run keys, scheduled tasks, startup items9798## Step 5: IOC Extraction99100Document every indicator of compromise:101102| Type | Examples |103|------|---------|104| IP addresses | Source and destination IPs |105| Domains | C2 domains, phishing domains |106| File hashes | MD5 and SHA256 of suspicious files |107| File paths | Malware locations, dropped files |108| Email addresses | Phishing sender addresses |109| URLs | Malicious URLs, C2 endpoints |110| User agents | Unusual or known-malicious user agents |111112## Output Format113114```markdown115# Incident Triage Report116## Incident ID: [ID]117## Date/Time: [UTC]118## Severity: [Critical/High/Medium/Low]119## Classification: [incident type]120## Status: [Triage/Contained/Analyzing/Resolved]121122### Summary123[2-3 sentence overview]124125### Affected Systems126| Hostname | IP | Role | Status |127|----------|-----|------|--------|128129### Timeline130| Time (UTC) | Event | Source | Notes |131|------------|-------|--------|-------|132133### Indicators of Compromise134| Type | Value | Context | Confidence |135|------|-------|---------|------------|136137### Containment Actions Taken138- [ ] [Action and result]139140### Evidence Preserved141| Type | Location | Hash | Notes |142|------|----------|------|-------|143144### Recommended Next Steps1451. [Immediate priority]1462. [Short-term action]1473. [Follow-up investigation]148149### Escalation Checklist150- [ ] Management notified151- [ ] Legal notified (if data breach)152- [ ] Law enforcement (if applicable)153- [ ] Affected parties notified (if data breach)154```155156## Boundaries157158- Defense and containment, not counter-attack.159- Preserve evidence — never modify logs or timestamps.160- Recommend legal/management escalation for confirmed breaches.161- If a containment action's blast radius is unclear, ask before running it.162- Never recommend "hacking back" or retaliatory actions.163- Refuse requests to cover up incidents or tamper with evidence.164165## References166167- NIST SP 800-61r2: Computer Security Incident Handling Guide168- SANS Incident Handler's Handbook169- MITRE ATT&CK Framework