soc-home-lab

👉 New here? Read START_HERE.md first. It explains what this repo is, gives you a path to follow (new to SOC / practicing detection / prepping for interviews), and has one table of every case with its CVE/KEV status, skills, contents, and the command to verify its detection.

Hands-on cybersecurity lab projects: a mini-SOC on AWS, a Python IOC analyzer, a phishing analysis lab, binary triage, agent skills, a VS Code supply-chain defense lab, KEV-driven threat-hunting packs, and a Node-RED misconfiguration flow-audit lab. Built to demonstrate verifiable, practical security skills.

đź”— https://github.com/szzxli/soc-home-lab

KEV labs

Where to start

No AWS account needed to start. Pick the path that matches you — each is a short sequence, not the whole repo.

Path 1 — Start here, no AWS needed (browser only):

  1. ▶ Try the live demo — the CloudTrail IOC analyzer in your browser: a detection report on a sample log in about 10 seconds, nothing to install, nothing leaves the page.
  2. ▶ Try the Sigma playground — run the shipped Sigma rules on synthetic samples in your browser and copy a link that restores the same run.
  3. Lab 03: phishing email triage — work through a reconstructed training phish: header forensics, SPF/DKIM/DMARC, URL analysis. No setup.
  4. Then run lab 02 itself with Python (Path 2 below).

Path 2 — Practicing detection (Python, local only):

git clone https://github.com/szzxli/soc-home-lab.git
cd soc-home-lab/02-python-ioc-analyzer
pip install -r requirements.txt
python ioc_analyzer.py --input sample_data/sample_cloudtrail.json --output report.md

Then pick a noisy KEV pack and write your own detection before comparing with the reference script.

Path 3 — AWS mini-SOC (optional):

Lab 01: mini-soc is the only lab that needs your own AWS account, and it costs money — see Cost & cleanup. Optional: do it after Paths 1–2, or skip it.

Browse the full lab site: Project site

ATT&CK Navigator layer: Open the cited-technique layer — lab coverage only, built only from technique IDs already cited in shipped artifacts.

📊 Skills quantified: these projects are graded against a public rubric and mapped to the NIST NICE framework in the companion repo szzxli/soc-skills — including a one-page HR-readable skill profile.

All datasets, log samples, and email artifacts in this repo are synthetic training samples — clearly labeled as such. No real incidents, real logs, or real phishing emails are presented here.

What this is / isn’t: beginner-to-intermediate SOC practice on synthetic data (clean samples plus noisy variants with honest TP/FP numbers). It isn’t proof of job readiness and isn’t real SOC volume.

What’s different here: KEV-driven, with every CVE / KEV claim re-verified weekly against the official CISA feed (tools/verify_kev.py, workflow) · the demo runs in your browser · pairs with the soc-skills gap analysis.

Projects

01 — mini-soc

Problem: SOC analysts need to know how cloud detections actually fire — not just theory. What it is: A minimal AWS detection stack (VPC → CloudTrail → S3 → GuardDuty → SecurityHub), three adversary-emulation scenarios using Stratus Red Team (verified technique IDs), a triage guide, and blank incident report templates. Skills: CloudTrail analysis, GuardDuty triage, incident response workflow, Terraform IaC.

02 — python-ioc-analyzer

Problem: Tier-1 analysts drown in raw CloudTrail logs; simple heuristics catch the obvious badness fast. What it is: A working CLI tool that parses CloudTrail JSON, flags anomalous logins / failed-login spikes / risky IAM changes, enriches IPs via AbuseIPDB, and emits a Markdown report. Ships with synthetic sample data and passing pytest suite. Skills: Python scripting, log analysis, IOC enrichment, detection heuristics.

03 — phishing-analysis-lab

Problem: Phishing triage is daily Tier-1 SOC work — header forensics, auth-result interpretation, URL deobfuscation. What it is: A full walkthrough of a reconstructed training-sample phish, a header-analysis cheatsheet, a blank analysis report template, and a self-test guide using GoPhish (own mailbox only). Skills: Email header forensics, SPF/DKIM/DMARC, URL analysis, phishing triage.

04 — rea-triage

Problem: Agent-facing reverse-engineering CLIs expose dozens of granular subcommands and machine-oriented JSON — powerful, but not human-friendly for quick triage. What it is: A one-command ELF binary triage CLI (triage.py <binary>): section-entropy packing heuristics, W^X detection, suspicious-import watchlist, string IOC extraction, score-based verdict (benign/suspicious/malicious), and a one-page analyst report. Optional third-party inspect-binary-layout enrichment when a provider is configured; degrades honestly without it. Skills: Static binary analysis, ELF internals, malware triage heuristics, detection engineering.

05 — soc-skills

Problem: General-purpose agent skill packs don’t cover SOC work. What it is: Nine agent skills for the Tier-1 analyst loop, distilled from working SOC practice in this repo: alert-triage, incident-report, cloudtrail-ioc, phishing-analysis, binary-triage, detection-engineering, yaral-detection, sigma-rule-pack, intent-drift-ledger. Each skill declares its trigger, workflow, output contract, and honesty boundaries. MIT licensed, copy-paste installable into any agent’s skills directory. intent-drift-ledger (log-only trial, 2026-11-23) scores a recorded agent session against the user’s original request, one ledger row per call, and shows where the session started drifting — per-call blocking cannot see that trend, and no existing tool records it. Skills: Detection triage, incident documentation, knowledge distillation into agent skills.

06 — ghostaction-supply-chain

Problem: Supply-chain attacks now target the developer’s own workbench — a malicious .vscode/tasks.json can execute code the moment a project folder is opened, and a cron-based backdoor survives deleting the repo files. What it is: A safe, hands-on supply-chain defense lab built around the GhostAction technique (October 2026): inert training samples that demonstrate the mechanism with zero malicious behavior, a hunt checklist for the two persistence points (workspace tasks + cron), four exercises, and a blank incident report template. Skills: Supply-chain threat modeling, static review of editor configs, persistence hunting (cron/systemd), incident documentation.

07 — kev-hunting

Problem: CISA KEV entries come with a federal deadline, but your network doesn’t patch itself — the gap between “KEV published” and “patch deployed” is the hunting window. What it is: Threat-hunting packs built from the October 2026 CISA KEV additions and same-week in-the-wild cases. Every pack starts with its KEV status, a Sources line (CISA KEV, NVD, vendor advisory where one is cited) and the date it was last checked; KEV status last verified 2026-12-04 (catalog version 2026.12.03), re-checked weekly. Each pack has a hunt checklist; each also has a synthetic log and a reference detection script — eleven in this repo under 07-kev-hunting/detect/ (with tests in 07-kev-hunting/tests/), the rest in the companion repo soc-skills. Per-case details and verify commands are in START_HERE.md.

This week: KEV this week lists the newest catalog entries and which ones already have a hunt pack here.

Skills: Threat-intel consumption, IOC extraction, log hunting, detection engineering, incident documentation.

08 — nodered-flow-audit

Problem: Node-RED’s admin API deploys flows that can run operating-system commands. With adminAuth left off, that API is unauthenticated. CVE-2026-58115 is that missing-auth condition as published for Siemens SIMATIC IoT2050 (SSA-834709). It is not in CISA KEV. What it is: A detection-only lab, separate from the KEV packs. Start the official Node-RED image with adminAuth off, deploy a benign inject→exec marker flow (id and echo into /tmp and /dev/shm), then hunt with a flows.json audit, a proxy POST /flows log, and Sigma- and Suricata-style rules. Siemens hardware is not required. VulnCheck’s own KEV lists CVE-2026-58115; that catalog is not CISA KEV. Re-checked against the CISA feed on 2026-11-09 (catalog version 2026.11.09). Skills: Misconfiguration hunting, flow review, web-log detection, Sigma / Suricata.

09 — pcap-forensics

Problem: SOC analysts are handed packet captures and expected to find the attack in them, but most labs start with “open Wireshark and look around” — which teaches clicking, not reading packets. What it is: A from-scratch packet parser and hunt script (stdlib Python only, 233 lines), two synthetic pcaps (malicious + benign, generated deterministically), and a pytest suite pinning the exact finding set: SYN scan, long-label DNS queries, scripted-UA HTTP request, regular-interval beacon. Validated TP=6 FP=0 on the synthetic data. Skills: Packet parsing, protocol decoding, detection engineering, evidence handling (packet numbers as citations).

Go deeper (free, complementary)

This kit is small on purpose. For real attack telemetry, bigger datasets and graded challenges: Atomic Red Team · Splunk Boss of the SOC · CyberDefenders · LetsDefend · Blue Team Labs Online.

Resume bullets (copy-ready)

Skills matrix

SOC Analyst JD keyword Covered in
SIEM / log analysis 01 (CloudTrail, GuardDuty), 02 (log parsing)
Incident response & triage 01 (triage guide, IR templates), 06 + 07 (IR report templates)
Threat detection / IOCs 02 (heuristics, AbuseIPDB enrichment), 03 (IOC extraction), 07 (hunt checklists + detection scripts), 08 (Node-RED flow audit), 09 (packet hunt)
Phishing analysis 03 (full walkthrough + cheatsheet)
Cloud security (AWS) 01 (VPC, IAM, S3, GuardDuty, SecurityHub)
Scripting / automation (Python) 02 (CLI tool + tests)
IaC (Terraform) 01 (terraform/main.tf)
Documentation & reporting 01 + 03 (templates, write-ups)

Cost & cleanup

Privacy

Privacy: we count anonymous page views with GoatCounter — no cookies, no personal data, no consent banner needed. Your content never goes to the counter: anything you type, paste or upload stays in your browser (except requests you start yourself, such as an AI-grading or lookup call to a provider you choose). Exactly what is sent is documented at the top of the site’s analytics.js.