Seven days switching sides — from attacker to defender. SIEM mastery with Splunk and ELK, deep log analysis, writing detection rules that catch the exact attacks you ran in Phases 2 and 3, Snort/Suricata IDS, incident response lifecycle, and digital forensics fundamentals.
| DAY | TOPIC | WHAT YOU'LL LEARN | KEY TOOLS |
|---|---|---|---|
| Day 43 | SIEM Fundamentals | What a SIEM is and why every enterprise runs one. Splunk vs ELK architecture. Ingesting log sources, index structure, field extraction. Building dashboards. SPL (Search Processing Language) from first principles — search, eval, stats, table, where, rex. Your first detection dashboard for failed logins. | Splunk, ELK Stack, SPL |
| Day 44 | Log Analysis | Windows Security Event IDs that matter (4624, 4625, 4648, 4688, 4698, 4720, 4732, 7045). Linux auth.log, syslog, and /var/log structure. Web server access log analysis. Parsing with grep/awk pipelines. Identifying brute-force, lateral movement, and persistence in raw log data. | Event Viewer, auditd, grep, Splunk |
| Day 45 | Threat Detection | Writing Splunk SPL detection queries for real attacks: port scans, brute-force, Mimikatz (LSASS access), Pass-the-Hash (4624 logon type 3), Kerberoasting (4769), scheduled task creation (4698), new service (7045). Introduction to Sigma rules — vendor-agnostic detection format. Converting Sigma to SPL and Snort. | Splunk SPL, Sigma, sigmac |
| Day 46 | IDS/IPS — Snort & Suricata | Network-based intrusion detection vs host-based. Snort rule syntax deep dive: action, protocol, source, destination, options (content, pcre, threshold, sid, rev). Writing rules to detect Nmap scans, SQL injection, XSS, reverse shells, C2 beaconing. Suricata advantages: multi-threaded, built-in EVE JSON logging, protocol detection. Alert tuning to reduce false positives. | Snort, Suricata, EVE JSON |
| Day 47 | Incident Response | The 6-phase IR lifecycle (Preparation → Identification → Containment → Eradication → Recovery → Lessons Learned). IR playbooks for ransomware, account compromise, and data exfiltration. Triage methodology: what to do in the first 15 minutes of an incident. Chain of custody. Communication with management. Legal considerations. | IR playbooks, Velociraptor, TheHive |
| Day 48 | Digital Forensics I | Forensics methodology and order of volatility. Disk imaging with dd and FTK Imager — bit-for-bit copies preserving evidence. File system structure: MFT, inodes, slack space, deleted file recovery. File carving with foremost/scalpel. Autopsy for graphical forensics analysis. Metadata extraction and timeline creation. | FTK Imager, Autopsy, dd, foremost |
| Day 49 | Digital Forensics II + Review | Memory forensics with Volatility 3: process listing (windows.pslist), network connections (windows.netstat), injected code detection (malfind), extracting strings from process memory, dumping process executables. Volatility plugins for detecting Mimikatz artifacts and hollowed processes. Week 7 capstone: analyze a provided malware-infected memory image and write a one-page forensic report. | Volatility 3, strings, yara |
THEORYLAB Splunk · ELK Stack · SPL · Dashboards · Log Ingestion
Welcome to the Blue Team. Everything you did in Phases 2 and 3 left traces. A SOC analyst's job is to find those traces before the damage is done. A SIEM (Security Information and Event Management) system collects logs from every source across the environment, normalises them, and lets analysts search, alert, and dashboard them. Today you become the analyst hunting your own attacks.
A SIEM has three jobs: collect logs from every device and application, correlate events across sources to detect attack patterns, and alert analysts when something suspicious matches a rule. Think of it as the nervous system of a SOC.
Without a SIEM: an attacker moves laterally across 15 machines, and each machine's local log sees only one hop. With a SIEM: all 15 logs arrive in one place and the full lateral movement chain is visible.
| FEATURE | SPLUNK | ELK STACK |
|---|---|---|
| Cost | Commercial ($) | Free (open source) |
| Ease of use | Excellent GUI | Steeper learning curve |
| Query language | SPL | KQL / Lucene |
| Industry use | Enterprise standard | Growing rapidly |
| Student access | Free (500MB/day) | Fully free |
| Start with | Both — different jobs use different tools | |
SPL reads left to right like a pipeline. Each command takes the results of the previous command as input. Search → transform → display. Once you understand the pipeline model, any SPL query becomes readable.
Elasticsearch stores and indexes logs. Logstash (or Beats agents) collects and ships logs from endpoints. Kibana is the web UI for searching, dashboarding, and alerting. Combined they replicate most of Splunk's functionality for free.
index=windows_logs EventCode=4625 | stats count by src_ip | sort -count | head 10. It returns 192.168.1.50 = 3,847 failures in the last hour. What does this almost certainly indicate, and what is your immediate next step as a SOC analyst?THEORYLAB Windows Event IDs · Linux Auth Logs · Web Logs · Parsing Pipelines
Logs are the attacker's footprints. Every command run, every login attempted, every file opened — all of it leaves entries in log files. The challenge isn't finding the footprints. It's knowing which logs to look at, which fields matter, and what normal looks like so that abnormal stands out instantly.
Reading this chain: 4625 (failed login from 10.10.10.50) → 4624 (success 35s later from same IP, NTLM auth) → 7045 (random service name = PSExec) → 4688 (SYSTEM running cmd.exe with output redirection = PSExec command). This is a complete lateral movement event chain. Every single step is detectable — but only if you're looking.
john.smith), with Ticket Encryption Type: 0x17 for hundreds of different SPNs. What attack does this indicate and what does 0x17 specifically tell you?TOOLLAB SPL Detection Queries · Sigma Rules · MITRE ATT&CK Detection · Alert Tuning
Detection is the blue team's exploitation. Just as a pentester uses known attack patterns to compromise systems, a defender writes detection rules that catch those same patterns. Today you write the exact Splunk queries and Sigma rules that would have caught every attack you ran in Phases 2 and 3. This is the most direct form of purple teaming.
Sigma is a generic signature format for SIEM systems — write a rule once, convert to SPL, KQL, Lucene, QRadar, or any SIEM's query language. It's the YARA for log detection. The community Sigma repository (github.com/SigmaHQ/sigma) has 3,000+ pre-built rules you can deploy immediately.
TOOLLAB Snort Rules · Suricata · Alert Tuning · Network Detection
Network-based detection catches what host logs miss. An attacker who clears Windows Event Logs leaves network evidence. Snort and Suricata sit on the wire and inspect every packet — they see the port scan, the SQL injection payload, and the reverse shell connection whether or not the target machine keeps any logs.
| FEATURE | SNORT 3 | SURICATA |
|---|---|---|
| Threading | Single-threaded | Multi-threaded — handles 10Gbps+ |
| Protocol detection | Basic | Deep protocol awareness — HTTP/2, TLS, DNS, SSH |
| Output format | Alert log | EVE JSON — structured, SIEM-ready |
| Lua scripting | Limited | Full Lua for complex detection logic |
| File extraction | No | Yes — extract files from network streams |
| Rule compatibility | Snort rules | Compatible with Snort rules + own extensions |
| Industry trend | Established | Preferred for new deployments |
UNION SELECT strings. An attacker switches to sending UN/**/ION SEL/**/ECT (SQL comment injection). Your rule stops firing. What is the correct approach to make the rule robust against this evasion?THEORYLAB IR Lifecycle · Playbooks · Triage · Containment · Communication
Incident Response is what happens when detection finds something real. The average dwell time for a threat actor in a network before detection is 16 days. Every hour of slow IR means more data exfiltrated, more systems compromised, more damage done. A practised IR process turns a potential catastrophe into a controlled recovery.
THEORYLAB Disk Imaging · File Carving · Autopsy · Timeline · MFT Analysis
Digital forensics answers the question: what exactly happened? After containment, forensics builds the complete picture — what files were accessed, what commands were run, what data was exfiltrated, and exactly when every action occurred. This evidence supports legal proceedings, insurance claims, and regulatory breach notifications.
Volatile data disappears when the system is powered off. Non-volatile data persists. Always collect in this order — never power off a live system before capturing volatile evidence.
| ORDER | DATA TYPE | PERSISTENCE | HOW TO CAPTURE |
|---|---|---|---|
| 1 | CPU registers / cache | Lost instantly on shutdown | Memory dump tools (WinPmem, LiME) — rarely needed |
| 2 | RAM / Physical Memory | Lost on shutdown | WinPmem (Windows), LiME kernel module (Linux), RAM dump via hypervisor |
| 3 | Network connections | Changes constantly | netstat -an, ss -tulpn, captured immediately |
| 4 | Running processes | Changes constantly | tasklist /v, ps aux, process dump with procdump |
| 5 | Open files / handles | Changes with processes | handle.exe (Sysinternals), lsof |
| 6 | Disk / File system | Persists after shutdown | FTK Imager, dd, dcfldd — bit-for-bit forensic image |
| 7 | Logs and event data | Persists (can be deleted) | Export before any remediation activity |
| 8 | Backup / archive | Most persistent | Check backup integrity — attackers corrupt backups |
Autopsy (sleuthkit.org) is a free, open-source forensic analysis platform — the same underlying technology used by law enforcement worldwide. It parses disk images and presents an organised view of the file system, deleted files, browser history, email, and timeline.
TOOLLAB Volatility 3 · Memory Analysis · Malware Artifacts · YARA · Capstone
Memory forensics finds what disk forensics misses. Fileless malware never touches disk. Process injection leaves no file. Encryption keys exist only in RAM. Volatility extracts this from a memory dump — revealing running malicious processes, injected shellcode, network connections, and cryptographic material that disk analysis can never surface.
| DAY | SKILL | KEY CAPABILITY | TOOL |
|---|---|---|---|
| 43 | SIEM Fundamentals | SPL pipelines, log ingestion, dashboards, KQL | Splunk, ELK |
| 44 | Log Analysis | 9 critical Windows Event IDs, Linux auth log pipelines, lateral movement event chains | Event Viewer, grep/awk |
| 45 | Threat Detection | SPL detection for Mimikatz/PtH/Kerberoasting/PowerShell; Sigma rules and conversion | Splunk SPL, Sigma, sigmac |
| 46 | IDS/IPS | Snort rule writing, Suricata EVE JSON, tuning for evasion | Snort, Suricata |
| 47 | Incident Response | 6-phase IR lifecycle, ransomware 15-minute triage, communication chain | IR playbooks, TheHive |
| 48 | Digital Forensics I | Order of volatility, dd/FTK Imager, Autopsy, timeline analysis, file carving | FTK Imager, Autopsy, dd |
| 49 | Digital Forensics II | Volatility 3 plugins, malfind process injection, YARA rule writing, memory-based IOCs | Volatility 3, YARA |
Week 7 Readiness Check: Before Week 8, verify you can: (1) Write an SPL query to detect brute-force and pivot to check if any succeeded. (2) Explain what Windows Event IDs 4625, 4688, 4698, and 4769 indicate and write a detection query for each. (3) Write a Sigma rule for a specific attack technique and convert it to SPL. (4) Walk through the 6-phase IR lifecycle from memory for a ransomware scenario. (5) Take a disk image with dd, verify the hash, and open it in Autopsy. (6) Run at least 3 Volatility plugins against a memory dump and interpret the output.