CompTIA SY0-701: Incident Response from Detection to Recovery

At 09:12 UTC, an endpoint sensor reports an unusual burst of file rewrites on a finance workstation. Two minutes later, a file server records a service-account connection from that workstation. The operations team is concerned because the finance share holds invoices needed for a payment run later that morning. The alert is urgent, but none of those observations by itself proves ransomware, data theft, or even that the same actor generated both events.

This fictional incident is a useful test of incident response because it forces several decisions at once: when to declare an incident, what to preserve before changing a system, how far containment should reach, who can approve disruption, and what evidence would make recovery safe. The work is not a rigid race through labels. Responders should be able to explain what they knew, what remained uncertain, and why each action was proportionate to the exposure.

The current NIST SP 800-61 Revision 3, finalized in April 2025, treats incident response as part of cybersecurity risk management aligned with the NIST Cybersecurity Framework 2.0. Its lifecycle emphasizes Detect, Respond, and Recover, supported by wider preparation and improvement activities. The familiar preparation, identification, containment, eradication, recovery, and lessons-learned sequence can still organize operational tasks, but it should not be misrepresented as the only current NIST model.

Make the initial decision from observations, not alarm labels

The responder’s first question is not “Which malware family is this?” It is “What happened, how reliable is the observation, and what damage may still occur before we know more?” In this case, the sensor reports rapid writes on workstation FIN-07. The file server reports a connection by svc-finance-sync. An identity log shows that the service credential was used earlier in the day. These are three independently produced records with different fields, clocks, and collection limits.

Record the alert rule, sensor health, host identity, collection timestamp, raw event timestamp, process information actually captured, and whether the files named in the alert are local or on a remote share. Request the surrounding identity and file-server events with an authorized scope. A detection name such as “possible ransomware activity” is a classification by a tool, not a forensic verdict. If the sensor only sees endpoint file operations, it cannot establish by itself whether the remote share was encrypted or data was sent outside the environment.

An incident commander or other named decision owner should apply the organization’s severity and escalation criteria. The combination of high-rate writes, sensitive finance data, and a credential reaching a shared service warrants active investigation and may justify immediate narrowly scoped containment. There is no need to claim confirmed exfiltration to authorize protective action, but the rationale and permitted scope must be documented. If service owners, legal counsel, privacy personnel, or an external response provider must be notified under an applicable plan, identify the trigger and assign that communication rather than leaving it to the analyst’s memory.

Build a timeline that keeps evidence separate from inference

Use a single incident identifier and preserve each original record before normalizing it for analysis. The table below contains invented training events, not real telemetry. Times are shown as reported in UTC for readability; an actual case would also record clock synchronization and ingestion delay before relying on minute-level ordering.

Reported time (UTC) Recorded observation Decision or next evidence What remains unknown
09:12 EDR on FIN-07 flags high-rate file rewrites. Preserve event identifiers, process lineage, affected path sample, and sensor health; ask whether the writes continued. Whether encryption occurred, which files changed, and whether the alert is a false positive.
09:14 File server logs svc-finance-sync connecting from FIN-07. Verify the principal’s directory identity, expected job schedule, session scope, and privileges. Whether the service connection caused the endpoint alert or was legitimate scheduled activity.
09:19 File audit shows a cluster of renames on the finance share. Preserve audit records and compare a small authorized sample against prior versions. Whether renames were malicious, which data was lost, and whether access continues.
09:23 The operations manager reports an imminent payment run. Record business-critical dependencies and select a containment option that protects the share without an uncontrolled outage. The minimum service interruption that will reduce the exposure.

Preserving original evidence is more useful than flattening everything into one attractive dashboard. Keep the event source, system identifier, original principal, time zone, acquisition method, and any transformations alongside the normalized values. Verify whether svc-finance-sync is a machine identity, whether several hosts share it, and whether the EDR and server clocks are trustworthy. A coincident timestamp or source address is a lead to investigate, not proof of one compromise chain.

The older but still relevant NIST SP 800-86 forensic guidance explains why collection records, data-source differences, integrity, and appropriate handling matter in investigations. It is IT-oriented forensic guidance dating from 2006, not a present-day universal imaging command or legal determination. For the same reason, responders should document who collected evidence, what tools were used, when copies were made, and how integrity was checked. Do not export entire mailboxes, personnel files, or unrelated account histories simply because the collection tooling makes that easy.

Contain the active risk without erasing the investigation

If the team determines the workstation may still be changing files, an approved endpoint isolation may be the lowest-disruption protective step. Record who authorized it, the intended effect, the exact asset, the start time, and the evidence likely to be lost. Some actions terminate network sessions or volatile processes; others preserve a running host while restricting access to a share. No single choice is automatically right. A compromised machine still reaching critical storage may demand prompt isolation even if capturing memory first would be ideal.

Before disabling svc-finance-sync globally, identify where the account is legitimately used. Revoking a credential shared by multiple finance jobs could halt backups or payment processing. A narrower temporary deny rule for the suspicious session, a block on the workstation’s share access, or a controlled rotation with service-owner coordination may reduce exposure while preserving essential functions. Every proposed action should have a backout owner and a way to measure whether the threat path actually closed.

Evidence preservation and containment are not opposites. If the incident plan requires volatile-memory acquisition or live network data, the forensic lead should decide what is feasible before the host is shut down, and record why safety took precedence if immediate isolation is necessary. The related distinction between activating specialized examination and ordinary operational triage is explored in digital forensics and incident-response timing.

CISA’s #StopRansomware Guide recommends identifying affected systems, isolating them, preserving volatile evidence where practical, and prioritizing critical-service recovery in ransomware situations. Its checklist informs proportional response planning; it does not establish that the fictional event is ransomware or authorize any one containment command in every environment. The team must follow its own approved incident plan and record exceptions.

Investigate reach and persistence before declaring eradication

Once immediate destructive activity appears contained, investigation turns to the attacker-or-error hypothesis. Examine the process tree, authentication events, scheduled tasks, recent software deployments, account changes, administrative actions, and file-version history. Check other hosts that had the same share or credential access during the relevant period. A legitimate bulk file migration can resemble malicious encryption, while a stolen service credential may leave little obvious malware on FIN-07. Neither hypothesis should become fact through repetition in incident notes.

Use an explicit confidence statement for every material conclusion. For example: “High confidence that FIN-07 generated the reported file operations; moderate confidence that the finance share was modified; low confidence that the service credential was misused; no verified evidence yet of external transfer.” Such phrasing tells the next shift exactly what needs testing and prevents an unsupported “attacker contained” declaration from becoming the recovery plan.

Eradication is not just deleting a suspicious executable. A confirmed compromise may require rebuilding the endpoint from a trusted image, rotating affected credentials, removing unauthorized access paths, correcting the entry weakness, and checking for persistence elsewhere. Conversely, if investigation establishes an authorized job caused the changes, record the corroborating job configuration, change ticket, file checks, and independent reviewer signoff. That outcome is a defensible false positive, not an excuse to disable the detection indiscriminately.

If the evidence suggests regulated data access or cross-organizational effects, the incident commander must route that finding to the teams responsible for contractual and legal decisions. GDPR, healthcare, financial, and sector reporting obligations are fact- and jurisdiction-specific; the presence of a security incident does not prove every notification duty applies. Preserve the facts and time of awareness needed for a qualified decision instead of asserting a universal deadline.

Release recovered services through measurable gates

The finance share should not return to production because the endpoint dashboard becomes green. Define recovery criteria with the business owner and technical lead: the identified unauthorized path is blocked, necessary credentials and access lists are reviewed, affected systems are clean or rebuilt, backup copies are trustworthy, and restored files pass agreed integrity and usability checks. Recover in a segregated or controlled environment first when the risk of reintroducing the same problem is material.

Test the actual workflow, not just whether a file opens. Can the finance team read the approved invoice set? Are changes logged under individual identities? Can the suspected endpoint still write? Are restoration permissions narrower than before? Does monitoring identify the same behavior in a controlled test without affecting production? If the answers conflict, keep the release gate closed or record an authorized, time-bounded exception with a risk owner.

The incident commander should hand the business owner a clear decision package: what was restored, what was verified, what remains unproven, what safeguards are temporary, and who will monitor for recurrence. A credible recovery decision can acknowledge uncertainty. For example, no observed data transfer during the logged interval is not the same as proof that no transfer occurred if network logs were missing. Keep the residual exposure visible until its accepted review date.

In the CISA federal incident-response playbooks, responders are given a structured approach to coordinating incident handling and recovery. Those playbooks were developed for federal civilian executive-branch systems, although other organizations can use them as benchmarks. They do not impose the same reporting thresholds or communications chain on a fictional private manufacturer.

Improve the control that failed, not just the incident report

Following a response, separate the discovery of the incident from the response performance. Detection may have worked while authorization failed. Containment may have been fast but so broad that it stopped billing. Evidence collection may have been technically excellent but delayed by unclear approval. Name the contributing control, owner, concrete corrective action, due date, and validation test. Do not convert every lesson into a generic awareness course.

The NIST incident-response project explains the Revision 3 relationship between the Detect, Respond, and Recover functions and ongoing Govern, Identify, Protect, and Improve activities. This is why fixing shared-service-account design, clarifying the owner of containment decisions, rehearsing recovery, and improving logs belong in incident readiness even though they may occur outside an active incident. A completed ticket is not evidence of improvement until the failure condition has been retested.

For this fictional case, useful follow-up actions might include replacing a shared finance service account with workload-specific credentials, testing write restrictions on the critical share, verifying coverage of file-server audit events, and rehearsing a recovery of a small invoice dataset. Set outcome measures such as time to authorization, evidence gaps discovered, successful restoration checks, and repeated alerts with the same root cause. Raw mean response time alone can reward premature, disruptive actions.

Use a tabletop exercise to test the decision chain

Give participants the four events in the table but withhold the conclusion. First ask an analyst to distinguish observations from interpretations. Then ask the incident commander to decide whether to declare an incident, which evidence is worth preserving immediately, and whether to isolate only FIN-07 or interrupt broader share access. The service owner must explain the payment-run dependency, while a separate reviewer checks the necessity and authority of disruptive actions.

Introduce three changes during the exercise. First, an EDR clock is found to be six minutes fast. Second, another legitimate machine uses the same service credential. Third, the proposed clean backup is missing the latest approved invoice batch. A good team should revise its timeline and containment assumptions, not hide the contradictory evidence to keep its first hypothesis intact. Recovery should wait for a validated alternative or a consciously authorized business exception.

Finish by producing four small artifacts: the preserved evidence index, the incident decision log, an approved containment-and-recovery record, and a list of corrective tests with owners. These are more useful than a dramatic narrative of how dangerous cyber incidents can be. The purpose of incident response is to protect people and services through decisions that remain intelligible when the first alert, initial theory, or preferred restoration plan turns out to be wrong.

img