VirusTotal¶
API Keys¶
The VirusTotal API key is added via the integrations menu within LimaCharlie.
Usage¶
With the vt add-on subscribed and a VirusTotal API Key configured in the Integrations page, VirusTotal can be used as an API-based lookup.
event: CODE_IDENTITY
op: lookup
path: event/HASH
resource: lcr://api/vt
metadata_rules:
op: is greater than
value: 1
path: /
length of: true
Step-by-step, this rule will do the following:
- Upon seeing a
CODE_IDENTITYevent, retrieve theevent/HASHvalue and send it to VirusTotal via theapi/vtresource. - Upon receiving a response from
api/vt, evaluate it usingmetadata_rulesto see if the length of the response is greater than 1 (in this case meaning that more than 1 vendor reporting a hash is bad).