convert_yara_to_sigma
Convert YARA rules to approximate Sigma rules, mapping string and hex conditions to process creation CommandLine fields. Manual review required.
Instructions
Convert a YARA rule to an approximate Sigma rule. Best-effort conversion focused on string/hex conditions mapped to process_creation logs (CommandLine). Always include a warning that manual review is required.
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": {
"yara_rule": "<yara_rule>"
},
"name": "convert_yara_to_sigma"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product | No | Target product (default: windows) | |
| yara_rule | Yes | The full YARA rule text to convert | |
| title_override | No | Custom title for the generated Sigma rule | |
| logsource_category | No | Sigma logsource category (default: process_creation) |