817 structured cybersecurity skills for AI agents · Mapped to 6 frameworks: MITRE ATT&CK, NIST CSF 2.0, MITRE ATLAS, D3FEND, NIST AI RMF & MITRE F3 (Fight Fraud) · agentskills.io standard · Works with Claude Code, GitHub Copilot, Codex CLI, Cursor, Gemini CLI & 20+ platforms · 29 security domains · Apache 2.0
2.2 KB Raw Blame Chainsaw — Command & Flag Reference
Subcommands
| Command |
Purpose |
hunt |
Detect threats using Sigma and Chainsaw rules |
search |
Keyword/regex/Tau search across artifacts |
analyse |
shimcache / srum / gaps artifact analysis |
dump |
Dump raw artifact content |
lint |
Validate rule files |
hunt Flags
| Flag |
Description |
-s, --sigma <DIR> |
SigmaHQ rules directory |
-r, --rule <DIR> |
Chainsaw rules directory |
-m, --mapping <FILE> |
Sigma->event field mapping (e.g. mappings/sigma-event-logs-all.yml) |
--level <LEVEL> |
Filter by Sigma rule level |
--status <STATUS> |
Filter by rule status (e.g. stable) |
--kind <KIND> |
Filter by detection kind (e.g. evtx) |
--json / --csv |
Output format |
-o, --output <PATH> |
Output file/directory |
chainsaw hunt ./evtx -s ./sigma/rules \
--mapping ./mappings/sigma-event-logs-all.yml --level high --json
search Flags
| Flag |
Description |
-e, --regex <RE> |
Regex pattern |
-i, --ignore-case |
Case-insensitive |
-t, --tau <EXPR> |
Tau expression query |
--from / --to |
Timestamp bounds |
--json |
JSON output |
chainsaw search "mimikatz" -i ./evtx
chainsaw search -e "-enc\s+[A-Za-z0-9+/=]{20,}" ./evtx --json
chainsaw search ./evtx -t 'Event.System.EventID: =4624'
analyse Subcommands
# Shimcache with Amcache timestamp pairing
chainsaw analyse shimcache ./SYSTEM --regexfile ./patterns.txt \
--amcache ./Amcache.hve --tspair --output ./out.csv
# SRUM database
chainsaw analyse srum --software ./SOFTWARE ./SRUDB.dat -o srum.json
# Event-log gaps
chainsaw analyse gaps ./Logs/ --min-time-gap-minutes 30 --json
dump / lint
chainsaw dump ./SOFTWARE --json --output dump.json
chainsaw lint -r ./rules --kind sigma
Install
git clone https://github.com/WithSecureLabs/chainsaw.git
cd chainsaw && cargo build --release
# or: nix profile install github:WithSecureLabs/chainsaw
External References