Cyberlium

SOC › Module 3 › Lesson 4

BeginnerModule 3Lesson 4/5

Lab — SIEM

Pack pipeline, vendor, and query cards — SIEM literacy file from $SOC_LAB only.

25 min+40 XP3 quiz
Module progress4 of 5

Visual · t29_siem_lab

Lab: SIEM pack. $SOC_LAB only. Original Cyberlium.

Opening

SIEM pack merges pipeline to vendors to queries — paperwork before log sources module.

Lessons 3-1–3-3 named SIEM pipeline, Splunk/Elastic vocabulary, and query patterns. This lab merges three cards with optional jq output from YOUR $SOC_LAB auth sample. Optional: run jq count on failed auth in lab JSON — log command and UTC only; no stranger cluster. Next: Quiz — SIEM Literacy.

1. Lab contract: SIEM pack

Create $HOME/cyberlium-lab/t29-m03-l04-siem-lab.txt merging pipeline, vendor, and query sections with $SOC_LAB file paths and M1 ethics cross-reference.

Optional: paste redacted jq one-liner output — no real usernames from production exports.

Command guide

Try these commands — Lab contract: SIEM pack

═══ TOOLS & WEBSITES ═══ Browse / read these (authorized learning only — stay in YOUR lab / program scope)

Elastic detection rules — https://www.elastic.co/guide/en/security/current/prebuilt-rules.html MITRE T1110.001 — https://attack.mitre.org/techniques/T1110/001/ Sigma — https://github.com/SigmaHQ/sigma

═══ INSTALL ═══

Linux (Debian/Ubuntu):

Command — copy this

sudo apt install jq

macOS:

Command — copy this

brew install jq

Windows:

Command — copy this

choco install jq

═══ LINUX / macOS ═══

Command — copy this

export SOC_LAB=${SOC_LAB:-$HOME/cyberlium-lab/t29-soc}
cat > "$SOC_LAB/notes/siem-query-cheatsheet.txt" <<'EOF'
YOUR lab jq queries (mimics SIEM thinking):
  failed logons:     jq -c 'select(.event_id==4625)' logs/auth.jsonl
  by src_ip count:   jq ... | sort | uniq -c
  rare external IP:  jq 'select(.src_ip|startswith("203."))' logs/auth.jsonl
SPL equivalent literacy: index=win EventCode=4625 | stats count by src_ip
never: run hydra/brute — detect pattern in YOUR seeded logs only
EOF

Command — copy this

jq -c 'select(.src_ip|startswith("203."))' "$SOC_LAB/logs/auth.jsonl"
grep -E 'failed logons|never' "$SOC_LAB/notes/siem-query-cheatsheet.txt"

═══ WINDOWS ═══

Command — copy this

Get-Content $HOME/cyberlium-lab/t29-soc/logs/auth.jsonl | Select-String '"result":"failure"'
Write-Output 'Filter YOUR auth.jsonl — detection literacy only, no brute-force tools'

Primary tools to practice this lesson: jq, grep. Reference sites: Elastic detection rules (https://www.elastic.co/guide/en/security/current/prebuilt-rules.html); MITRE T1110.001 (https://attack.mitre.org/techniques/T1110/001/); Sigma (https://github.com/SigmaHQ/sigma). Run every command in the box — install first, then the usage lines — only on YOUR lab / program scope.

2. Cross-check ethics

Grep for Splunk token, Elastic API key, production index names — remove. Pack must label all queries as $SOC_LAB conceptual only.

Confirm time-bound language appears in every query example.

3. Lock the proof

chmod 600 on the pack. Quiz next — then Windows Auth Logs.

SIEM literacy feeds log-source lessons in M4.

4. What you ship: SIEM literacy pack for $SOC_LAB

Merged pipeline, vendor, query sections. $SOC_LAB named. NO stranger cluster. chmod 600.

5. What you record before the next lesson

Date. SIEM pack path. $SOC_LAB named. File t29-m03-l04-siem-lab.txt chmod 600.

6. Wrong vs right: stranger SIEM vs YOUR sample logs

Worked failure — same MSF word, opposite target. Right never needs a café Wi-Fi or classmate laptop.

  • Wrong

    Include production Splunk index name in pack. Skip query intent section.

  • Right

    Write YOUR SIEM literacy pack for $SOC_LAB. chmod 600. Next: Quiz — SIEM Literacy.

Mission: freeze YOUR SIEM literacy pack

1) Merge M3 literacy sections. 2) Confirm zero production tenant refs. 3) Link M1 ethics cross-ref. 4) chmod 600.

Stuck? Ask Cyberlium AI Mentor

Delete any accidental API key from pack before quiz — rotate if unsure.

Knowledge Check

1

APPLY: This lab requires:

Multiple choice

Knowledge Check

2

APPLY: True or False: SIEM pack must include time-bound query examples.

True or False

Knowledge Check

3

APPLY: jq in SIEM pack is:

Multiple choice

← Previous

Answer all 3 knowledge checks to continue. (0/3 answered)