Lesson 8 of 10
Post-Incident Review & Threat Intelligence
The post-incident review transforms the pain of a security incident into lasting organizational improvement. Threat intelligence operationalizes what was learned during the incident to proactively detect and prevent future attacks.
Post-Incident Report Structure
# Post-Incident Report - comprehensive after-action document
1. EXECUTIVE SUMMARY
- Incident type and severity
- Timeline: discovery → containment → recovery
- Business impact: data affected, systems down, cost estimate
- Top 3 improvements being implemented
2. TIMELINE (detailed)
2025-03-15 09:42 - Phishing email received by 12 employees
2025-03-15 09:58 - Alice (sales) clicked link, credentials submitted
2025-03-15 10:12 - Attacker authenticated to VPN with Alice's credentials
2025-03-15 10:45 - Lateral movement to finance share via SMB
2025-03-16 02:15 - Exfiltration: 12GB to 185.220.0.45 via HTTPS
2025-03-18 08:30 - Analyst noticed anomalous traffic in SIEM
2025-03-18 08:45 - Incident declared, IR team activated
2025-03-18 09:10 - Alice's account disabled, VPN terminated
2025-03-18 14:00 - Full scope identified, all persistence removed
2025-03-20 09:00 - Systems restored, monitoring confirmed no re-compromise
3. ROOT CAUSE ANALYSIS (5 Whys)
Why was data exfiltrated?
→ Because attacker had access to finance file share
Why did attacker have access?
→ Because Alice's credentials were compromised and shared that access
Why were credentials compromised?
→ Because Alice clicked a phishing link and submitted credentials
Why did the exfiltration go undetected for 40+ hours?
→ Because no alert existed for large outbound data transfers
Why was there no data exfiltration alert?
→ No baseline for normal outbound traffic volume; SIEM rule not configured
4. IMPROVEMENTS
Immediate: MFA on VPN (prevents credential-only access)
30 days: SIEM rule for outbound transfers > 1GB
90 days: DLP solution for sensitive file access
Ongoing: Quarterly phishing training, annual pen testThreat Intelligence & IOC Handling
- IOCs (Indicators of Compromise): Technical artifacts from an incident - IP addresses, domains, file hashes, registry keys, mutex names, user agents. Share via STIX/TAXII format
- MISP (Malware Information Sharing Platform): Open source threat intelligence platform for sharing IOCs across organizations and sectors
- MITRE ATT&CK mapping: Map attacker techniques to the ATT&CK matrix - identifies gaps in detection coverage and provides a common language for threat intelligence
- Threat hunting: Use IOCs and TTPs from the incident to proactively search other systems. Query: 'Does any other host in our environment communicate with this C2 IP?'
- ISACs (Information Sharing and Analysis Centers): Sector-specific threat intelligence sharing groups - FS-ISAC (financial), H-ISAC (healthcare), E-ISAC (energy). Membership allows sharing and receiving real-time threat intelligence
Common Mistakes
- Blameful post-incident reviews - focus on process and system failures, not individual blame; blame culture prevents incident reporting and honest lessons-learned discussions
- Implementing only technical fixes without addressing training - if phishing was the initial vector, technical controls (MFA) must be paired with awareness training
- Not sharing IOCs with industry peers - sharing threat intelligence helps the whole ecosystem; attackers reuse infrastructure across targets
Tip
Tip
Practice PostIncident Review Threat Intelligence in small, isolated examples before integrating into larger projects. Breaking concepts into small experiments builds genuine understanding faster than reading alone.
The foundational security model: Confidentiality (privacy), Integrity (trust), and Availability (uptime).
Practice Task
Note
Practice Task - (1) Write a working example of PostIncident Review Threat Intelligence from scratch without looking at notes. (2) Modify it to handle an edge case (empty input, null value, or error state). (3) Share your solution in the Priygop community for feedback.
Quick Quiz
Common Mistake
Warning
A common mistake with PostIncident Review Threat Intelligence is skipping edge case testing - empty inputs, null values, and unexpected data types. Always validate boundary conditions to write robust, production-ready cybersecurity code.
Key Takeaways
- The post-incident review transforms the pain of a security incident into lasting organizational improvement.
- IOCs (Indicators of Compromise): Technical artifacts from an incident - IP addresses, domains, file hashes, registry keys, mutex names, user agents. Share via STIX/TAXII format
- MISP (Malware Information Sharing Platform): Open source threat intelligence platform for sharing IOCs across organizations and sectors
- MITRE ATT&CK mapping: Map attacker techniques to the ATT&CK matrix - identifies gaps in detection coverage and provides a common language for threat intelligence
Finished this lesson?