SY0-701Chapter 30 of 212Objective 4.8

Incident Response Process

This chapter covers the incident response process, a core topic for the Security+ SY0-701 exam under Domain 4.0: Security Operations, Objective 4.8. You will learn the structured approach to handling security incidents, from preparation to lessons learned. Understanding this process is critical because incident response is a primary responsibility of security operations teams, and the exam tests your knowledge of each phase, the order of operations, and common pitfalls.

25 min read
Intermediate
Updated May 31, 2026

The Fire Department Incident Response

Think of a security incident like a building fire. The fire department follows a structured incident response process, just like a SOC follows the NIST incident response framework. First, preparation: the fire department trains, maintains equipment, and preplans building layouts. This mirrors having playbooks, tools, and trained analysts ready. Then, detection and analysis: someone calls 911 (a user reports a phishing email), or a smoke detector triggers (an IDS alert). The dispatcher (SIEM) triages the call, determining if it's a real fire or burnt toast. Next, containment, eradication, and recovery: firefighters arrive, isolate the fire by closing doors (network segmentation), extinguish the flames (remove malware), and ventilate (patch vulnerabilities). Finally, post-incident activity: the fire chief writes a report on the cause, response effectiveness, and lessons learned (lessons learned meeting). Just as firefighters don't run into a burning building without gear, analysts don't respond without a plan. The fire department's 'incident commander' is the incident response lead. Every step is documented, just as every action in a SOC is logged for legal and improvement purposes.

How It Actually Works

Incident response (IR) is the systematic approach to managing and mitigating the aftermath of a security breach or cyberattack. The goal is to handle the situation in a way that limits damage, reduces recovery time and costs, and prevents future incidents. The SY0-701 exam expects you to know the seven steps defined by NIST SP 800-61 Rev. 2: Preparation; Detection and Analysis; Containment, Eradication, and Recovery; and Post-Incident Activity. Note that some frameworks (like SANS) have six steps (Preparation, Identification, Containment, Eradication, Recovery, Lessons Learned). The exam uses the NIST framework, but the core concepts are the same.

The Incident Response Process Step by Step

#### 1. Preparation

Preparation is the most critical phase. It involves creating an incident response policy, forming a Computer Security Incident Response Team (CSIRT), acquiring tools, and conducting training. Without preparation, the response will be chaotic. Key elements include: - Policy and plan: Documented procedures, communication plans, and legal considerations. - Tools: Forensic workstations, imaging tools (e.g., FTK Imager, dd), malware analysis sandboxes, SIEM, and ticketing systems. - Training: Regular tabletop exercises, red team drills, and awareness programs. - Baselines: System baselines and known-good snapshots to detect anomalies.

#### 2. Detection and Analysis

This is where the incident is identified. Detection can come from automated tools (IDS/IPS, SIEM alerts, antivirus) or human reports (users, external partners). The analysis determines if the alert is a true positive, false positive, or benign. Steps include: - Triage: Prioritize based on impact and urgency. - Correlation: Link multiple events to form a timeline. - Indicators of Compromise (IOCs): File hashes, IP addresses, domain names, registry keys. - Artifacts: Logs, memory dumps, network captures.

Common detection tools:

SIEM (e.g., Splunk, ELK) for log aggregation and alerting.

EDR (e.g., CrowdStrike, Carbon Black) for endpoint telemetry.

NIDS (e.g., Snort, Suricata) for network traffic analysis.

#### 3. Containment, Eradication, and Recovery

Containment aims to stop the incident from spreading. Short-term containment might involve isolating the affected system from the network (e.g., unplugging the network cable, disabling the NIC). Long-term containment might involve applying temporary patches or firewall rules. Eradication removes the root cause (e.g., delete malware, close backdoors, patch vulnerabilities). Recovery restores systems to normal operation, often from clean backups, and verifies they are clean.

#### 4. Post-Incident Activity

This phase includes lessons learned, documentation, and evidence retention for legal purposes. A post-mortem meeting identifies what went well and what needs improvement. The final report includes the incident timeline, root cause, impact, and recommendations. Evidence must be preserved following chain of custody for potential prosecution.

Key Components and Standards

NIST SP 800-61 Rev. 2: The primary standard for incident handling. Defines the four-phase process.

SANS PICERL: A six-step model (Preparation, Identification, Containment, Eradication, Recovery, Lessons Learned).

CSIRT: The team responsible for incident response. Roles include incident manager, technical analysts, communications lead, and legal counsel.

Playbooks: Predefined step-by-step guides for specific incident types (e.g., ransomware, DDoS).

Chain of Custody: Documentation of evidence handling from collection to presentation in court.

How Attackers Exploit and Defenders Respond

Attackers often target incident response gaps. For example, they may delete logs or disable security tools to hinder detection. Defenders must have immutable logs (e.g., using syslog to a separate secure server) and endpoint protection that cannot be easily disabled. During containment, attackers may have already established persistence (e.g., scheduled tasks, registry run keys), so eradication must remove all footholds. Defenders use forensic analysis to identify all compromised systems and apply patches.

Real Command/Tool Examples

Imaging a disk: dd if=/dev/sda of=/mnt/evidence/image.dd bs=4M

Capturing memory: winpmem.exe -o memory.raw

Analyzing logs: grep 'Failed password' /var/log/auth.log | awk '{print $11}' | sort | uniq -c | sort -nr

Network isolation: iptables -A INPUT -s 10.0.0.5 -j DROP

Checking for persistence on Windows: reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

Summary

Incident response is a structured process that must be practiced and refined. The SY0-701 exam focuses on the correct order of steps, the purpose of each phase, and common mistakes. Be prepared to identify which phase a given activity belongs to and to recognize proper containment vs. eradication actions.

Walk-Through

1

Preparation

The preparation phase establishes the foundation for effective incident response. This includes developing an incident response policy, forming a CSIRT, acquiring necessary tools (SIEM, forensic workstations, communication systems), and conducting regular training and exercises. Key activities: create playbooks for common incidents (ransomware, phishing, DDoS), establish communication plans (internal and external), define escalation paths, and ensure legal and compliance requirements are met. Tools used: ticketing systems (ServiceNow, Jira), documentation repositories (Confluence), and collaboration tools (Slack, Teams). A common mistake is skipping this phase, leading to confusion during a real incident.

2

Detection and Analysis

This phase involves identifying potential incidents through monitoring, alerts, and reports. Analysts triage alerts to filter false positives and prioritize true incidents. Analysis includes correlating events from multiple sources (logs, network traffic, endpoint data) to understand the scope and impact. Indicators of compromise (IOCs) such as file hashes, IP addresses, and domain names are used to identify malicious activity. Tools: SIEM (Splunk, ELK), EDR (CrowdStrike, Carbon Black), IDS/IPS (Snort, Suricata). Logs show failed logins, unusual outbound connections, or process creation events. A common mistake is failing to properly triage, leading to alert fatigue or missed critical incidents.

3

Containment

Containment aims to stop the incident from spreading and limit damage. Short-term containment actions include isolating affected systems from the network (disconnecting cables, disabling network interfaces, blocking IPs via firewall). Long-term containment may involve applying temporary patches or implementing access controls. For example, if ransomware is detected, the affected system is immediately disconnected to prevent encryption of network shares. Tools: network segmentation, firewall rules, access control lists (ACLs). Logs show the time of isolation and any blocked traffic. A common mistake is delaying containment to gather more evidence, allowing the attacker to cause more damage.

4

Eradication

Eradication removes the root cause of the incident. This includes deleting malware, closing backdoors, removing attacker-created accounts, and patching vulnerabilities. For a malware infection, this might involve running antivirus scans, restoring clean files, or rebuilding the system from scratch. For a compromised server, it often means wiping and rebuilding from known-good backups. Tools: antivirus, rootkit removers, vulnerability scanners. Logs show the removal actions and any residual artifacts. A common mistake is only removing symptoms (e.g., deleting a malicious file) without addressing the underlying vulnerability (e.g., unpatched software), leading to reinfection.

5

Recovery

Recovery restores systems to normal operation and verifies they are clean. This involves restoring data from backups, reinstalling software, reconnecting systems to the network, and monitoring for signs of lingering compromise. Validation includes running vulnerability scans and verifying that patches are applied. For example, after a ransomware attack, systems are restored from offline backups, and user access is verified. Tools: backup software, configuration management tools (Ansible, Puppet), monitoring tools. Logs show system reconnections and any anomalous activity. A common mistake is rushing recovery without thorough validation, allowing the attacker to regain access.

6

Lessons Learned

The lessons learned phase (part of post-incident activity) involves reviewing the incident to improve future response. A post-mortem meeting is held with all stakeholders to discuss what went well, what went wrong, and what can be improved. A final report is produced documenting the timeline, root cause, impact, actions taken, and recommendations. Evidence is preserved for legal purposes following chain of custody. Tools: ticketing systems, documentation platforms. Logs include the final report and any changes to policies or playbooks. A common mistake is skipping this phase, leading to repeated mistakes.

What This Looks Like on the Job

Scenario 1: Ransomware Incident at a Mid-Sized Company

A SOC analyst receives an alert from the EDR that multiple endpoints are encrypting files. The SIEM shows a spike in SMB write operations to network shares. The analyst immediately follows the ransomware playbook: containment by isolating affected hosts via network ACLs (blocking their IPs at the firewall). The incident response team then identifies the initial vector (a phishing email with a malicious macro). Eradication involves wiping and rebuilding all encrypted systems from clean backups. Recovery restores data and verifies integrity. Lessons learned: the company implements email filtering improvements and user awareness training. A common mistake: the analyst delays containment to investigate further, allowing the ransomware to spread to the backup server.

Scenario 2: Data Exfiltration via Malicious Insider

An HR manager reports that an employee is downloading large amounts of customer data to a USB drive. The DLP system alerts on the transfer. The SOC analyst reviews the logs and confirms the activity. Containment: the analyst disables the user's account and network access. Eradication: the USB drive is confiscated and the data is analyzed. Recovery: the employee is terminated, and access controls are reviewed. Lessons learned: the company implements stricter DLP policies and user activity monitoring. A common mistake: the analyst confronts the employee directly without preserving evidence, jeopardizing legal action.

Scenario 3: DDoS Attack on an E-Commerce Site

A web server becomes unresponsive due to a flood of traffic. The NIDS detects the attack pattern. The SOC team immediately engages the DDoS mitigation provider to reroute traffic. Containment: the team implements rate limiting and blackhole routing for malicious IPs. Eradication: not applicable as there is no malware. Recovery: traffic normalizes after mitigation. Lessons learned: the company increases bandwidth and implements a web application firewall (WAF). A common mistake: the team tries to block each IP manually instead of using automated mitigation services.

How SY0-701 Actually Tests This

The SY0-701 exam (Objective 4.8) tests your knowledge of the incident response process. Specifically, you need to:

Know the NIST 4-phase model (Preparation, Detection and Analysis, Containment/Eradication/Recovery, Post-Incident Activity) and be able to identify which phase a given activity belongs to.

Understand the order: preparation must come first, containment before eradication, etc.

Recognize common terms: CSIRT, playbook, chain of custody, indicator of compromise (IOC), false positive, true positive.

Identify proper containment actions (isolate, disconnect) vs. eradication actions (remove malware, patch).

Most Common Wrong Answers: 1. 'Forensic analysis is part of containment.' (Wrong: forensic analysis is part of detection and analysis, or post-incident.) 2. 'Eradication includes restoring from backups.' (Wrong: recovery includes restoration; eradication removes the cause.) 3. 'Lessons learned is optional.' (Wrong: it's a mandatory phase per NIST.) 4. 'Containment should be done after eradication.' (Wrong: containment first to stop spread.)

Specific Terms and Acronyms:

NIST SP 800-61 Rev. 2

CSIRT

IOC (Indicator of Compromise)

Chain of Custody

True Positive, False Positive, True Negative, False Negative

Common Trick Questions:

A question describing 'disconnecting a system from the network' – that's containment, not eradication.

'Deleting malware' is eradication, not containment.

'Reviewing logs to determine the cause' is detection and analysis.

Decision Rule for Scenario Questions: If the scenario involves stopping the spread, it's containment. If it involves removing the threat, it's eradication. If it involves restoring operations, it's recovery. If it involves planning, it's preparation. If it involves reviewing after the fact, it's lessons learned.

Key Takeaways

The NIST incident response process has four phases: Preparation, Detection and Analysis, Containment/Eradication/Recovery, and Post-Incident Activity.

Preparation is the most critical phase; without it, response is chaotic.

Containment must occur before eradication to prevent further damage.

Chain of custody must be maintained for all evidence from collection to presentation.

A playbook is a predefined set of steps for handling specific incident types.

The CSIRT is the team responsible for incident response.

Easy to Mix Up

These come up on the exam all the time. Here's how to tell them apart.

NIST Incident Response Process

4 phases: Preparation, Detection & Analysis, Containment/Eradication/Recovery, Post-Incident Activity

Detection and Analysis combined into one phase

Containment, Eradication, and Recovery grouped together

Post-Incident Activity includes lessons learned and evidence retention

Widely used in government and enterprise

SANS PICERL Model

6 phases: Preparation, Identification, Containment, Eradication, Recovery, Lessons Learned

Identification is separate from analysis

Each phase is distinct and sequential

Lessons Learned is a separate phase

Popular in private sector and training

Watch Out for These

Mistake

Incident response starts when the incident is detected.

Correct

Incident response starts with preparation. Without prior planning, the response will be ineffective. Preparation includes policies, tools, and training.

Mistake

Containment and eradication are the same thing.

Correct

Containment stops the incident from spreading (e.g., isolating a system), while eradication removes the root cause (e.g., deleting malware). They are separate phases.

Mistake

Lessons learned is only needed for major incidents.

Correct

Every incident should have a lessons learned phase to improve future response, regardless of size.

Mistake

Chain of custody only matters if the case goes to court.

Correct

Chain of custody must be maintained from the moment evidence is collected, as it may be needed for legal proceedings later. Proper documentation is critical.

Mistake

A false positive means the security tool is broken.

Correct

A false positive is an alert that incorrectly indicates malicious activity. It doesn't mean the tool is broken; it may need tuning. False positives are common and must be managed through triage.

Frequently Asked Questions

What is the correct order of the incident response phases?

The correct order per NIST is: Preparation, Detection and Analysis, Containment/Eradication/Recovery, and Post-Incident Activity. Note that containment must occur before eradication, and recovery follows. Do not confuse this with SANS PICERL which has six phases. For the exam, stick with NIST.

What is the difference between containment and eradication?

Containment stops the incident from spreading (e.g., isolating a system, blocking IPs). Eradication removes the root cause (e.g., deleting malware, closing backdoors). On the exam, if the action prevents further damage, it's containment; if it removes the threat, it's eradication.

What is a playbook in incident response?

A playbook is a documented, step-by-step guide for handling a specific type of incident, such as ransomware or phishing. It ensures consistent and efficient response. Playbooks are created during the preparation phase.

What is chain of custody and why is it important?

Chain of custody is the process of documenting the handling of evidence from collection to presentation in court. It ensures evidence integrity and admissibility. Every transfer or access must be logged. Without it, evidence may be challenged or dismissed.

What is the purpose of the lessons learned phase?

The lessons learned phase (part of post-incident activity) involves reviewing the incident to identify what went well and what needs improvement. A post-mortem meeting is held, and a report is produced. The goal is to improve future incident response and prevent recurrence.

What is a false positive in incident detection?

A false positive is an alert that incorrectly indicates malicious activity when none exists. For example, a SIEM alert for a known malicious IP that is actually a legitimate service. False positives must be triaged and tuned to reduce noise.

What is the role of the CSIRT?

The Computer Security Incident Response Team (CSIRT) is the group responsible for managing incident response. It includes roles like incident manager, technical analysts, communications lead, and legal counsel. The team is established during the preparation phase.

Terms Worth Knowing

Ready to put this to the test?

You've just covered Incident Response Process — now see how well it sticks with free SY0-701 practice questions. Full explanations included, no account needed.

Done with this chapter?