Testing Sigma rules like code
A detection rule is code: it has bugs, it regresses, and it deserves tests. Applied to the rules on this blog, replayed against nearly 200,000 public events.
A detection rule is code: it has bugs, it regresses, and it deserves tests. Applied to the rules on this blog, replayed against nearly 200,000 public events.
Replaying a remote scheduled task creation from a public dataset: which events land on which host, why the "task in the root folder" heuristic falls short, and two tested Sigma rules.
Create a privileged pod in a cluster and the audit log writes one line. Depending on the level, that line says a pod was created, or that it was privileged. A lab with kube-apiserver and three Sigma rules tested against real events.
SIEM, EDR, SOAR, TIP: every tool in a SOC answers one specific question during an investigation. A map of SOC tooling as seen from the alert queue, plus the actual state of the open source options for a home lab.
Disabling the Windows event log leaves a different trail depending on how it’s done. Eight public simulations, six log sources, two Sigma rules tested against 424,348 events, and a query to catch the silence itself.
A rule looking for "-encodedcommand" misses most of the variants. Tested on pwsh 7.6, with a validated Sigma rule, measured false positives and a triage routine.