1+ name : " Brand impersonation: AuthentiSign"
2+ description : " Detects messages impersonating AuthentiSign through display name, domain, subject, or body content that either originate from non-AuthentiSign or spoofed domains."
3+ type : " rule"
4+ severity : " medium"
5+ source : |
6+ type.inbound
7+ and (
8+ (
9+ strings.icontains(body.current_thread.text, "authentisign")
10+ and (
11+ strings.ilike(body.current_thread.text,
12+ "*signing party*",
13+ "*signing name*"
14+ )
15+ or any(body.links,
16+ regex.icontains(.display_text,
17+ '\bs[\s\W_]*i[\s\W_]*g[\s\W_]*n\b',
18+ 'sign'
19+ )
20+ )
21+ )
22+ )
23+ or strings.ilike(sender.display_name, '*authentisign*')
24+ or strings.ilevenshtein(sender.display_name, 'authentisign') <= 1
25+ or strings.ilike(sender.email.domain.domain, '*authentisign*')
26+ )
27+ and (
28+ sender.email.domain.root_domain != "authentisign.com"
29+ or (
30+ sender.email.domain.root_domain == "authentisign.com"
31+ and not (headers.auth_summary.spf.pass or headers.auth_summary.dmarc.pass)
32+ )
33+ )
34+ // negate legitimate conversations
35+ and not (
36+ (
37+ strings.istarts_with(subject.subject, "RE:")
38+ or strings.istarts_with(subject.subject, "RES:")
39+ or strings.istarts_with(subject.subject, "R:")
40+ or strings.istarts_with(subject.subject, "ODG:")
41+ or strings.istarts_with(subject.subject, "答复:")
42+ or strings.istarts_with(subject.subject, "AW:")
43+ or strings.istarts_with(subject.subject, "TR:")
44+ or strings.istarts_with(subject.subject, "FW:")
45+ or strings.istarts_with(subject.subject, "FWD:")
46+ or regex.imatch(subject.subject,
47+ '(\[[^\]]+\]\s?){0,3}(re|fwd?|automat.*)\s?:.*'
48+ )
49+ or subject.is_reply
50+ or subject.is_forward
51+ )
52+ and (
53+ length(headers.references) > 0
54+ and any(headers.hops, any(.fields, strings.ilike(.name, "In-Reply-To")))
55+ )
56+ )
57+
58+ attack_types :
59+ - " Credential Phishing"
60+ - " BEC/Fraud"
61+ tactics_and_techniques :
62+ - " Impersonation: Brand"
63+ - " Lookalike domain"
64+ - " Social engineering"
65+ detection_methods :
66+ - " Content analysis"
67+ - " Header analysis"
68+ - " Sender analysis"
69+ id : " ab955fb0-5fc9-55e9-9861-3bbd5458ec14"
70+ og_id : " 445a8c8b-cd38-5161-bf56-2eab83419e24"
71+ testing_pr : 3718
72+ testing_sha : 6aa85ccd8c5d6576dd17d8a8414dd1c1c4432140
0 commit comments