pySigma Logpoint backend
Project description
pySigma Logpoint Backend
Overview
This is the Logpoint backend for pySigma. It provides the package sigma.backends.logpoint with the Logpoint class.
Further, it contains the processing pipieline sigma.pipelines.logpoint, which performs field mapping and error handling.
The sigma.pipelines.logpoint module includes the following processing pipelines:
logpoint_windows: This pipeline is designed to convert Sigma rules into queries specifically tailored for the Windows event logging format used by Logpoint.logpoint_azure: This pipeline is designed to convert Sigma rules into queries specifically tailored for the Azure event logging format used by Logpointlogpoint_o365: This pipeline is designed to convert Sigma rules into queries specifically tailored for the Office 365 event logging format used by Logpointlogpoint_defer_contains: This pipeline defer the Sigmacontainskeyword into eval expression. Useful when default query can't fetch the events and results in search timeout due to large number of wildcard searches. This optional pipeline can be used with in addition to other logpoint pipelines.
Rule Support
The Logpoint backend supports the following log sources/rule types:
- Windows Sysmon
- Windows
- Azure
- M365
Usage example
SigConverter (Sigma Rule Converter)
- Open sigconverter: sigconverter.io
- In Backend, select
logpoint. - In Pipeline, choose the Logpoint pipeline that matches your data source:
logpoint_windowslogpoint_azurelogpoint_o365
- (Optional) Add
logpoint_defer_containsin addition to one of the pipelines above to defer Sigmacontainsinto an eval expression. This can help reduce wildcard-heavy searches that may lead to timeouts. - Paste your Sigma rule into the editor (e.g.,
rule.yml). - The converted Logpoint query will appear in the output panel—copy it as needed.
Sigma CLI
Requirements
- To use Sigma CLI (the Sigma Rule Converter) and its underlying library, ensure you have Python version 3.10 or higher installed.
- Install dependent pysigma.
pip3 install pysigma
- Install sigma-cli, command line tool for sigma rule conversion
pip3 install sigma-cli
- After installing Sigma CLI, you need to add the Logpoint backend plugin. Choose one of the following methods:
sigma plugin install logpoint
OR
pip3 install pysigma-backend-logpoint
Converting Sigma Rules
Once the packages are successfully installed, you can convert Sigma rules into Logpoint queries using the command below. For example, to convert the Suspicious Process Masquerading As SvcHost.EXE
sigma convert -t logpoint -p logpoint_windows rules/windows/process_creation/proc_creation_win_svchost_masqueraded_execution.yml
Output
╭─ubuntu@ubuntu
╰─$ sigma convert -t logpoint -p logpoint_windows rules/windows/process_creation/proc_creation_win_svchost_masqueraded_execution.yml
Parsing Sigma rules [####################################] 100%
label="Create" label="Process" "process"="*\svchost.exe" - ("process" IN ["C:\Windows\System32\svchost.exe", "C:\Windows\SysWOW64\svchost.exe"] OR file="svchost.exe")
Limitations and Constraints
This backend is in its preliminary stage, which means there may be issues with query conversion from uncommon log types and it does not yet support conversion from all log sources covered by Sigma. Attempting to convert such rule types may result in an error.
This backend is currently maintained by Logpoint, with contributions from the following individuals:
Report Issues
If you encounter any issues, please don't hesitate to open a new issue.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pysigma_backend_logpoint-1.0.1.tar.gz.
File metadata
- Download URL: pysigma_backend_logpoint-1.0.1.tar.gz
- Upload date:
- Size: 31.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ddf48af3f2d92af8033e11759e46ebb77ba1d307b899669b138596d91faa571
|
|
| MD5 |
cda0b397f2eb50cef1bf08fbfdd8a1c4
|
|
| BLAKE2b-256 |
dfaab1f9ff72c11217d66f6ae0f4412fe3ae9c9ab7411a943c9e6814ddb2bc1b
|
File details
Details for the file pysigma_backend_logpoint-1.0.1-py3-none-any.whl.
File metadata
- Download URL: pysigma_backend_logpoint-1.0.1-py3-none-any.whl
- Upload date:
- Size: 33.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2fa129f7ab059cdb91d47c3f8b997bea813417eb5e7f8f624f2fa0755827490c
|
|
| MD5 |
71565859daa33d19e80b9ed8b592961a
|
|
| BLAKE2b-256 |
f27113d760a5ee4a78661861aaa488cadf966e1d74e8839d50d168a1b2c7b94a
|