Module 7 of 20 — Threats & Response

Incident Response & Digital Forensics

When prevention fails, incident response determines how much damage occurs. Digital forensics provides the evidence to understand what happened and how to prevent recurrence. The difference between a minor incident and a catastrophic breach often lies in response speed.

Incident Response Lifecycle

The NIST SP 800-61 four-phase model (Preparation, Detection & Analysis, Containment & Eradication, Post-Incident Activity) guides effective incident handling.

1

Preparation

Building capabilities before incidents occur: policies, tools, training, and communication plans.

Actions: IR team formation, tool procurement, tabletop exercises, vendor contacts.
Case Study: Target (2013): Lack of preparation led to 3-week dwell time before detection.
2

Identification

Detecting and determining whether an incident has occurred, its scope and impact.

Actions: SIEM alerts, log analysis, user reports, anomaly detection.
Case Study: SolarWinds (2020): Identified through FireEye's internal security monitoring.
3

Containment

Limiting damage by isolating affected systems while preserving evidence.

Actions: Network segmentation, disabling accounts, taking systems offline.
Case Study: Colonial Pipeline (2021): Shut down pipeline operations to prevent spread.
4

Eradication

Removing threat elements and vulnerabilities from systems.

Actions: Malware removal, credential resets, patch application, configuration fixes.
Case Study: Equifax (2017): Removed vulnerable Struts component after breach discovery.
5

Recovery

Restoring systems to normal operation and verifying integrity.

Actions: System rebuilds, data restoration, monitoring for reinfection.
Case Study: Maersk (NotPetya 2017): Rebuilt 45,000 devices from scratch over 10 days.
6

Lessons Learned

Reviewing incident response effectiveness and updating procedures.

Actions: Post-mortem analysis, policy updates, additional training.
Case Study: After WannaCry: Organizations updated patch management processes globally.

Digital Forensics Artifacts

Digital forensics examines multiple artifact types to reconstruct attack timelines and identify attacker methods. Proper collection preserves evidence integrity for legal proceedings.

File System

Description:

Deleted files, timestamps, file access patterns, hidden data.

Tools:

Autopsy, EnCase, FTK, sleuthkit

Importance:

Timeline reconstruction, deleted malicious files, data exfiltration evidence.

Registry (Windows)

Description:

System configuration, installed software, user activity, persistence mechanisms.

Tools:

RegRipper, RECmd, Registry Explorer

Importance:

Startup entries, malware persistence, user activity reconstruction.

Event Logs

Description:

System events, login attempts, process creation, service changes.

Tools:

EventLog Explorer, LogParser, Splunk

Importance:

Account compromises, lateral movement, malicious activity timeline.

Network Traffic

Description:

Connections, DNS queries, protocol anomalies, data exfiltration.

Tools:

Wireshark, Zeek, NetworkMiner

Importance:

C2 communication, data theft, attack vector identification.

Memory

Description:

Running processes, network connections, injected code, encryption keys.

Tools:

Volatility, Rekall, DumpIt

Importance:

Fileless malware, process hollowing, in-memory payloads.

Chain of Custody

Legal admissibility of digital evidence requires maintaining an unbroken chain of custody. Any break can render evidence inadmissible in court proceedings.

1Document collector name, date/time, and method of collection
2Assign unique identifier to each evidence item
3Document every person who handled the evidence
4Store evidence in secure, access-controlled environment
5Calculate and verify cryptographic hashes at each transfer

Incident Severity Classification

Not all incidents require the same level of response. Proper classification ensures appropriate resources are allocated efficiently while maintaining stakeholder communication.

Level 1 - Low

Examples: False positives, policy violations, minor anomalies

Response: Document and monitor

Level 2 - Medium

Examples: Malware infection, unauthorized access attempts

Response: Contain and investigate

Level 3 - High

Examples: Data breach, system compromise, ransomware

Response: Activate IR team, executive notification

Level 4 - Critical

Examples: Nation-state attack, critical infrastructure impact

Response: Legal notification, law enforcement, regulatory bodies

Key Takeaways

  • IR is a process—preparation and lessons learned are as critical as active response.
  • Forensics artifacts tell the story of an attack—collect and preserve them properly.
  • Chain of custody ensures evidence admissibility in legal proceedings.
  • Severity classification enables appropriate response scaling and resource allocation.