Practice library / Security operations basics
Lab · Medium · 1.5 hoursFree account
SOC Alert Triage with a SIEM
Work a realistic alert queue: classify, investigate, and escalate findings.
On this page 13 sections
- ·Prerequisites
- ·Lab Setup
- 1Create the data and read the queue
- Locked: Pivot on A-101: failures, then a success
- Locked: Scope A-101: what did the account do next?
- Locked: A-102: check the baseline
- Locked: A-103: read the exact event the rule matched
- Locked: A-105: identify the source
- Locked: A-104: decide when you cannot decide
- Locked: Write the escalation note
- Locked: Defence and Detection
- Locked: Check Your Work
- Locked: Clean-up
A SIEM alert is a hypothesis, not a verdict. A tired team that treats every high-severity ticket as a real incident burns out, while one that closes everything as noise misses the breach. You work through five realistic alerts, pivot from each one to the raw events around it, pick one of four verdicts, and write the escalation note that the incident handler needs.
What You'll Learn
- Read an alert queue and decide what to open first
- Pivot from one alert to the events around it in a SIEM export
- Give each alert one of four verdicts and defend it with evidence
- Decide when "insufficient data" is the correct answer
- Write an escalation note that the next analyst can act on without asking you
A SOC analyst lives in the alert queue. Five alerts arrive in 30 minutes. The severity labels do not tell you which one is real. This lab puts you in that seat. You get the alerts and the logs behind them, you pivot, and you decide.
You work as a defender and every command only reads data.
Prerequisites
Read the SOC Operations & SIEM workbook first. It defines the four verdicts (true positive, benign true positive, false positive, insufficient data) that this lab uses in every step.
To run the same pivots in Splunk after this lab, continue with Threat Detection with Splunk.
Lab Setup
Use your own Kali machine (a Kali Linux machine that you own: a virtual machine is fine). You need jq, awk, base64, iconv and column. All are in a default Kali install. If jq is missing, run sudo apt install jq.
A SIEM can export search results as newline-delimited JSON, one event per line. This lab uses three such files: the alert queue, the events behind the alerts, and a short asset list. You create them from the text below, so that every command in this lab works on your machine. All names and addresses are fictional. The network is 10.0.0.0/8.
This is training data. On a real queue, work only with the access your role gives you, and keep any data you export inside the SOC systems.
Step 1: Create the data and read the queue
Load the queue and list what fired
Before you open any alert, read the whole queue. Severity tells you what the rule author feared. It does not tell you what is true.
Create a working folder and the three files.
mkdir -p ~/soc-lab && cd ~/soc-lab
cat > alerts.ndjson <<'EOF'
{"id":"A-101","time":"2026-11-12T09:14:20Z","rule":"Failed logons then success","severity":"high","host":"APP-01","user":"svc_backup"}
{"id":"A-102","time":"2026-11-12T09:20:05Z","rule":"Encoded PowerShell command","severity":"medium","host":"WS-1002","user":"it-admin"}
{"id":"A-103","time":"2026-11-12T09:31:47Z","rule":"User added to Administrators group","severity":"high","host":"DC-01","user":"helpdesk1"}
{"id":"A-104","time":"2026-11-12T09:40:10Z","rule":"Rare external domain","severity":"low","host":"WS-2210","user":"mrivera"}
{"id":"A-105","time":"2026-11-12T09:44:31Z","rule":"Failed logons from one source","severity":"low","host":"APP-01","user":"various"}
EOF
cat > events.ndjson <<'EOF'
{"time":"2026-11-05T02:00:03Z","action":"logon","outcome":"success","user":"svc_backup","ip":"10.0.0.20","host":"APP-01"}
{"time":"2026-11-06T02:00:03Z","action":"logon","outcome":"success","user":"svc_backup","ip":"10.0.0.20","host":"APP-01"}
{"time":"2026-11-07T02:00:04Z","action":"logon","outcome":"success","user":"svc_backup","ip":"10.0.0.20","host":"APP-01"}
{"time":"2026-11-12T09:10:02Z","action":"logon","outcome":"failure","user":"svc_backup","ip":"10.0.0.77","host":"APP-01"}
{"time":"2026-11-12T09:10:06Z","action":"logon","outcome":"failure","user":"svc_backup","ip":"10.0.0.77","host":"APP-01"}
{"time":"2026-11-12T09:10:10Z","action":"logon","outcome":"failure","user":"svc_backup","ip":"10.0.0.77","host":"APP-01"}
{"time":"2026-11-12T09:10:14Z","action":"logon","outcome":"failure","user":"svc_backup","ip":"10.0.0.77","host":"APP-01"}
{"time":"2026-11-12T09:10:18Z","action":"logon","outcome":"failure","user":"svc_backup","ip":"10.0.0.77","host":"APP-01"}
{"time":"2026-11-12T09:14:19Z","action":"logon","outcome":"success","user":"svc_backup","ip":"10.0.0.77","host":"APP-01"}
{"time":"2026-11-12T09:15:02Z","action":"process_start","outcome":"success","user":"svc_backup","ip":"10.0.0.77","host":"APP-01","detail":"whoami.exe"}
{"time":"2026-11-12T09:15:40Z","action":"process_start","outcome":"success","user":"svc_backup","ip":"10.0.0.77","host":"APP-01","detail":"net.exe group \"Domain Admins\" /domain"}
{"time":"2026-11-12T09:17:12Z","action":"logon","outcome":"success","user":"svc_backup","ip":"10.0.0.77","host":"FS-01"}
{"time":"2026-11-12T09:17:50Z","action":"file_read","outcome":"success","user":"svc_backup","ip":"10.0.0.77","host":"FS-01","detail":"smb://FS-01/finance/payroll-2026.xlsx"}
{"time":"2026-11-05T09:19:50Z","action":"process_start","outcome":"success","user":"it-admin","ip":"10.0.1.12","host":"WS-1002","detail":"powershell.exe -enc UwB0AGEAcgB0AC0AUwBsAGUAZQBwAA=="}
{"time":"2026-11-10T09:19:52Z","action":"process_start","outcome":"success","user":"it-admin","ip":"10.0.1.12","host":"WS-1002","detail":"powershell.exe -enc UwB0AGEAcgB0AC0AUwBsAGUAZQBwAA=="}
{"time":"2026-11-12T09:19:55Z","action":"process_start","outcome":"success","user":"it-admin","ip":"10.0.1.12","host":"WS-1002","detail":"powershell.exe -enc UwB0AGEAcgB0AC0AUwBsAGUAZQBwAA=="}
{"time":"2026-11-12T09:31:40Z","action":"group_add","outcome":"success","user":"helpdesk1","ip":"10.0.1.30","host":"DC-01","detail":"group=Print Administrators member=jlee"}
{"time":"2026-11-12T09:40:09Z","action":"dns_query","outcome":"success","user":"mrivera","ip":"10.0.2.55","host":"WS-2210","detail":"cdn-update-check.example.com"}
{"time":"2026-11-12T09:44:00Z","action":"logon","outcome":"failure","user":"alice","ip":"10.0.0.9","host":"APP-01"}
{"time":"2026-11-12T09:44:01Z","action":"logon","outcome":"failure","user":"bob","ip":"10.0.0.9","host":"APP-01"}
{"time":"2026-11-12T09:44:02Z","action":"logon","outcome":"failure","user":"carol","ip":"10.0.0.9","host":"APP-01"}
EOF
cat > assets.csv <<'EOF'
ip,name,role,owner
10.0.0.9,scan01,vulnerability scanner,secops
10.0.0.20,backup01,backup server,infra
10.0.1.12,WS-1002,admin workstation,it
10.0.2.55,WS-2210,user workstation,sales
EOFPrint the queue as a table.
jq -r '[.id,.severity,.rule,.host,.user] | @tsv' alerts.ndjson | column -t -s$'\t'Example output:
A-101 high Failed logons then success APP-01 svc_backup
A-102 medium Encoded PowerShell command WS-1002 it-admin
A-103 high User added to Administrators group DC-01 helpdesk1
A-104 low Rare external domain WS-2210 mrivera
A-105 low Failed logons from one source APP-01 variousLook at A-101 first. A failed-then-success pattern on a service account is the alert where the question "did it succeed?" changes the verdict.
Sign in to continue
10 more sections are for signed-in members. It is free: sign in with Google.
Related
This lab is extra practice for the course Security operations basics. Do the lessons first.Open the course