Suspected Lookalike domain with suspicious language

This rule identifies messages where links use typosquatting or lookalike domains similar to the sender domain, with at least one domain being either unregistered or recently registered (≤90 days). The messages must also contain indicators of business email compromise (BEC), credential theft, or abusive language patterns like financial terms or polite phrasing such as kindly. This layered approach targets phishing attempts combining domain deception with manipulative content

Sublime rule (View on GitHub)

 1name: "Suspected Lookalike domain with suspicious language"
 2description: "This rule identifies messages where links use typosquatting or lookalike domains similar to the sender domain, with at least one domain being either unregistered or recently registered (≤90 days). The messages must also contain indicators of business email compromise (BEC), credential theft, or abusive language patterns like financial terms or polite phrasing such as kindly. This layered approach targets phishing attempts combining domain deception with manipulative content"
 3type: "rule"
 4severity: "medium"
 5source: |
 6  type.inbound
 7  
 8  // levenshtein distance (edit distance) between the SLD of the link and the sender domain is greater than 0 and less than or equal to 2.
 9  // This detects typosquatting or domains that are deceptively similar to the sender.
10  
11  and any(body.links,
12          length(.href_url.domain.sld) > 3
13          and 0 < strings.levenshtein(.href_url.domain.sld,
14                                      sender.email.domain.sld
15          ) <= 2
16          //exclude onmicrosoft.com
17          and not sender.email.domain.root_domain == "onmicrosoft.com"
18          and ( 
19            // domains are not registered or registered within 90d
20            // network.whois(.href_url.domain).found == false
21            network.whois(.href_url.domain).days_old <= 90
22            or network.whois(sender.email.domain).found == false
23            or network.whois(sender.email.domain).days_old <= 90
24          )
25  )
26  // the mesasge is intent is BEC or Cred Theft, or is talking about financial invoicing/banking language, or a request contains "kindly"
27  and any(ml.nlu_classifier(body.current_thread.text).intents,
28          .name in ("bec", "cred_theft")
29          or any(ml.nlu_classifier(body.current_thread.text).entities,
30                 .name == "financial"
31                 and (
32                   .text in ("invoice", "banking information")
33                   or .name == "request" and strings.icontains(.text, "kindly")
34                 )
35          )
36  )  
37tags:
38 - "Attack surface reduction"
39attack_types:
40  - "BEC/Fraud"
41tactics_and_techniques:
42  - "Evasion"
43  - "Lookalike domain"
44  - "Social engineering"
45detection_methods:
46  - "Content analysis"
47  - "Natural Language Understanding"
48  - "Sender analysis"
49  - "Whois"
50id: "3674ced0-691c-5faa-9ced-922e7201dc29"

Related rules

to-top