Sigma
Vendor-neutral detection rule format & converter
Open source. Platform: Cross-platform.
What it is
A vendor-neutral, YAML-based rule format for log detections, with converters that compile rules to many SIEM query languages.
Why it matters
Sigma decouples detection logic from any one SIEM, so a rule written once can run everywhere.
In practice
One Sigma rule for suspicious PowerShell converts cleanly to both Splunk and Elastic queries.
Install
pip install sigma-cli
Commands
- Convert a Sigma rule into a Splunk query for the Sysmon log source
sigma convert -t splunk -p sysmon rule.yml
- Convert an entire directory of rules to Splunk queries at once
sigma convert -t splunk -p sysmon sigma/rules/windows/
- Convert a rule to an Elasticsearch/Kibana detection rule using the ECS Windows pipeline
sigma convert -t lucene -p ecs_windows -f siem_rule rule.yml
- Validate rules for parsing errors and best-practice issues before converting them
sigma check rule.yml
Similar tools
- YARA: Pattern-matching to identify & classify malware