VirusTotal · Schema
YaraRuleObject
A crowdsourced YARA rule contributed to the VirusTotal community.
Anti-MalwareThreat IntelligenceSecurityFile AnalysisURL AnalysisYARAIoCSandboxMITRE ATT&CKGoogle Cloud
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Object identifier. |
| type | string | Object type discriminator. |
| links | object | Hypermedia links. |
| attributes | object | Type-specific attributes for YaraRuleObject. |
| relationships | object | Pre-expanded relationships, keyed by relationship name. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/virustotal/refs/heads/main/json-schema/YaraRuleObject-schema.json",
"title": "YaraRuleObject",
"description": "A crowdsourced YARA rule contributed to the VirusTotal community.",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Object identifier."
},
"type": {
"type": "string",
"description": "Object type discriminator."
},
"links": {
"type": "object",
"description": "Hypermedia links.",
"properties": {
"self": {
"type": "string",
"format": "uri"
}
}
},
"attributes": {
"type": "object",
"description": "Type-specific attributes for YaraRuleObject.",
"properties": {
"rule_name": {
"type": "string",
"example": "Mal_Emotet_Loader"
},
"ruleset_id": {
"type": "string"
},
"ruleset_name": {
"type": "string"
},
"author": {
"type": "string"
},
"description": {
"type": "string"
},
"source": {
"type": "string",
"description": "Source URL of the rule."
},
"rules": {
"type": "string",
"description": "Raw YARA rule text."
}
}
},
"relationships": {
"type": "object",
"description": "Pre-expanded relationships, keyed by relationship name.",
"additionalProperties": true
}
},
"required": [
"id",
"type",
"attributes"
]
}