Skip to main content

pySigma Logpoint backend

Project description

pySigma Logpoint Backend

Tests Coverage Badge Status

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.

Rule Support

The Logpoint backend supports the following log sources/rule types:

  • Windows Sysmon
  • Windows
  • Azure
  • M365

Usage example

Sigma CLI

Requirements

  1. To use Sigma CLI (the Sigma Rule Converter) and its underlying library, ensure you have Python version 3.8 or higher installed.
  2. Install dependent pysigma verison 0.11.23. Installing other versions may output errors.
pip3 install pysigma==0.11.23
  1. Install sigma-cli, command line tool for sigma rule conversion
pip3 install sigma-cli
  1. 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

pysigma_backend_logpoint-0.4.0.tar.gz (28.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pysigma_backend_logpoint-0.4.0-py3-none-any.whl (30.2 kB view details)

Uploaded Python 3

File details

Details for the file pysigma_backend_logpoint-0.4.0.tar.gz.

File metadata

  • Download URL: pysigma_backend_logpoint-0.4.0.tar.gz
  • Upload date:
  • Size: 28.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pysigma_backend_logpoint-0.4.0.tar.gz
Algorithm Hash digest
SHA256 72110aa7a1713cffab8e253f855a343b167b45d78434daa822c56673c00d4eeb
MD5 1a410baf02bc7c1484abba583f6fbcb8
BLAKE2b-256 a6ef8cc57d8059816e8d2bf2a8eab69685dedac13c0da684d8be31fe7b9bd4c9

See more details on using hashes here.

File details

Details for the file pysigma_backend_logpoint-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pysigma_backend_logpoint-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 417f292d366559b958d56fb43e764d8f9ab7b40c5a3971b22243f5d345baeae3
MD5 b7079fd9a54f08fd82dffd4feb40b6ff
BLAKE2b-256 237747dfa624b86a64a1845d27704fd871c88ef35528543d7b6efd3736be5de7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page