Link: Flagged bit.ly link
Shortened link is blocked or gated by bit.ly. Indicator of malicious email.
Sublime rule (View on GitHub)
1name: "Link: Flagged bit.ly link"
2description: |
3 Shortened link is blocked or gated by bit.ly. Indicator of malicious email.
4type: "rule"
5severity: "medium"
6source: |
7 type.inbound
8 and any(body.links,
9 // contains bit.ly link
10 .href_url.domain.root_domain == "bit.ly"
11 // link doesn't forward through
12 and ml.link_analysis(.).effective_url.domain.domain == "bit.ly"
13 // blocked or gated by bit.ly
14 and strings.ilike(ml.link_analysis(.).final_dom.display_text,
15 "*link*blocked*",
16 "*flagged*by*"
17 )
18 )
19
20 // negate highly trusted sender domains unless they fail DMARC authentication
21 and not (
22 sender.email.domain.root_domain in $high_trust_sender_root_domains
23 and coalesce(headers.auth_summary.dmarc.pass, false)
24 )
25 and (
26 not profile.by_sender().solicited
27 or (
28 profile.by_sender().any_messages_malicious_or_spam
29 and not profile.by_sender().any_messages_benign
30 )
31 )
32 and not profile.by_sender().any_messages_benign
33tags:
34 - "Attack surface reduction"
35attack_types:
36 - "Credential Phishing"
37tactics_and_techniques:
38 - "Evasion"
39detection_methods:
40 - "URL analysis"
41id: "1528eb6c-22fa-5879-b48c-53ee466fde23"