/forensics:sigma-huntingfrom forensics
Applies Sigma detection rules to log sources for threat hunting; converts rules to Elasticsearch, Splunk, and grep queries with MITRE ATT&CK context.
Ships in forensics. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Applies Sigma detection rules against collected log sources to identify threat activity. Supports the bundled forensics-complete Sigma rule library and custom rules. Converts Sigma rules to backend-specific queries for Elasticsearch, Splunk, and grep, enabling hunting across both real-time platforms and offline log files.
Alternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):
Sigma provides a vendor-neutral rule format for expressing detection logic. Writing backend-specific queries for every log source and SIEM is time-consuming and error-prone. This skill translates Sigma rules to the appropriate query format for the available tooling, applies them against collected logs, and reports matches with ATT&CK technique context.
When triggered, this skill:
Identify available rule sources:
agentic/code/frameworks/forensics-complete/sigma/.aiwg/forensics/sigma/custom/sigma --version 2>/dev/nullIdentify target log sources and backends:
logsource categories to available sources:
category: process_creation → syslog, auditd logs, or EDR telemetrycategory: network_connection → firewall logs, VPC flow logs, Zeek conn.logcategory: webserver → nginx/Apache access logsproduct: linux → auth.log, syslog, journalproduct: windows → Windows Event Log exports (.evtx or JSON)Select applicable rules:
logsource compatibility with available sourcestags: attack.t1059*medium, high, critical rules onlyConvert rules to grep (offline log files):
selection keywords to extended grep patterns:
grep -Ei 'pattern1|pattern2' /var/log/auth.log
condition: selection and not filter by piping through a second grep with -vConvert rules via sigma-cli (when available):
sigma convert -t elasticsearch -f lucene rules/sigma/linux/ > hunt-queries.txt
sigma convert -t splunk rules/sigma/linux/ > hunt-spl.txt
Execute hunts and collect matches:
Triage matches:
ioc-extraction skillApply custom rules:
.yml files from .aiwg/forensics/sigma/custom/Write hunt report:
.aiwg/forensics/findings/<hostname>-sigma-hunt.mdsigma hunt
hunt for T1078
sigma rules --backend elasticsearch --output hunt-queries.txt
.aiwg/forensics/findings/<hostname>-sigma-hunt.md.aiwg/forensics/sigma/converted/.aiwg/forensics/evidence/sigma-hits.txtsigma_hunting:
bundled_rules_path: agentic/code/frameworks/forensics-complete/sigma/
custom_rules_path: .aiwg/forensics/sigma/custom/
default_severity_filter:
- medium
- high
- critical
default_backend: grep
available_backends:
- grep
- elasticsearch
- splunk
sigma_cli_path: sigma
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
21 skills in this plugin
/cloud-forensicsAWS, Azure, and GCP forensic investigation covering audit logs, IAM review, storage access, network flows, and compute instance forensics/container-forensicsForensic investigation of Docker, containerd/CRI-O, and Kubernetes — inventory, escape detection, eBPF runtime monitoring, RBAC and etcd audit. Use when investigating container compromise./evidence-preservationChain of custody and evidence preservation procedures covering log collection, hash verification, custody documentation, and evidence packaging per RFC 3227/exposure-analysisRead-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists./forensics-acquireEvidence acquisition with chain of custody and hash verification/forensics-huntThreat hunt using Sigma rules against log sourcesnpx claudepluginhub jmagly/aiwg --plugin forensicsOther plugins' skills for the same job