Stage 2 of 9 · about 10–15 hours · beginner · checked 2026-11-23

Triage and investigation

Goal. By the end you can work an alert from first look to a verdict you can defend, and leave a case note and an escalation that someone else can act on at 03:00.

Why it matters#

Triage is where most SOC time goes, and where most mistakes are made: a real attack closed as noise, or noise escalated as a crisis. A method makes the decision repeatable. It also makes it reviewable, so a second analyst can see why you decided what you did.

What you will learn#

The triage loop#

  1. Read the alert. Which rule fired, on which user, host or address, and when? Read the logic, not just the title.
  2. Get context. Who or what is this, and what is normal for it? Is there a change ticket or a planned job?
  3. Enrich. Look up the indicators: who owns this address, is that file known, has this user been in trouble before?
  4. Pivot. Find related activity: the same user, host, address or file, and the minutes before and after.
  5. Decide. Give a verdict and a confidence level.
  6. Act and record. Close, escalate or contain within your authority, and write the case note.

Put a time-box on it, for example 15 minutes for a routine alert. If you have no verdict when it ends, escalate for a second pair of eyes. Do not let a hard alert sit.

Four verdicts#

Verdict Meaning Example What you do
False positive The rule fired on bad data or bad logic. The behaviour it describes did not happen A geolocation database places a company VPN exit in another country, so "impossible travel" fires and nobody travelled Close, and report the data problem
Benign true positive The behaviour happened, but it was expected and authorised An administrator runs remote commands in a change window Close with the evidence, and propose an exception
True positive The behaviour happened and is not authorised A mailbox rule hides payment mail Escalate or contain under the playbook
Needs more information You cannot tell yet An unknown tool on a developer's laptop Ask the owner, set a deadline, escalate if unanswered

Teams count benign true positives differently. Some call them true positives, because the rule did its job; others treat them as noise. Agree one definition, or your precision figures will not compare.

Enrichment: questions to ask#

You have Ask Look in
IP address Who owns it? Is it a hosting provider, a VPN, or ours? Have we seen it before? ASN lookup, your proxy, firewall and sign-in logs
Domain or URL How old is it? Who else visited? DNS and proxy logs, domain-age lookups
File hash Is it known? Signed? On other hosts? EDR prevalence, reputation lookup by hash
User Role, usual place and hours, recent password or MFA changes? Identity provider, directory
Host Owner, criticality, other recent alerts? Asset inventory, EDR
Command line What launched it? What does it decode to? EDR process tree, a decoder

Three cautions:

  • Reputation is not a verdict. New attacker infrastructure has no history, and a shared cloud address can look bad because of a neighbour.
  • Do not paste internal data into public services. Some scanners and sandboxes publish what you submit. Check the settings first.
  • Record what you looked up and when. Reputation changes.

Pivoting#

A pivot is a search that starts from one thing you know and finds the others around it:

  • By entity: everything one user, host, address or hash did or touched.
  • By time: the 30 minutes either side of the alert.
  • By process tree: what started this process, and what did it start?
  • By session: every action sharing one logon or session ID.

Write each pivot down as you go, so a colleague can repeat it. Here are two, with invented values.

KQL
SigninLogs
| where TimeGenerated between (datetime(2026-03-10T07:00:00Z) .. datetime(2026-03-10T11:00:00Z))
| where UserPrincipalName =~ "dana.okafor@example.com"
| project TimeGenerated, IPAddress, AppDisplayName, ResultType
| sort by TimeGenerated asc

Illustrative: test it in your lab before relying on it.

SPL
index=auth earliest=-24h src_ip="203.0.113.45"
| stats count values(action) AS actions min(_time) AS earliest_contact BY user

Illustrative: test it in your lab before relying on it.

Escalation criteria#

Write these down before you need them. Escalate when:

  • a privileged, executive or finance account is involved;
  • a server or a system the business cannot run without is involved;
  • you see hands-on activity: commands being typed, tools dropped, persistence created;
  • more than one user or host is involved;
  • data may have been read or copied out;
  • ransomware precursors appear, such as backups or shadow copies being deleted;
  • your time-box ends without a verdict.

When in doubt, escalate, but with a note that takes a minute to read: what you think, why, what you did and what you need. A bare "please look at this" costs the next person ten minutes.

Case notes#

Write for the person who reads it at 03:00 without you.

  • Times in UTC.
  • Facts first, assessment second, and label which is which.
  • Record what you checked and did not find. "Checked the proxy for the domain: no other visitors" is evidence.
  • Record every action you took, with the time.
  • Link the evidence (saved queries and results) and keep guesses about people out.

A worked investigation (invented data)#

The alert. At 09:41 UTC the rule "Inbox rule moves mail and marks it read" fires for dana.okafor@example.com.

  1. Read. The rule matches a mailbox rule that sends mail to a rarely used folder and marks it read. That is a known way to hide replies during invoice fraud.
  2. Context. Dana works in accounts payable. Her usual sign-ins come from the office network (192.0.2.0/24). No change ticket mentions mailbox rules.
  3. Enrich. A sign-in at 09:12 came from 203.0.113.45, which belongs to a hosting provider in another country. Reputation services know nothing about it. That proves little: new infrastructure has no history.
  4. Pivot. Her laptop signed in from the office at 08:30 and has been idle since 08:55, so the 09:12 sign-in was not her device. From 09:14 to 09:30 that session searched her mailbox for "bank details" and "invoice". The 09:41 rule moves mail containing "invoice" or "payment" to the RSS Subscriptions folder. The same address signed in as two other users today, and one sign-in succeeded. At 08:51 Dana received "Shared document: supplier list" from a lookalike sender, and proxy logs show a click at 08:58 to docs-example-share.example.
  5. Decide. True positive, high confidence: probable account takeover after a phishing link, aimed at intercepting payment messages. The logs do not show how MFA was satisfied. A stolen session is plausible, but that is an assessment, not a fact.
  6. Act. Escalate: finance user, payment mail hidden, other accounts involved. The runbook lets the SOC revoke sessions and delete the rule, so do both and record them.
Text
Case 2026-0142 | true positive, high confidence | severity high
SUMMARY   Probable takeover of dana.okafor@example.com (accounts payable).
TIMELINE  08:51 lure received | 08:58 click on docs-example-share.example
          09:12 sign-in from 203.0.113.45 (not her device) | 09:14-09:30 mailbox searches
          09:41 rule created to hide "invoice"/"payment" mail
SCOPE     r.mendes also signed in from 203.0.113.45 (success); one other failure.
ACTIONS   09:58 sessions revoked, 09:59 rule deleted (pre-authorised); both by A. Analyst
CHECKED   No other recipients of the lure found in mail logs so far.
NEXT      Handler to confirm scope and decide password reset; finance to hold bank-detail changes.

Do this#

  1. Triage ten alerts (3–4 hours). Use the Boss of the SOC dataset or your lab SIEM. For each, write a verdict and a short note. Swap with a friend and compare.
  2. Write the benign version (1 hour). Rewrite the worked example so that 203.0.113.45 is the company's own VPN. Change the verdict and the note.
  3. Pivot drills (2 hours). In your lab, start from one process and follow it to its parent, its children, its host and the user. Write the pivots down.
  4. Decode safely (30 minutes). In PowerShell, run [Convert]::ToBase64String([Text.Encoding]::Unicode.GetBytes("Write-Output 'hello'")). Decode the result in CyberChef with From Base64 and then Decode text (UTF-16LE). Attackers' encoded commands are read the same way. Never run what you decode.
  5. Write three escalations (45 minutes). Use the one-minute format. Ask a friend what they would do from the message alone.

Resources#

Free first

Paid or needs an account

  • None needed for this stage.

Checkpoint#

You are ready to move on when you can:

Go deeper (optional)#

  • Read the ATT&CK pages for Hide Artifacts: Email Hiding Rules (T1564.008) and Email Collection: Email Forwarding Rule (T1114.003), the techniques behind the worked example.
  • When a rule is noisy, Detection Engineering stage 6 shows how it is tuned.

0 / 6 checkpoints ticked

View this page on GitHub

9 lines · 59 stages · 77 pages 0 of 59 stages done