# Topic 18: Incident Response and Digital Investigation

**Fictional Northstar case · self-paced · 45–90 minutes plus optional setup**

## Opening question
What can you contain without losing essential evidence or exceeding authority?

## Explain
Incident response coordinates preparation, detection, analysis, containment, recovery and improvement within organizational risk management. Investigative records should preserve original evidence, timestamps and handling history. A hash supports integrity checks but cannot reconstruct missing context. Containment choices affect users, evidence and service continuity, so role authority must be explicit.

## Supporting technologies
- **Incident timeline:** Separate event time, discovery time and response time.
- **Evidence handling:** Preserve originals and document collection and transfers.
- **Containment authority:** Approval and impact determine permissible actions.
- **Recovery acceptance:** Verify service, security and monitoring before closure.

## Scenario
Northstar receives a synthetic suspicious-login report and a request to immediately wipe the affected laptop.

```text
utc,event
10:00,suspicious_login_alert
10:05,analyst_acknowledged
10:12,approved_session_revocation
10:20,evidence_copy_recorded
11:00,service_restored_pending_review
```

## Hands-on procedure
1. Build a timeline and identify missing evidence about actual account actions.
2. Create an evidence register: item ID, source, collector, time, hash if applicable and storage location.
3. Compare wiping a device with revoking a session or isolating a lab endpoint; explain evidence and service effects.
4. Draft a containment recommendation for the designated authority; execute no live action.
5. Define recovery acceptance including authorized access, configuration review and monitored return to service.
6. Write a short lessons-learned note with one measurable improvement and an owner.

## Expected reasoning and limits
The supplied record establishes response milestones, not the original cause or complete compromise scope. Wiping before evidence preservation can destroy useful information. Service restoration still awaits acceptance.

## Best practices
- Preserve original material and a handling record.
- Use authorized roles for containment and communications.
- Document uncertainty and alternate hypotheses.
- Retest security and service behavior before closure.

## Vendors, projects and learning
- [Microsoft](https://learn.microsoft.com/en-us/security/): Incident response learning
- [Velociraptor](https://docs.velociraptor.app/): Open-source endpoint investigation documentation
- [Wireshark](https://www.wireshark.org/docs/): Protocol analysis documentation

## Optional technical extension
Hash a synthetic evidence file, copy it and verify the copy hash. Maintain a handling log. This is integrity practice, not a complete forensic acquisition or legal-evidence procedure.

## Career practice
Relevant role families to investigate: Incident response trainee, SOC analyst, Digital investigation support technician. No current vacancy or hiring requirement is asserted.

Interview: Why might wiping a suspected endpoint be the wrong first response?

## Sources
- [NIST SP 800-61 Revision 3](https://csrc.nist.gov/pubs/sp/800/61/r3/final)

## Portfolio evidence
Use the [portfolio guide](../guides/portfolio.md). Submit original input, decisions, tests, actual results, limitations and source attribution. Clearly label modeled, planned and performed work.

## Suggested prerequisites
Topic 15, Topic 17
