Sigma rule processing and conversion tools
Actively maintained. Last release 6 days ago, commits in 25 of the last 26 weeks. A safe choice.
pip install pysigmapySigma
pySigma is a python library that parses and converts Sigma rules into queries. It is a replacement
for the legacy Sigma toolchain (sigmac) with a much cleaner design and is almost fully tested.
Backends for support of conversion into query languages and processing pipelines for transforming
rule for log data models are separated into dedicated projects to keep pySigma itself slim and
vendor-agnostic. See the Related Projects section below to get an overview.
Getting Started
To start using pySigma, you need Python 3.11 or later. Install it using your python package manager of choice. Examples:
pip install pysigma
pipenv install pysigma
poetry add pysigma
Documentation with some usage examples can be found here.
Create Your Own Backend for pySigma
The creation of a backend has become much easier with pySigma. We recommend using the "Cookie Cutter Template" and reviewing the existing backends listed in the "Related Projects" section of this README.
pySigma Cookie Cutter Template
Features
pySigma brings a number of additional features compared to the all in one sigmac, as well as some changes.
sigma-cli is the equivalent of sigmac for command-line conversion
Modifier
use sigma list modifiers
Backends
use sigma plugin list --plugin-type backend
Overview
Conversion Overview

Pipelines

More details are described in the documentation.