Featured

Deploy OpenClaw in 60 seconds β€” 20% off logoDeploy OpenClaw in 60 seconds β€” 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger β†’
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger β†’
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free β†’
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free β†’
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data β€” no proxies, no parsers, no maintenance.

Start building free β†’
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it β€” secured from day one.

Get it set up for you β†’
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free β†’
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here β†’

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

WRG-11/wrg-sigma-rules MCP server](https://glama.ai/mcp/servers/WRG-11/wrg-sigma-rules/badges/score.svg)](https://glama.ai/mcp/servers/WRG-11/wrg-sigma-rules) 🐍 🏠 ☁️ 🍎 πŸͺŸ 🐧 - Sigma detection rule writing, validation, and conversion...

README.md

WRG Sigma Rules β€” Claude Code Plugin

Status

Production β€” actively maintained rule corpus. Not yet listed in the community plugin marketplace; install directly from this repo (see Installation).

Listing is submitted through clau.de/plugin-directory-submission, which feeds Anthropic's review pipeline. anthropics/claude-plugins-community is a read-only mirror of the approved list and closes pull requests opened against it automatically, so a PR there is not the route.

Production-grade sigma detection rule writing, validation, and conversion for SOC analysts, threat-intel teams, and detection engineers using Claude Code.

TL;DR

  • 3 MCP tools: draft_rule (NL β†’ sigma YAML) + validate_rule (pySigma + best-practice linter) + convert_rule (sigma β†’ Splunk/Elastic/OpenSearch/Wazuh/Kibana query)
  • 3 Claude Code skills: sigma-rule-writer + sigma-rule-reviewer + threat-coverage-gap-analyzer
  • <!-- METRIC:sigma_rule_count -->80<!-- /METRIC:sigma_rule_count --> published sigma rule corpus: 13 ATT&CK tactic categories (templates + observed campaign rules). Every rule carries a sigma status: β€” none of them stable; see rule status for the breakdown and what it means before you deploy one
  • Multi-backend conversion: Splunk SPL, Elastic/Kibana Lucene, OpenSearch Lucene + PPL, Wazuh verified (pySigma 1.x + 3 backend packages). Measured against the full corpus on 2026-07-29: Splunk and OpenSearch-PPL convert every rule; the Lucene-family targets (Elastic, Kibana, Wazuh, OpenSearch) fail on the 10 correlation rules, because that backend cannot express them β€” convert_rule reports this as a capability gap and names the targets that can
  • Logsource-aware output: config={"pipeline": "sysmon"} maps Sigma's abstract logsource to the product's real event selection β€” without it a process_creation rule converts to a query that matches events of every type
  • WRG ecosystem anchor: 6+ months threat-intel discipline + 100+ actor TTP corpus + observed_* rules (Mini Shai-Hulud npm worm, Nx campaign 4-vector cluster, SOCKS5 silent-fix, ClawHavoc Claude Skills, Lazarus, LockBit, LAPSUS, AI-fingerprint)
  • Live demo: see DEMO.md for end-to-end tool invocation on Mini Shai-Hulud rule (pySigma 1.x + Splunk + Elastic real output)

Why this plugin exists

The sigma-rule niche in the Anthropic Claude Code plugin marketplace is empty: re-counted against anthropics/claude-plugins-community on 2026-07-29, 0 of 2283 community plugins mention sigma. That niche being empty is not the same as the area being empty β€” 315 of those plugins are security-themed β€” so the claim here is specific: nobody is doing sigma rule authoring, validation and multi-backend conversion, not "nobody is doing security".

(For scale, the same count on 2026-05-23 found 200+ plugins and one security plugin. The marketplace grew roughly tenfold in two months; the sigma count stayed at zero.)

WRG (WinstonRedGuard) has accumulated 6+ months of threat-intel infrastructure: <!-- METRIC:sigma_rule_count -->80<!-- /METRIC:sigma_rule_count --> canonical sigma rules + actor catalog + pySigma integration + Pattern-driven detection-engineering discipline. This plugin packages that capability for the broader Anthropic ecosystem.

What's included

MCP tools (3)

  • mcp__plugin_wrg-sigma-rules_wrg-sigma-rules__draft_rule β€” NL description β†’ sigma YAML scaffold
  • mcp__plugin_wrg-sigma-rules_wrg-sigma-rules__validate_rule β€” YAML schema + pySigma compat + best-practice linter
  • mcp__plugin_wrg-sigma-rules_wrg-sigma-rules__convert_rule β€” sigma β†’ Splunk/Elastic/OpenSearch/Wazuh/Kibana query

Claude Code skills (3)

  • sigma-rule-writer β€” guided rule writing workflow
  • sigma-rule-reviewer β€” paste rule for quality review + improvement suggestions
  • threat-coverage-gap-analyzer β€” MITRE ATT&CK coverage analysis vs your existing corpus

Sigma rule corpus (<!-- METRIC:sigma_rule_count -->80<!-- /METRIC:sigma_rule_count --> rules across 13 ATT&CK tactic categories)

| 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) | | persistence | template T1053.005 (scheduled task created by a scripting host) + observed (Photo ZIP campaign, Node.js HKCU Run-key persistence T1547.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 + WinRM remote execution T1021.006) | | privilege_escalation | templates (AWS IAM wildcard-admin policy creation T1098.003 + UAC bypass via auto-elevating binary T1548.002) | | resource_development | templates (newly registered domain + lookalike domain + social media signup) | | collection | templates (archive utility staging + SharePoint access + local email collection T1114.001) | | 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.

Rule status

Sigma's status: field says how far a rule has been proven, and this corpus uses it literally rather than aspirationally:

| status: | Count | What it means here | |---|---|---| | test | <!-- METRIC:status_test_count -->8<!-- /METRIC:status_test_count --> | Derived from a real, cited incident β€” the observed_* campaign rules | | experimental | <!-- METRIC:status_experimental_count -->72<!-- /METRIC:status_experimental_count --> | Canonical detection shapes; many describe themselves as synthetic exemplars in their own description: | | stable | <!-- METRIC:status_stable_count -->0<!-- /METRIC:status_stable_count --> | Deliberately unused |

stable in the sigma specification means a rule is running in production and well tested. Nothing here has earned that: the template layer is pattern material to adapt, not detections that have been validated against a real environment's telemetry. Marking them stable would make the corpus look more finished than it is, which is the same failure as writing "Unknown" in falsepositives:.

Treat any rule here as a starting point to bind to your own logsource and tune β€” the falsepositives: block on each one names the benign activity to expect first.

Resources

  • wrg-sigma://patterns/canonical-5 β€” canonical detection-pattern definitions
  • wrg-sigma://patterns/canonical-5/{pattern_id} β€” individual pattern by ID (01–05)
  • wrg-sigma://coverage/mitre-attack-matrix β€” corpus ATT&CK coverage state (technique-by-tactic rollup, observed/template split, rules contributing no coverage), computed from the corpus at read time

Installation

Direct from this repo

git clone https://github.com/WRG-11/wrg-sigma-rules.git
# Follow Claude Code plugin install path per https://code.claude.com/docs/en/plugins

Quick example

Validate + convert a corpus rule end-to-end, from the repo root (commands from DEMO.md, captured against pySigma 1.x + the Splunk and Elasticsearch backends):

pip install pysigma pysigma-backend-splunk pysigma-backend-elasticsearch
python -c "
import sys, json
sys.path.insert(0, '.')
from tools.validate_rule.validate_rule import validate_rule_body
from tools.convert_rule.convert_rule import convert_rule_body

rule = open('resources/examples/command_and_control/observed_mini_shai_hulud_npm_supply_chain_c2_t1071.yml', encoding='utf-8').read()

print(json.dumps(validate_rule_body(rule), indent=2))
print(json.dumps(convert_rule_body(rule, target='splunk'), indent=2))
print(json.dumps(convert_rule_body(rule, target='elasticsearch'), indent=2))
"

Full captured outputs (validate JSON + Splunk SPL + Elasticsearch Lucene) are in DEMO.md.

Quality discipline

  • 4-Layer self-audit per WRG audit methodology (trust-but-verify self-audit)
  • <!-- METRIC:test_module_count -->14<!-- /METRIC:test_module_count --> Python test modules covering rule validation + tool integration smoke
  • pySigma 1.x compat + multi-backend conversion verified (pysigma-backend-splunk + pysigma-backend-elasticsearch + pysigma-backend-opensearch)
  • LLM-safe output discipline: ASCII-only output + error-path structure preserve
  • claude plugin validate PASS (re-verified 2026-07-29)
  • Live demo evidence: DEMO.md β€” 3 real tool invocations on Mini Shai-Hulud rule

Tested environments

  • Windows 11 + Claude Code
  • WSL2 Ubuntu 24.04

Contributing

Sigma rule contributions welcome. Submit YAML to resources/examples/<tactic>/ with:

  • ATT&CK TTP mapping in tags: field (e.g., attack.t1071)
  • observed_* prefix for incident-specific rules
  • template_* prefix for canonical pattern templates
  • pySigma validation passing via mcp__plugin_wrg-sigma-rules_wrg-sigma-rules__validate_rule

Read CONTRIBUTING.md first if the rule claims to detect something observed in the wild. It sets out the sourcing bar β€” attribution, platform, and manifestation all matched against the cited source β€” and the three upstream rejections that produced it.

References

License

MIT β€” see LICENSE file.

---

Part of the WRG-11 ecosystem

Full index β†’ github.com/WRG-11

See related servers & alternatives β†’

Related MCP servers

Browse all β†’

Related guides

Hand-picked reading to help you choose and use Developer Tools servers.