Sigma检测工具 是 AI Skill Hub 本期精选MCP工具之一。综合评分 8.0 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
Sigma检测工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
Sigma检测工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/timescale/rsigma
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"sigma----": {
"command": "npx",
"args": ["-y", "rsigma"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 Sigma检测工具 执行以下任务... Claude: [自动调用 Sigma检测工具 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"sigma____": {
"command": "npx",
"args": ["-y", "rsigma"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
<p align="center"> <a href="https://github.com/timescale/rsigma"> <img src="https://github.com/timescale/rsigma/blob/main/assets/rsigma-logotype.png" alt="RSigma logotype" width="200"/> </a> <p align="center">A complete Rust toolkit for the Sigma detection standard</p> </p>
<p align="center"> <a href="https://github.com/timescale/rsigma/actions/workflows/ci.yml"><img src="https://github.com/timescale/rsigma/actions/workflows/ci.yml/badge.svg" alt="CI" /></a> <a href="https://crates.io/crates/rsigma"><img src="https://img.shields.io/crates/v/rsigma.svg" alt="crates.io" /></a> <a href="https://github.com/timescale/rsigma/blob/main/Cargo.toml"><img src="https://img.shields.io/badge/MSRV-1.88.0-blue" alt="MSRV" /></a> <a href="https://ghcr.io/timescale/rsigma"><img src="https://img.shields.io/badge/ghcr.io-rsigma-blue?logo=docker" alt="Docker" /></a> <a href="https://github.com/timescale/rsigma/releases/latest"><img src="https://img.shields.io/github/v/release/timescale/rsigma" alt="GitHub Release" /></a> <a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-green.svg" alt="License: MIT" /></a> </p>
RSigma is a complete Rust toolkit for the Sigma detection standard, including a parser, evaluation engine, rule conversion, streaming runtime, linter, CLI, MCP and LSP.
RSigma parses Sigma YAML rules into a strongly-typed AST, compiles them into optimized matchers, and evaluates them against log events in real time. It handles stateful correlation logic in-process with memory-efficient compressed event storage. Or as Zack Allen put it in DEW #149, "RSigma is essentially a SIEM."
You can send events in many formats, including JSON, syslog (RFC 3164/5424), logfmt, CEF, EVTX (Windows Event Log), plain text, and OTLP (OpenTelemetry Protocol), with auto-detection by default. pySigma-compatible processing pipelines handle field mapping and backend configuration. OTLP support lets any OpenTelemetry-compatible agent (Grafana Alloy, Vector, Fluent Bit, OTel Collector) forward logs to RSigma via HTTP or gRPC for detection.
For rule quality and editor integration, a built-in linter validates rules against 70 checks derived from the Sigma v2.1.0 specification, and an LSP server provides real-time diagnostics, completions, hover documentation, and quick-fix code actions in any editor.
[any]/[all] object-scope blocks for same-element correlation, and positional [N] indexing, opt-in via sigma-version: 3. Evaluated natively and lowered to PostgreSQL JSONB; see the Array Matching guidetemplate, lookup, http, command) with kind-aware template namespaces, response cache, scope filtering, and hot-reloadrule backtest, diffing per-rule fire counts against declared expectations (positive/negative fixtures, bounded noise budgets), flagging uncovered fires as potential false positives, and emitting a JSON or JUnit XML report for CIrule coverage, exporting an ATT&CK Navigator layer (format 4.5, scored by rule count) and reporting coverage gaps against the Atomic Red Team library, the SigmaHQ baseline heatmap, and a target technique list, with --fail-on-gaps for CI--bloom-prefilter) and cross-rule Aho-Corasick index for whole-rule pruning (--cross-rule-ac, requires daachorse-index feature)--observe-fields mode on both engine daemon (live, exposed over GET /api/v1/fields* with Prometheus counters) and engine eval (one-shot JSON report at end-of-run, ideal for CI gap analysis) surfaces which event fields no rule references (gap signal) and which rule fields have never appeared in an event (broken-coverage signal); same JSON shape across runtimes/metrics, OTLP/HTTP, OTLP/gRPC) with optional mutual TLS, aws-lc-rs crypto, and cross-platform certificate hot-reload--tag-namespace), and auto-fix (--fix) for 13 safe rulesrsigma mcp serve: parse, lint, validate, evaluate, convert, fields, and pipeline tools over the Model Context Protocol, with structured JSON resultsrsigma engine daemon -r rules/ --input nats://localhost:4222/events.> --output nats://localhost:4222/detections
rsigma engine eval -r rules/ --input-format logfmt < app.log
rsigma engine eval -r rules/ --input-format cef < arcsight.log
rsigma engine eval -r rules/ -e @security.evtx ```
```bash
cargo build --release --all-features --workspace
cargo install --locked rsigma
cargo install --locked --path crates/rsigma-lsp ```
Multi-arch images (linux/amd64, linux/arm64) are published to GHCR on every release.
docker pull ghcr.io/timescale/rsigma:latest
docker run --rm ghcr.io/timescale/rsigma:latest --help
Run with full runtime hardening:
docker run --rm \
--read-only \
--cap-drop=ALL \
--security-opt=no-new-privileges:true \
-v /path/to/rules:/rules:ro \
ghcr.io/timescale/rsigma:latest rule validate /rules/
Verify the image signature:
cosign verify \
--certificate-identity-regexp 'github.com/timescale/rsigma' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
ghcr.io/timescale/rsigma:latest
rsigma backend convert rules/ -t splunk
```bash
Or use the library directly:
use rsigma_parser::parse_sigma_yaml;
use rsigma_eval::Engine;
use rsigma_eval::event::JsonEvent;
use serde_json::json;
let yaml = r#"
title: Detect Whoami
logsource:
product: windows
category: process_creation
detection:
selection:
CommandLine|contains: 'whoami'
condition: selection
level: medium
"#;
let collection = parse_sigma_yaml(yaml).unwrap();
let mut engine = Engine::new();
engine.add_collection(&collection).unwrap();
let event = JsonEvent::borrow(&json!({"CommandLine": "cmd /c whoami"}));
let matches = engine.evaluate(&event);
assert_eq!(matches[0].rule_title, "Detect Whoami");
engine daemon and engine eval accept their settings via a layered YAML config in addition to CLI flags. Precedence is CLI flag > env > project file > user file > system file > default, with the project layer being either ./rsigma.yaml or the nearest .rsigmarc. Manage it with the rsigma config group:
rsigma config init # scaffold ./rsigma.yaml with comments
rsigma config validate # discover files, warn on unknown keys
rsigma config show --for daemon # show the effective config per-leaf
rsigma config schema # emit the JSON Schema for editors/CI
rsigma config reload # POST /api/v1/reload (cross-platform)
Both commands also accept --config <PATH> (load only that file) and --dry-run (print the effective section, exit 0). Secrets (NATS creds, TLS key password) deliberately stay env/flag-only and never appear in the schema. Full details in the Configuration Reference.
rsigma engine daemon -r rules/ --input http curl -X POST http://localhost:9090/api/v1/events -d '{"CommandLine":"whoami"}'
rsigma engine daemon -r rules/ --input http --api-addr 0.0.0.0:9090 \ --tls-cert /etc/rsigma/tls/server.crt \ --tls-key /etc/rsigma/tls/server.key
rsigma rule fields -r rules/
Events are parsed with auto-detection by default (JSON, syslog, plain text). Feature-gated formats: logfmt, cef, evtx. Processing pipelines handle field mapping between source schemas and Sigma field names.
```bash
rsigma engine eval -r rules/ -p pipelines/ecs.yml -e '{"process.command_line": "whoami"}'
Standard Sigma pipelines are static: every value is hardcoded in YAML. RSigma extends this with dynamic pipelines where external data sources feed into any part of a pipeline via ${source.*} template references. This means field mappings, condition values, and even entire transformation blocks can be populated from live APIs, configuration files, commands, or NATS subjects.
Dynamic sources are declared in a standalone YAML file and loaded into the daemon with the repeatable --source flag. The pipeline file references them by id:
```yaml
name: dynamic_example transformations: - id: map_fields type: field_name_mapping mapping: ${source.field_map}
- id: block_known_bad type: add_condition conditions: - field: DestinationIp value: ${source.threat_intel}
bash
rsigma rule fields -r rules/ -p ecs.yml --json
高质量的Sigma检测工具,功能齐全
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
经综合评估,Sigma检测工具 在MCP工具赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | rsigma |
| 原始描述 | 开源MCP工具:A complete Sigma detection toolkit: parser, linter, evaluator, correlation engin。⭐77 · Rust |
| Topics | mcpbackendconvertercorrelationdetection |
| GitHub | https://github.com/timescale/rsigma |
| License | MIT |
| 语言 | Rust |
收录时间:2026-06-21 · 更新时间:2026-06-21 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端