The pySigma PowerShell Backend converts Sigma rules into PowerShell-based queries. It was designed to be used in conjunction with the the Read-WinEvent
filter.
Step 1. After downloading this repository, install this Python-based project using poetry
.
poetry install
Step 2. Next, use the provided PowerShell script to import the Read-WinEvent
filter. You will need to do this everytime you start a new PowerShell session (pro-tip: add this filter to your PowerShell profile).
./scripts/Read-WinEvent.ps1
Step 3 Convert whatever Sigma rules you have to PowerShell queries.
sigma2powershell -r rules/demo.yml
This project is licensed under the terms of the MIT license.