hunting-evtx-with-chainsaw

Installation
SKILL.md

Hunting EVTX with Chainsaw

Overview

Chainsaw is a fast, Rust-based forensic artifact search and hunting tool from WithSecure Labs. It provides first-response capability to rapidly identify threats within Windows Event Logs (.evtx) and other artifacts. Chainsaw can hunt with the full SigmaHQ rule corpus (translating Sigma to its internal Tau engine), run its own built-in detection rules, perform high-speed keyword/regex search across logs, and analyse specialized artifacts such as the AppCompatCache (shimcache), SRUM database, and event-log gaps. Output can be a colorized table, CSV, or JSON for downstream tooling.

Chainsaw's strength is speed and flexibility during initial triage: an analyst can drop a folder of collected EVTX onto the tool and get back a prioritized set of detections in seconds, then pivot with targeted search queries to confirm a hypothesis. Unlike a SIEM, it needs no ingestion pipeline, runs as a single binary, and works fully offline against acquired evidence — ideal for the field or an air-gapped analysis VM. The --mapping file tells Chainsaw how Sigma fields translate to Windows event fields, which is what enables broad Sigma coverage over EVTX.

A common hunt outcome is detecting suspicious PowerShell — MITRE ATT&CK T1059.001 (Command and Scripting Interpreter: PowerShell) — by running Sigma rules against PowerShell operational logs (Event ID 4104 script-block logging) or searching for encoded-command patterns. This skill maps to NIST CSF DE.AE-02 (potentially adverse events are analyzed to better understand associated activities).

When to Use

  • During first-response triage to rapidly hunt threats across collected Windows event logs.
  • When you need offline Sigma-based detection over .evtx without standing up a SIEM.
  • To run fast keyword/regex searches confirming or refuting a hunt hypothesis.
  • To analyse shimcache, SRUM, or event-log time gaps for execution evidence and tampering.
  • To produce CSV/JSON detection output for reporting or pipeline ingestion.

Prerequisites

Installs
9
GitHub Stars
24.7K
First Seen
14 days ago
hunting-evtx-with-chainsaw — mukul975/anthropic-cybersecurity-skills