Unit 1: How a SOC works · Lesson 4 of 5 · 15 min
What to work first
Order the new alerts by severity and age, then weigh them against how important each asset is.
mission
- You are
- The tier 1 analyst with nineteen new alerts.
- Situation
- You cannot work nineteen alerts at once. The SOC ranks them by severity, then by age, then by how much the affected asset matters.
- Goal
- Produce a work order for the queue and check it against the asset list.
- Hand in
- The alert you work first and the criticality of build01.
Rank by severity, then by time
Severity words do not sort well as text, so this jq turns them into numbers first: critical 0, high 1, medium 2, low 3. sort then orders by that number and by the timestamp next to it.
jq -r 'select(.status == "new") | [({"critical":0,"high":1,"medium":2,"low":3}[.severity]), .created, .id, .rule] | @tsv' siem/alerts.jsonl | sort | head -n 8
1 2026-10-20T03:25:10Z QL-1203 MFA push flood followed by approval
1 2026-10-20T09:30:50Z QL-1211 Script interpreter run from a temp or archive folder
1 2026-10-20T09:30:53Z QL-1208 Suricata: executable over plain HTTP
1 2026-10-20T10:03:01Z QL-1213 Local account created and added to Administrators
1 2026-10-20T10:05:20Z QL-1214 Service installed with binary in a user profile
1 2026-10-20T10:45:00Z QL-1215 NTLM password spray against a domain controller
1 2026-10-20T14:06:02Z QL-1219 SSH login from an external address
2 2026-10-20T03:32:00Z QL-1204 New MFA method registered
you should see The oldest high alert sits at the top: the MFA push flood from 03:25.
jq- Picks fields out of JSON and reshapes it. Install with sudo apt install jq, or brew install jq on a Mac.
sort- Sorts lines of text. Built into Linux and macOS.
head- Prints the first lines of a file or of piped text. Built into Linux and macOS.
Check the assets involved
grep -E matches any of the words separated by |: host catches the header line, the rest pick out machines. The asset list says who owns each machine and how critical it is.
grep -E 'host|WS-0142|DC01|build01' soc/assets.csv
host,ip,owner,role,criticality
DC01,10.40.1.10,IT,domain controller,critical
bastion01,10.40.1.5,IT,SSH jump host,high
build01,10.40.1.30,Engineering,build and deploy server,high
WS-0142,10.40.10.42,Accounts Payable,workstation of mreyes (legacy image with UAC off),medium
grep- Prints the lines of text that match a pattern. Built into Linux and macOS.
Read the severity matrix
The SOC's matrix turns impact and confidence into a priority, P1 to P4, each with a response time.
cat soc/severity-matrix.txt
Quillon SOC severity matrix
===========================
Severity = impact x confidence. Use the higher row when unsure.
confidence: low medium high
impact: critical asset P3 P2 P1
impact: high asset P3 P2 P1
impact: medium asset P4 P3 P2
impact: low asset P4 P4 P3
Raise one level when any of these is true:
- an account with admin rights is involved
- the activity is still happening now
- data has left, or credentials were entered on a fake site
Response targets
P1 acknowledge 15 min, escalate to IR on-call now, contain within 1 hour
P2 acknowledge 30 min, tier 2 review within 2 hours
P3 acknowledge 4 hours, work during the shift
P4 next business day, or close with a note
you should see High confidence on a critical asset is P1: escalate now.
cat- Prints the contents of one or more files. Built into Linux and macOS.
Triage order, in words
| Command | What it does |
|---|---|
1. Unfinished work | Anything a previous shift left in progress |
2. Severity | High before medium before low |
3. Age | Older first: the attacker has had longer |
4. Asset | Domain controllers, servers and admins beat ordinary laptops |
5. Clusters | Alerts sharing a host, user or address are one piece of work |
What a defender takes away
- 1Rank by severity, then age, then asset criticality.
- 2Alerts that share an entity belong together: WS-0142 has five today.
- 3Write down the order you chose. It is part of your handover.
Questions
0 of 2 solved
Answer each one from what you find on your lab machine.