Attachment with high risk VBA macro (unsolicited)
Potentially malicious attachment containing a VBA macro. Oletools categorizes the macro risk as 'high'.
Sublime rule (View on GitHub)
1name: "Attachment with high risk VBA macro (unsolicited)"
2description: |
3 Potentially malicious attachment containing a VBA macro. Oletools categorizes the macro risk as 'high'.
4references:
5 - "https://threatpost.com/microsoft-outlook-users-targeted-by-gamaredons-new-vba-macro/156484/"
6type: "rule"
7severity: "high"
8source: |
9 type.inbound
10 and any(attachments,
11 (
12 .file_extension in~ $file_extensions_macros
13 or (
14 .file_extension is null
15 and .file_type == "unknown"
16 and .content_type == "application/octet-stream"
17 and .size < 100000000
18 )
19 )
20 and file.oletools(.).indicators.vba_macros.risk == "high"
21 )
22 and (
23 not profile.by_sender().solicited
24 or (
25 profile.by_sender().any_messages_malicious_or_spam
26 and not profile.by_sender().any_false_positives
27 )
28 )
29attack_types:
30 - "Malware/Ransomware"
31tactics_and_techniques:
32 - "Macros"
33detection_methods:
34 - "File analysis"
35 - "Macro analysis"
36 - "OLE analysis"
37 - "Sender analysis"
38id: "a2b20e16-b363-50f1-92a5-ee6c41012118"