
Splunk SIEM lab simulating and detecting CVE-2021-34527 (PrintNightmare) exploitation using Sysmon, Windows Event logs, and custom SPL detection rules.
This project documents an end-to-end security monitoring, detection engineering, and incident response implementation targeting PrintNightmare (CVE-2021-34527). PrintNightmare is a critical vulnerability in the Windows Print Spooler service (spoolsv.exe) that permits unauthenticated remote code execution (RCE) and local privilege escalation (LPE) to SYSTEM privileges.
The goal of this lab was to simulate exploitation telemetry, capture kernel and system audit logs via Sysmon and Windows Security Event Logs, ingest events into Splunk Enterprise SIEM, engineer targeted Search Processing Language (SPL) detection rules, and generate a formal Incident Response (IR) report.
mydomain.com)printnightmare-detection-lab/
├── README.md
├── sysmon-config.xml
├── splunk-queries/
│ ├── 01_suspicious_spoolsv_child_process.spl
│ ├── 02_unsigned_dll_loaded_by_spoolsv.spl
│ └── 03_dll_written_to_spool_driver_path.spl
├── screenshots/
│ ├── 01_splunk_data_ingestion.png
│ ├── 02_dashboard_overview.png
│ ├── 03_dashboard_overview.png
│ └── 04_atomic_red_team_execution.png
├── incident-report/
│ └── IR_Report_PrintNightmare.pdf