generate_sigma_rules
Generates Sigma YAML detection rules from threat indicators like IPs, domains, hashes, and CVEs for security monitoring.
Instructions
Generate Sigma detection rules (YAML) from threat indicators such as IPs, domains, URLs, file hashes, CVEs, emails, registry keys, mutexes, IP ranges, or keywords
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"indicators": "<indicators>"
},
"name": "generate_sigma_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Severity level (default: high) | |
| author | No | Rule author name | |
| fields | No | JSON array of additional log fields to include in the rule | |
| ruleId | No | Custom rule ID (UUID). If omitted, a deterministic ID is generated from indicator values. | |
| status | No | Rule status (default: test) | |
| related | No | JSON array of related rule IDs for the "related" field | |
| platform | No | Target platform for logsource (default: windows) | |
| condition | No | Custom detection condition expression (e.g., "selection1 and not selection2"). Only used in "single" mode. | |
| indicators | Yes | JSON string of threat indicators array. Each object: { "type": "ip|domain|url|hash|cve|email|registry|mutex|ip_range|keyword", "value": "...", "description?": "...", "references?": ["..."], "tags?": ["..."], "matchType?": "exact|contains|startswith|endswith", "keywordFields?": ["field1","field2"], "selectionName?": "custom_name" } | |
| mitreAttack | No | JSON array of MITRE ATT&CK technique IDs to add as tags (e.g., ["attack.t1566.001","attack.t1204"]) | |
| outputFormat | No | "single" combines all indicators into one rule, "separate" creates one rule per indicator (default: separate) | |
| falsepositives | No | JSON array of false positive references (default: ["Unknown"]) |