Cybersecurity-Mastery

Defensive Security — Track

Building, running and improving the blue team: telemetry, detection, response and hunting.

Your progress in this track

Set up the lab environment below once, then work the lessons — each one is hands-on-first.

Lab Environment

Set up once, then use it for every chapter in the Defensive Security part. Everything runs locally and isolated — you never touch a system you don't own.

A blue-team stack: ship logs into a SIEM, generate attacker telemetry, and write detections. Wazuh gives you agent telemetry, rules and a dashboard in one container set.

What you get

TargetHow to reach it
Wazuh dashboardhttps://localhost:5601 (or :443) — SIEM/XDR UI, rules, alerts
victim host + agentgenerates the telemetry you hunt over

Provision it — save this as docker-compose.yml and run docker compose up -d (or import the equivalent spec into CyberForge):

yaml
# blue-lab/docker-compose.yml  —  Defensive part environment
# Wazuh ships an official single-node compose. Pull it and bring it up:
#   git clone https://github.com/wazuh/wazuh-docker -b v4.x
#   cd wazuh-docker/single-node && docker compose up -d
# Then add a target that generates events:
services:
  victim:
    image: ubuntu:22.04
    container_name: blue-victim
    command: sleep infinity
    networks: [labnet]
  # (install the Wazuh agent in 'victim', or run Sysmon on a Windows VM,
  #  then run Atomic Red Team tests to generate detections.)

networks:
  labnet:
    driver: bridge

Attacker box. Generate telemetry with Atomic Red Team (Invoke-AtomicTest) or manual technique execution on the victim, then hunt in Wazuh/Kibana and author Sigma rules. Zeek/Suricata on a span port give you network detections.

Verify it works

  • Wazuh dashboard loads and the agent on victim reports as active.
  • An Atomic test (e.g. T1059) produces a matching alert.

Notes

  • Wazuh single-node needs ~4 GB RAM. ELK (Elasticsearch+Kibana+Filebeat) is an alternative stack if you prefer raw log hunting.

Teardown. docker compose down stops it; add -v to also drop volumes. Snapshot before big changes so you can revert.

Safety. Keep intentionally-vulnerable targets on an isolated/internal network. Never expose them to the internet or attack anything outside this lab.

Lessons

#LessonDifficultyHands-onWhat you'll do
1Defensive Security Methodology🟢 Beginner~36mDefence in depth, the SOC operating model, detection maturity and the OODA loop.
2Security Operations Center🟢 Beginner~60mTiers, roles, runbooks, metrics, shift handover and alert-fatigue management.
3SIEM🟡 Intermediate~72mLog pipelines, normalisation, correlation, use-case development and content tuning.
4Intrusion Detection Systems🟡 Intermediate~48mSignature vs anomaly detection, sensor placement, tuning and evasion awareness.
5Intrusion Prevention Systems🟡 Intermediate~36mInline enforcement, fail-open/closed, false-positive risk and change control.
6Endpoint Detection and Response🟠 Advanced~72mSensor telemetry, behavioural detection, response actions and tamper resistance.
7Extended Detection and Response🟡 Intermediate~36mCross-domain correlation, data fabric design and the promise and limits of XDR.
8Threat Hunting🟠 Advanced~72mHypothesis-driven hunts, the pyramid of pain, MITRE-aligned queries and hunt reporting.
9Threat Intelligence🟡 Intermediate~60mIntel lifecycle, strategic/operational/tactical intel, feeds and the diamond model.
10Incident Response🟠 Advanced~84mPICERL lifecycle, containment strategy, evidence handling and post-incident review.
11Detection Engineering🟠 Advanced~84mDetection as code, the detection lifecycle, testing, and reducing false positives.
12Log Analysis🟡 Intermediate~60mSources, parsing, enrichment, and pivoting across logs to reconstruct activity.
13Digital Forensics Fundamentals🟡 Intermediate~60mOrder of volatility, chain of custody, imaging and forensic soundness.
14Memory Forensics🟠 Advanced~72mAcquisition, Volatility 3 workflows, process/handle analysis and malware in RAM.
15Disk Forensics🟠 Advanced~72mFile systems, deleted-file recovery, timelines, artefacts and carving.
16Email Analysis🟡 Intermediate~36mHeader forensics, authentication results, phishing triage and attachment handling.
17Network Forensics🟠 Advanced~60mFull-packet and flow analysis, protocol reconstruction and beacon detection.
18YARA🟡 Intermediate~48mRule syntax, strings and conditions, performance, and building a maintainable ruleset.
19Sigma🟡 Intermediate~48mGeneric detection rules, the taxonomy, backends and converting to SIEM queries.
20Purple Teaming🟠 Advanced~48mAdversary emulation with Atomic Red Team, detection validation and feedback loops.
21Security Monitoring Architecture🟡 Intermediate~48mVisibility mapping, log source coverage, retention and the MITRE DeTT&CT approach.
22Vulnerability Management🟡 Intermediate~60mAsset inventory, scanning cadence, risk scoring, SLAs and remediation workflows.

22 lessons.

← Repository home · Full contents · Labs campaign

Cybersecurity-Mastery — interactive security learning · runs locally