Unit 1: The response lifecycle · Lesson 1 of 4 · 15 min

Declare the incident

Read the SOC escalation and the alert behind it, then decide whether this is an incident and how bad it is.

mission

You are
The incident responder on call at Harbourline Logistics.
Situation
At 14:18 UTC on 21 October the SOC escalates ticket INC-48213: web02, the invoicing server, uploaded data to an address nobody recognises.
Goal
Read the ticket and the alert, then rate the incident with the company's own severity matrix.
Hand in
A yes or no on declaring an incident, a severity and the deadline it sets.

An event is anything observable: a login, a connection, a file change. An incident is an event, or a chain of them, that breaks security policy or puts systems or data at risk. The SOC course taught you to triage events. This course starts where triage ends: someone has to own the response.

01

Read the escalation

The ticket is in intake. cat prints a file to the terminal.

analyst@ir-ws01
cat ticket-INC-48213.txt
INC-48213  Large upload from web02 to rare external address
Opened    2026-10-21 14:12 UTC by SOC (L1: J. Haddad)
Status    Escalated to incident response, 2026-10-21 14:18 UTC

Summary
  NDR alert NDR-7731 fired at 14:09 UTC. web02 (10.20.0.12, invoicing app)
  sent 944 kB to 198.51.100.23 over TCP 443 at 14:06 UTC. No TLS server
  name. The address has never been seen before in our traffic.

Triage notes (SOC)
  14:13  Confirmed in firewall flows: one session, 944 kB out, 3 seconds.
  14:15  web02 has no business reason to upload files to the internet.
         Change calendar: only a patch reboot of web02 today at 13:55.
  14:16  The same firewall flows show web02 holding a long session to
         203.0.113.66:443 since 13:56. Not on any allow list.
  14:17  No change request or vendor support case covers either address.

Escalation reason
  Likely data leaving a server that holds customer and invoice data.
  Possible attacker control channel (203.0.113.66). Needs IR.

you should see Two addresses stand out: 198.51.100.23 received the upload, and web02 has held a session to 203.0.113.66 since 13:56.

cat
Prints the contents of one or more files. Built into Linux and macOS.
02

Pull the key fields out of the alert

The alert is JSON. jq -r prints the fields you name without quotes, one per line.

analyst@ir-ws01
jq -r '.rule, .src_host, .dst_ip, .bytes_out, .asset_note' alert-NDR-7731.json
Large upload to rare external destination
web02
198.51.100.23
943758
Invoicing app, holds customer and invoice data

you should see A high-value server sent about 944 kB to a destination never seen before.

jq
Picks fields out of JSON and reshapes it. Install with sudo apt install jq, or brew install jq on a Mac.
03

Find the matching severity

sed -n '/A/,/B/p' prints the lines from the first line matching A to the next line matching B.

analyst@ir-ws01
sed -n '/^SEV-1/,/^SEV-4/p' severity-matrix.txt
SEV-1  Critical
       Active ransomware or destructive attack, or confirmed theft of
       regulated personal data from more than 10,000 people, or a
       business-wide outage.
SEV-2  High
       Confirmed compromise of a production server, or confirmed or
       likely theft of customer, payment or employee data.
SEV-3  Medium
       Confirmed compromise of a single endpoint with no sign of
       spread or data theft.
SEV-4  Low

you should see Compromise of a production server with likely data theft fits SEV-2.

defender tip Rate on what you know now, then re-rate. If you later prove more than 10,000 people's personal data left, this becomes SEV-1.

sed
Edits text as it streams past, for example to replace or delete lines. Built into Linux and macOS.
04

Check the clock it starts

grep -A3 shows the matching line and the three lines after it.

analyst@ir-ws01
grep -A3 'Response targets' severity-matrix.txt
Response targets
  SEV-1  IR lead within 15 min, exec sponsor and legal within 1 hour
  SEV-2  IR lead within 30 min, legal within 4 hours
  SEV-3  IR lead within 4 hours

you should see SEV-2 means an IR lead within 30 minutes and legal within 4 hours.

grep
Prints the lines of text that match a pattern. Built into Linux and macOS.

Event or incident

Still an event
one upload to a new SaaS site
by a user who does that daily
owner confirms it

Explained, documented, closed by the SOC.

An incident
server with customer data
uploads to an unknown address
no change, no owner, no reason
plus a second unknown session

Unexplained risk to data. Declare and own it.

What a defender takes away

  1. 1Declare when an event puts systems or data at risk and nobody can explain it.
  2. 2Use the written severity matrix, not gut feel, and re-rate as facts change.
  3. 3Severity starts clocks: who must be told, and by when.

Questions

0 of 3 solved

Answer each one from what you find on your lab machine.

  1. Show hint

    jq .src_host

  2. Show hint

    Production server compromise or likely data theft.

  3. Show hint

    Response targets.