yara_scan
Scan disk or memory images with custom YARA rules to locate IOC matches, webshells, or packer stubs. Returns match offsets.
Instructions
Sweep an evidence object (disk or memory image) with a YARA rule and return matches with offsets. rules_text is the YARA rule source. Use to hunt webshell signatures, packer stubs, or campaign IOCs across an image. Read-only.
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": {
"target": "<target>",
"rules_text": "<rules_text>"
},
"name": "yara_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| rules_text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |