Sigma Rule
A vendor-agnostic rule format for writing log-based detection logic.
What it is
Sigma is an open, generic signature format for describing detection logic against log events in a structured, YAML-based syntax, independent of any specific SIEM's query language. Rules are converted to a target platform's native query at deployment time.
Why it matters
It lets analysts write and share one detection once and translate it across many SIEMs, the same way YARA standardized malware-pattern matching for files. A shared community rule set (SigmaHQ) means defenders aren't reinventing detections their peers already published.
In practice
A published Sigma rule for a new living-off-the-land technique gets converted to the house SIEM's query language and deployed the same day it's released.
What to look for
- A logsource block that matches your data.
- Field names mapped correctly to your SIEM.
- Conditions tested against real events.
Common mistake
Converting rules without checking field mappings. A rule that converts cleanly can still match nothing.
Use it in CyberKit
- Rule Tester
Write a Sigma or YARA rule and test it against samples, or read a Suricata rule back in plain English.
- Rule Range
Write a regex, a Sigma rule, a YARA rule and a query pipeline, each graded live against samples, some of which you never see.
In the field
Well-known tools where this shows up on the job. They are listed to show the landscape, not as a recommendation.
-
Sigma Open source
A vendor neutral rule format that converts into queries for most SIEMs. Our notes.
-
YARA Open source
Matches byte and string patterns in files or memory, the standard for malware rules. Our notes.
-
Suricata Open source
Runs network rules against live traffic or captures and logs every match. Our notes.
-
Splunk Enterprise Security Commercial
Where many teams run, tune and schedule detection searches in production.
Read next
- Detection Rule: Logic that defines the conditions under which an alert fires.
- Detection as Code: Managing detections in version control with testing and CI like software.
- YARA: A pattern-matching rule language to classify malware.