Link: Encrypted archive hosted on Google Drive

Flags inbound messages from free email providers or self-addressed senders that include Google Drive links pointing to password-protected or multi-volume archives. Because Drive cannot scan these file types for malicious content, threat actors use them to bypass automated malware detection. Highly trusted sending domains are excluded from this rule unless they fail DMARC authentication.

Sublime rule (View on GitHub)

 1name: "Link: Encrypted archive hosted on Google Drive"
 2description: "Flags inbound messages from free email providers or self-addressed senders that include Google Drive links pointing to password-protected or multi-volume archives. Because Drive cannot scan these file types for malicious content, threat actors use them to bypass automated malware detection. Highly trusted sending domains are excluded from this rule unless they fail DMARC authentication."
 3type: "rule"
 4severity: "medium"
 5source: |
 6  type.inbound
 7  and (
 8    sender.email.domain.root_domain in $free_email_providers
 9    or (
10      length(recipients.to) == 1
11      and recipients.to[0].email.email == sender.email.email
12    )
13  )
14  and any(filter(body.links,
15                 .href_url.domain.domain in (
16                   "drive.google.com",
17                   "drive.usercontent.google.com"
18                 )
19                 // handle mimecast
20                 or (
21                   .href_url.domain.root_domain in (
22                     "mimecastprotect.com",
23                     "mimecast.com"
24                   )
25                   and any(.href_url.query_params_decoded['domain'],
26                           strings.parse_domain(.).domain in (
27                             "drive.google.com",
28                             "drive.usercontent.google.com"
29                           )
30                   )
31                 )
32          ),
33          // drive refuses to scan - the file is a password-protected or multi-volume archive
34          strings.icontains(ml.link_analysis(., mode="aggressive").final_dom.raw,
35                            'is encrypted or a multi-volume archive'
36          )
37  )
38  // negate highly trusted sender domains unless they fail DMARC authentication
39  and not (
40    sender.email.domain.root_domain in $high_trust_sender_root_domains
41    and coalesce(headers.auth_summary.dmarc.pass, false)
42  )  
43attack_types:
44  - "Malware/Ransomware"
45tactics_and_techniques:
46  - "Encryption"
47  - "Evasion"
48  - "Free file host"
49  - "Free email provider"
50detection_methods:
51  - "URL analysis"
52  - "HTML analysis"
53  - "Content analysis"
54  - "Sender analysis"
55  - "Header analysis"
56id: "fab5085b-9170-5cbf-9828-c051b979a748"
to-top