Triage, Escalation and Case Management
An alert reaches an analyst. In the next ten minutes the analyst must answer four questions: is it real, how bad is it, is it still happening, and who needs to know? That is triage. Its result is either a closure with a reason, or a case: a record that collects the evidence, the decisions and the actions until the matter is resolved. This lesson gives a triage method, a priority matrix with response-time targets, the anatomy of a case, and the escalation rules that decide when the SOC hands over to incident response.
A triage method
- Understand the alert: which rule, what exactly matched, what the rule's documentation says about false positives (Detection as Code).
- Validate: look at the raw events behind it. Is the matched data what the rule assumed (parser errors and duplicates are common, see Collecting, Shipping and Retaining Logs)?
- Add context: asset, identity, intel, history (Enrichment). Who is the user, what is the host, has this happened before?
- Look around: what happened on the same host and with the same account 30 minutes before and after? A process tree, the sign-ins, the network connections.
- Decide: false positive (close with a code and, if recurring, a tuning request), benign true positive (real activity, authorised: close and document), or suspicious / malicious: open or join a case and set the priority.
Each decision is recorded with its reason; "closed, looks fine" is not a reason.
Priority and response targets
Priority combines how bad the activity is with how important the affected asset or account is. The program applies a small matrix and checks a day's cases against their response targets (service-level objectives for acknowledging and containing).
import pandas as pd
SEVERITY = ["low", "medium", "high", "critical"] # from the rule, adjusted in triage
CRITICALITY = ["lab", "standard", "important", "crown jewel"] # from the asset / identity context
MATRIX = [ # rows: severity, columns: criticality -> priority P1 (most urgent) .. P4
["P4", "P4", "P3", "P3"],
["P4", "P3", "P3", "P2"],
["P3", "P2", "P2", "P1"],
["P2", "P1", "P1", "P1"],
]
TARGET_MIN = {"P1": (15, 60), "P2": (30, 240), "P3": (240, 1440), "P4": (1440, None)} # (acknowledge, contain) minutes
cases = pd.DataFrame([
("C-2301", "high", "standard", 6, 52), # ws15 intrusion
("C-2302", "critical", "crown jewel", 4, 41), # DC: new Domain Admin
("C-2303", "medium", "crown jewel", 95, 300),
("C-2304", "low", "lab", 600, None),
("C-2305", "critical", "standard", 25, 75),
], columns=["case", "severity", "criticality", "ack_min", "contain_min"])
cases["priority"] = [MATRIX[SEVERITY.index(s)][CRITICALITY.index(c)] for s, c in zip(cases.severity, cases.criticality)]
def slo(r):
ack_t, con_t = TARGET_MIN[r.priority]
out = [] if r.ack_min <= ack_t else [f"ack late by {r.ack_min - ack_t} min"]
if con_t and pd.notna(r.contain_min) and r.contain_min > con_t:
out.append(f"containment late by {r.contain_min - con_t:.0f} min")
return "; ".join(out) or "met"
cases["targets"] = cases.apply(slo, axis=1)
print(cases[["case", "severity", "criticality", "priority", "ack_min", "contain_min", "targets"]].to_string(index=False))
print("\nmet all targets:", f"{(cases.targets == 'met').mean():.0%}", "| by priority:",
cases.groupby("priority").targets.apply(lambda s: f"{(s == 'met').sum()}/{len(s)}").to_dict()) case severity criticality priority ack_min contain_min targets
C-2301 high standard P2 6 52.0 met
C-2302 critical crown jewel P1 4 41.0 met
C-2303 medium crown jewel P2 95 300.0 ack late by 65 min; containment late by 60 min
C-2304 low lab P4 600 NaN met
C-2305 critical standard P1 25 75.0 ack late by 10 min; containment late by 15 min
met all targets: 60% | by priority: {'P1': '1/2', 'P2': '1/2', 'P4': '1/1'}
Three of five cases met their targets. The two misses are informative because of where they fall: a medium alert on a crown-jewel system (C-2303) becomes P2 and waited 95 minutes, probably because the analyst sorted the queue by the rule's severity rather than by priority; and a critical alert on an ordinary workstation (C-2305) became P1 but was acknowledged 10 minutes late. The low-severity lab alert (C-2304) waited ten hours and still met its P4 target, which is the matrix doing its job: some things are allowed to wait. Report target attainment per priority, as the last line does, and review every P1 and P2 miss in the next morning's meeting.
Anatomy of a case
Case-management tools (TheHive is a widely used open-source example; SIEMs, SOAR platforms and ticketing systems have equivalents) hold the same core fields:
| Field | Example (C-2301) |
|---|---|
| Title, priority, status, owner | "Macro document leads to DLL beacon on ws15", P2 (raised to P1 once LSASS access was seen), in progress, L2 analyst on shift |
| Linked alerts | office-shell, encoded-ps, LSASS read, rare-domain beacon |
| Observables (artefacts) | host ws15, user erin, file lib.dll (SHA-256), domain upd.cdn-lab.example, IP 203.0.113.66, task WinUpdateSvcHelper |
| Timeline | 09:58 document opened … 10:05 first beacon; 10:12 alert; 10:18 acknowledged; 11:04 host isolated |
| Tasks | isolate host (done), collect triage package (done), reset credentials (open), scope other hosts (open) |
| Decisions and approvals | isolation of a workstation, approved by playbook; credential reset of a finance user, notified manager |
| Classification at closure | true positive, malware via phishing, ATT&CK techniques, root cause, lessons learned |
Observables are what makes cases useful beyond the incident: they can be searched across all cases ("have we seen this domain before?") and exported as indicators (STIX 2.1 and TAXII).
Escalation
Escalation criteria are written down so the decision does not depend on who is on shift (SOC Roles, Tiers and Shifts):
- To L2 (or the next tier): anything triaged as suspicious that needs investigation beyond the playbook, or any P1/P2.
- To incident response / the incident lead: confirmed compromise of a host or account, any activity on crown-jewel systems or tier-0 accounts, data leaving the organisation, ransomware behaviour, or several hosts involved. The incident lead decides on declaring an incident, which activates the incident-response plan (communication, legal, management).
- Outside the SOC: legal and privacy (personal data affected: notification deadlines may apply), communications, the system owners, and where required regulators or law enforcement; these go through the incident lead, not directly from the analyst.
How triage fails, and the fix
| Failure | Fix |
|---|---|
| Closing on the alert text alone | Step 2 is mandatory: look at the raw events |
| Investigating forever before escalating | Time-box triage (for example 15 minutes for P1) and escalate with what you know |
| Duplicate cases for one intrusion | Search open cases by observables before opening a new one; merge |
| Tunnel vision on the alerting host | Step 4 and scoping: same indicators and behaviour on all hosts |
Pitfalls
- Priority set by the rule only. Without asset and identity context, a P1 on a lab VM and a P3 on a DC get the wrong order.
- Containment without evidence. Isolating is fine; wiping or reimaging before evidence collection destroys what investigators need (Evidence Handoff to DFIR).
- Cases without closure classification. Unclassified cases can't feed metrics or tuning.
Practice
1. A "medium" alert on a crown-jewel database server. What priority does the matrix give, and what targets apply?
Row medium, column crown jewel: P2. Acknowledge within 30 minutes, contain within 240 minutes.
2. C-2303 (a medium alert on a crown-jewel system) missed both targets. What questions would the morning review ask?
Was it acknowledged late because of queue volume, staffing or because its priority was set too low at first? Did containment wait for an approval (owner of an important system unreachable)? Was the playbook clear? Each answer leads to a different fix: tuning, staffing, approvals or the playbook.
3. Name three observables you would add to a phishing case beyond the URL.
The sender address and sending infrastructure (mail headers' relay IPs), the attachment or downloaded file hash, the recipients and the users who clicked, and the credential-entry page's domain. Each lets you search other mailboxes, proxies and endpoints.
Test yourself
Which are the four triage questions?
- Who, what, where, why
- Is it real, how bad is it, is it still happening, who needs to know
- Which SIEM, which rule, which index, which field
- Open, close, merge, delete
In the matrix, what priority does a high-severity alert on a standard workstation get?
- P1
- P2
- P3
- P4
Why are observables recorded in a case?
- To make cases longer
- They can be searched across cases and hosts, and exported as indicators
- They are required by TLP
- To delete them later
Who declares an incident and involves legal and management?
- Any L1 analyst directly
- The incident lead, after escalation from the SOC
- The SIEM automatically
- The user who reported it