Skip to content
Proyectos

Acerca de

Herramienta de detección independiente basada en SIGMA para registros de EVTX, Auditd y Sysmon for Linux

Seguridad y privacidad

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
+3
in 7 days
+5
in 15 days
+9
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

Zircolite

Standalone Sigma-based detection for EVTX, Auditd, Sysmon for Linux, XML, CSV and JSON logs

python version

Zircolite runs Sigma rules over your logs. It flattens events into SQLite, turns each rule into an SQL query and reports what matches, offline, in one command.

A Zircolite run in a terminal: the banner, the rules loading, a table of twelve high-severity detections, the run summary and the ATT&CK coverage

  • Many log formats, detected automatically: Windows EVTX (binary, XML, JSON), Auditd, Sysmon for Linux, EVTXtract, CSV, XML and JSON, plain or in gzip, bzip2, ZIP and 7-Zip archives.
  • Sigma rules as they are: native YAML converted with pySigma, or the ready-made rulesets in rules/. Correlation rules included.
  • Fast: a compiled flattening kernel, parallel workers and rule prefiltering; see the benchmark.
  • Field processing: split packed fields and run sandboxed Python transforms (Base64 decoding, IOC extraction, LOLBin detection, …).
  • Exports: JSON, CSV, and templates for Splunk, Elastic, OpenSearch, Timesketch, SARIF and ATT&CK Navigator.
  • Timeline: chronological CSV or JSON lines for detections or every ingested event, with event descriptions, matching rules and correlation evidence (--timeline).
  • Zircolite Viewer: every event and detection in one zip that opens offline in a browser.

📖 Read the documentation, also in docs/.

Install

Standalone binary, nothing to install: download the zip for your platform from the releases (Linux x64 and ARM64, macOS Apple silicon, Windows x64 and ARM64) and extract it. On macOS, clear the quarantine flag before the first run: xattr -dr com.apple.quarantine <extracted directory>.

Docker:

docker pull wagga40/zircolite:latest

From source, with Python 3.12 to 3.14 and either PDM or uv:

git clone https://github.com/wagga40/Zircolite.git
cd Zircolite

# With PDM
pdm use -f 3.14              # not 3.15 or a free-threaded build, which are not supported yet
pdm install                  # compiles the native flattening kernel when a C compiler is present

# Or with uv
uv sync --python 3.14+gil    # the same interpreter choice and compile step

Installation gives the steps for each operating system: checksums, extraction, compilers and Docker permissions.

Quick start

The examples run python3 zircolite.py. Start each one the way you installed Zircolite:

Installed as Start with
Binary ./Zircolite, or .\Zircolite.exe on Windows
Source, PDM pdm run python3 zircolite.py
Source, uv uv run python3 zircolite.py
Docker docker run … wagga40/zircolite:latest, with the logs mounted: see Docker
# Windows logs, with the default ruleset (rules/rules_windows_merged.json)
python3 zircolite.py --events sysmon.evtx

# Linux logs: the format is detected
python3 zircolite.py --events auditd.log --ruleset rules/rules_linux.json

# Native Sigma rules, through pySigma pipelines
python3 zircolite.py --events logs/ --ruleset ./sigma/rules/windows/process_creation \
    --pipeline sysmon --pipeline windows-logsources

# Every event and detection, for the Zircolite Viewer
python3 zircolite.py --events logs/ --package

# Every ingested event in time order, for Timeline Explorer or a spreadsheet
python3 zircolite.py --events logs/ --timeline

# One row per detection
python3 zircolite.py --events logs/ --timeline detections.csv --timeline-scope detections

Detections go to detected_events.json. For logs to try it on, see EVTX-ATTACK-SAMPLES.

[!IMPORTANT] The default rulesets can contain noisy or slow rules. Select rules for your environment, and update them with python3 zircolite.py -U.

How it works

How Zircolite works: logs are flattened into rows of an SQLite table, Sigma rules become SQL queries, and matching rows become detections

Zircolite Viewer

--package writes one zip holding every event of the run, with the detections and correlation alerts linked to them. Extract it and open index.html: the viewer runs offline in the browser, to search, filter and pivot through the events, the detections, the ATT&CK matrix, logons and process trees, or to query them in SQL. Share a package as you would the logs it came from. See Zircolite Viewer.

A tour of the Zircolite Viewer: the Overview, a critical detection and its events, a column filter and a column's rarest values, an event with its PowerShell command decoded and its process activity, the timeline, the ATT&CK matrix, entities, stacking, lateral movement and privileged sessions, the process tree and the SQL console

Benchmark

Median wall time on a 10-core M1 Max, each tool at its defaults with its own rules. One channel: Zircolite 5.0 s, Hayabusa 23.2 s, Chainsaw 47.0 s. Eleven channels: Zircolite 19.2 s, Hayabusa 498.9 s, Chainsaw 176.5 s

Zircolite uses the most memory, through its parallel workers (--no-parallel turns them off), and the rule sets differ, so detection counts do not compare. See Benchmark for memory, setup and how to reproduce it.

Tutorials, references and related projects

Tutorials, written for earlier versions:

References:

Zircolite also runs inside KAPE and Velociraptor.

License

  • The code is under the GNU Lesser General Public License.
  • EVTX parsing uses evtx (pyevtx-rs), under the MIT or Apache-2.0 licence. Release packages list every bundled library and its licence in THIRD_PARTY_LICENSES.
  • The rules keep the licence of their source: the SigmaHQ rules are under the Detection Rule License (DRL) 1.1, and the community sources under the DRL 1.1, GPL 3.0, Apache License 2.0, MIT License or CC0 1.0, each named here. The texts are in rules/licenses/. rules_windows_all.json combines them, each rule keeping its own. Release packages credit every ruleset in THIRD_PARTY_LICENSES.

Explorar proyectos relacionados

Cargando…