Skip to content
CyberSimStart training

Theory · 9 min

Anatomy of a detection rule

Read a Sigma rule and name the parts that decide when it fires.

A detection rule is more than a query. It needs a data source, logic, a threshold or condition, the entities it maps (user, host, IP), a severity, and a response note for the analyst who gets the alert.

Sigma is an open, vendor-neutral format for detection rules, written in YAML. A rule has a title and id, a logsource (the product and category, such as windows process_creation), a detection block with named selections and a condition that combines them, a level, and known false positives.

Converters turn Sigma into KQL, SPL and other query languages, so one rule can serve several SIEMs. Field names still need checking against your own data.

The falsepositives section is not decoration. It is the first thing the analyst reads when the alert arrives, and the start of every tuning discussion.

T1059.001T1204.002

Your turn: select the field that proves it. Select the field that decides when this Sigma rule fires.

Do the interactive check Free, in the browser.

Sources

Part of