How I test

One rule that doesn’t parse or one outdated ATT&CK ID is enough to cast doubt on everything else. Here is what gets checked before publishing, and above all what doesn’t.

Sigma rules

Every rule goes through sigma check (pySigma) with no errors and no validation issues, then through sigma convert to KQL and Splunk to make sure it translates. The rules from the posts are also downloadable as .yml.

KQL queries

Every KQL block is run through Microsoft’s official parser, against the schema of the tables it uses: syntax, tables, columns and types. That proves the query is valid, not that it returns the right results in your environment.

SPL queries

There is no SPL parser available outside a Splunk instance. Fields and sourcetypes are checked against the Splunk documentation, and the post says so.

Regular expressions

Tested against a list of lines that must match, and another that must not.

MITRE ATT&CK

IDs are checked against the current ATT&CK version, never from memory. The site actually refuses to build if a post cites an ID that doesn’t exist in the bundled ATT&CK data. The coverage page lists the techniques covered.

Commands, output and screenshots

Commands and scripts in a post are run, and the output shown is their real output. Event IDs and Windows behaviours are checked against Microsoft or Sysinternals documentation. Every technical post ends with the references actually consulted.

Data

No customer data or internal information. Examples use generic values: IP ranges reserved for documentation (192.0.2.0/24…), example.com or contoso.com domains, fictitious accounts and hosts.

What this doesn’t guarantee

A valid rule isn’t a rule tuned for your estate. Field names, enabled logging and background noise vary from one environment to the next. Test before deploying, and read the false positives section of the post.

Found a mistake, or a rule that doesn’t work for you? Email me: chabnco@gmail.com.