Skip to content

karansoni8/soc-lab-elastic-sysmon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SOC Detection Lab (Elastic SIEM + Fleet + Sysmon)

Elastic Kibana Sysmon KQL MITRE

I built a small SOC lab that collects endpoint telemetry from Windows using Sysmon, ships it through Elastic Agent + Fleet Server, and generates security alerts using custom detections. I validated detections end-to-end and documented investigation workflow (alert → triage → incident report).

What this demonstrates

  • Telemetry pipeline build: endpoint → Fleet → Elasticsearch → Kibana Security
  • Endpoint visibility with Sysmon (process creation + command line + parent process)
  • Detection engineering (KQL rules + tuning to reduce noise)
  • Alert triage (reading alert fields/JSON, investigation pivots, conclusions)
  • Troubleshooting (logs, ports, services, container lifecycle)

Architecture

See: ARCHITECTURE.md

Diagram (Mermaid)

flowchart LR
  W[Windows 10\nSysmon + Elastic Agent\n10.10.10.3] -->|Enroll / Policy| F[Fleet Server\n10.10.10.2:8220]
  F -->|Ingest| E[Elasticsearch\n10.10.10.2:9200]
  K[Kibana Security\n10.10.10.2:5601] <-->|Search / Visualize| E
  K --> A[Detections + Alerts]
Loading

Detections

MITRE ATT&CK Coverage

Detection Technique ID Tactic Status
Encoded PowerShell Execution T1059.001 Execution ✅ Detected
Local Admin Group Change T1098 Persistence ✅ Detected
Windows Service Created T1543.003 Persistence ✅ Detected (tuned)

View full ATT&CK Navigator layer →

Incident reports

Troubleshooting notes

See: TROUBLESHOOTING.md

Lab notes

This is a lab environment (self-signed certs, --insecure used for enrollment). The focus is detection + investigation workflow rather than production hardening.

What I Learned

  • Telemetry gaps are real — Sysmon without tuning generates enormous noise. Getting signal/noise right took multiple rule iterations.
  • Fleet enrollment is fragile — Certificate trust issues caused silent failures. TROUBLESHOOTING.md documents every fix.
  • KQL scope matters — Scoping rules to specific parent processes cut false positives on the service creation detection by ~80%.
  • Incident writing is a skill — Structured write-ups (timeline → alert fields → pivot → conclusion) are harder than the detection itself.

Skills Demonstrated

Area Details
Telemetry Pipeline Sysmon → Elastic Agent → Fleet → Elasticsearch
Detection Engineering Custom KQL rules, noise tuning, threshold logic
Alert Triage JSON field reading, investigation pivots, MITRE mapping
Incident Reporting Structured INC write-ups with timeline + conclusion
Troubleshooting Port debugging, certificate trust, container lifecycle
Documentation Architecture diagrams, step-by-step writeups

About

SOC detection lab using Elastic SIEM + Fleet + Sysmon with detections, alerts, incident write-ups, and troubleshooting.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors