Are you the author? Sign in to claim
Sigma detection rule writing, validation, and conversion for Claude Code -- LLM-assisted + pySigma + multi-backend (Splu
💡 Found this useful? ⭐ Star the repo (helps others find it) and subscribe to weekly detection-engineering writeups at Detection Frontier.
Status: Production-ready. Not yet submitted to a plugin marketplace — install directly from this repo (see Installation).
Production-grade sigma detection rule writing, validation, and conversion for SOC analysts, threat-intel teams, and detection engineers using Claude Code.
draft_rule (NL → sigma YAML) + validate_rule (pySigma + best-practice linter) + convert_rule (sigma → Splunk/Elastic/Wazuh/Kibana query)DEMO.md for end-to-end tool invocation on Mini Shai-Hulud rule (pySigma 1.x + Splunk + Elastic real output)The sigma-rule niche in the Anthropic Claude Code plugin marketplace is empty (verified 2026-05-23: 200+ plugins, 0 sigma-focused, 1 generic security plugin). SOC + threat-intel community has latent demand for fast, quality-aware rule writing tools integrated with LLM workflows.
WRG (WinstonRedGuard) has accumulated 6+ months of threat-intel infrastructure: 68 canonical sigma rules + actor catalog + pySigma integration + Pattern-driven detection-engineering discipline. This plugin packages that capability for the broader Anthropic ecosystem.
wrg__sigma__draft_rule — NL description → sigma YAML scaffoldwrg__sigma__validate_rule — YAML schema + pySigma compat + best-practice linterwrg__sigma__convert_rule — sigma → Splunk/Elastic/Wazuh/Kibana querysigma-rule-writer — guided rule writing workflowsigma-rule-reviewer — paste rule for quality review + improvement suggestionsthreat-coverage-gap-analyzer — MITRE ATT&CK coverage analysis vs your existing corpus| Tactic | Coverage |
|---|---|
credential_access | templates + observed (LAPSUS T1110 correlation, Kali365 OAuth device-code phishing T1528, Mimikatz LSASS) |
command_and_control | template T1071 + observed Mini Shai-Hulud npm supply-chain C2 T1071 (Nx campaign cluster) |
defense_evasion | templates + observed (AlphV T1027 obfuscation) |
execution | templates + observed (AlphV T1059.001) |
exfiltration | templates + observed SOCKS5 hostname null-byte egress T1041 (Claude Code v2.0.24-v2.1.89 silent-fix; +backslash extension variant) |
impact | templates + observed (Lazarus + LockBit BTC + Nullsec Nigeria T1491 defacement) |
initial_access | templates + observed Nx campaign 4-vector (s1ngularity npm token exfil, nx-console VS Code extension compromise, ClawHavoc Claude Skills T1195.002) + LAPSUS T1078 + OWASP lab-validated (SQLi auth-bypass, XSS reflected, path traversal) |
lateral_movement | templates (RDP EventID 4624 + SMB admin shares) |
resource_development | templates (newly registered domain + lookalike domain + social media signup) |
collection | templates (archive utility staging + SharePoint access) |
code_review | 5 AI-fingerprint observed rules (ANSI-color class, decoy block, docstring density, hallucinated CVSS, prompt artifacts) |
See resources/examples/INDEX.json for full enumeration.
wrg-sigma://patterns/canonical-5 — canonical detection-pattern definitionswrg-sigma://coverage/mitre-attack-matrix — corpus coverage stategit clone https://github.com/WRG-11/wrg-sigma-rules.git
# Follow Claude Code plugin install path per https://code.claude.com/docs/en/plugins
pysigma-backend-splunk + pysigma-backend-elasticsearch)claude plugin validate PASS (verified 2026-05-25)DEMO.md — 3 real tool invocations on Mini Shai-Hulud ruleSigma rule contributions welcome. Submit YAML to resources/examples/<tactic>/ with:
tags: field (e.g., attack.t1071)observed_* prefix for incident-specific rulestemplate_* prefix for canonical pattern templateswrg__sigma__validate_ruleMIT — see LICENSE file.
Run Claude Code as an MCP server so any agent can delegate coding tasks to it
Browser automation using accessibility snapshots instead of screenshots
Google's universal MCP server supporting PostgreSQL, MySQL, MongoDB, Redis, and 10+ databases
Official GitHub integration for repos, issues, PRs, and CI/CD workflows