Incident response as a procedure you rehearse
Response is a sequence: see it, contain it, understand it, evict it, recover, and learn. The sequence fails when nobody has practiced the first hour.
Diagram
The first hour
Step 1 of 4
Declare
Someone with authority names an incident and an incident lead.
# Declare # Someone with authority names an incident and an incident # lead.
The example on the open step is one illustration, or the fix you can paste into an application you own.
What this page is made of
3 pieces. Each one says what fails, who is affected, what you would notice, and what you change.
Roles
- What fails
- Without a lead, everyone acts and nobody decides.
- Who is affected
- The response itself.
- What you would notice
- Conflicting actions by different teams.
- What you change
- Name a lead and scribe at declaration.
Evidence
- What fails
- Rebuilding before collecting loses the story.
- Who is affected
- Investigation and legal options.
- What you would notice
- Hosts wiped before triage collection.
- What you change
- Collect memory and triage data first when safe.
Out-of-band communication
- What fails
- Attackers may read the mail or chat you use to respond.
- Who is affected
- Response plans.
- What you would notice
- Coordinating in a tenant that may be compromised.
- What you change
- Keep a separate channel ready.
The first hour
Name an incident commander, a scribe, and a channel. Decide whether you are still investigating or already containing. Containment that destroys evidence and investigation that leaves the intruder in place are both failures. The bias for a stolen token is to revoke it. The bias for a fragile production database is to avoid heroic queries that make the outage worse.
Write times in one zone and keep the notes factual. What you know, what you assume, and what you have done. Rumors in the incident channel become the story customers hear. The scribe's job is to stop that.
A lifecycle you can remember
Prepare: contacts, access to logs, a way to revoke tokens, backups you have restored once. Detect and analyze: the questions in the logging lesson. Contain: revoke sessions, disable keys, segment the affected system, reset the factors that were added. Eradicate: remove the access path you understand, not a random process that looks ugly. Recover: restore from a point you trust, then watch. Learn: one change to a control or a detection, with an owner.
Ransomware and destructive events add a specific question: are the backups reachable with the same credential that just got stolen? If they are, they are not a recovery plan. The resilience lesson is the pair to this one.
People and legal
You will need someone who can make a business decision, someone who understands the system, and, for many incidents, counsel and a communications owner. Paying a criminal, notifying regulators, and talking to customers are not engineering choices. Do not freelance them in the incident channel.
Tabletops are the lab for this chapter. Pick a scenario from the glossary, walk the first hour with the real on-call rotation, and notice which log you could not open and which vendor you could not reach. Fix that. It is a better exercise than a surprise drill that takes production down.
Afterward
A useful review names the conditions that allowed the incident, the detection gap, and one or two changes. A review that lists human error and stops will have the same incident again. Track the actions the way you track bugs.
Share with the people who operate the system. Publishing a cinematic blow-by-blow to the open internet is a decision for the organization, not for the person who found the log line.
Check yourself
Recognition and the fix. Nothing here is a procedure.
Why use an out-of-band channel during response?
Sibling techniques
Pages at the same depth, plus a lab and a glossary card for this one.
This page stands on its own. The lab and the glossary card are the next reading.