Link: Romance/Sexual Language With Suspicious Link

Detects messages containing romantic or adult-themed language, combined with links to newly registered domains or suspicious reply-to addresses.

Sublime rule (View on GitHub)

 1name: "Link: Romance/Sexual Language With Suspicious Link"
 2description: "Detects messages containing romantic or adult-themed language, combined with links to newly registered domains or suspicious reply-to addresses."
 3type: "rule"
 4severity: "low"
 5source: |
 6  type.inbound
 7  and length(body.previous_threads) == 0
 8  and any(ml.nlu_classifier(body.current_thread.text).topics,
 9          .name in ("Romance", "Sexually Explicit Messages")
10          and .confidence == "high"
11  )
12  and 1 of (
13    any(body.links, network.whois(.href_url.domain).days_old < 30),
14    any(body.links, .href_url.domain.root_domain in $url_shorteners),
15    any(body.links, .href_url.domain.tld in ('ru', 'app', 'digital', 'click')),
16    any(headers.reply_to, network.whois(.email.domain).days_old < 30)
17  )
18  and 0 < length(distinct(body.links,
19                          .href_url.domain.root_domain not in ("aka.ms")
20                 )
21  ) < 3
22  and all(body.links,
23          .href_url.domain.root_domain != sender.email.domain.root_domain
24  )  
25
26attack_types:
27  - "Spam"
28tactics_and_techniques:
29  - "Social engineering"
30detection_methods:
31  - "Content analysis"
32  - "Header analysis"
33  - "URL analysis"
34  - "Whois"
35id: "d5694cae-bee8-588e-8123-2c3e3459118b"
to-top