Skip to content

Commit 5a93f6d

Browse files
[Shared Samples] [PR #4683] added rule: PR# 4683 - Brand impersonation: Claude with newly registered domains
1 parent 42c57d7 commit 5a93f6d

1 file changed

Lines changed: 57 additions & 0 deletions

File tree

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: "PR# 4683 - Brand impersonation: Claude with newly registered domains"
2+
description: "Detects messages impersonating Anthropic or Claude using sender display names of 'Anthropic' or 'Claude' from domains not affiliated with the legitimate brands. The rule flags messages where the sending domain, reply-to domain, or return-path domain is newly registered (under 60 days old)."
3+
type: "rule"
4+
severity: "medium"
5+
source: |
6+
type.inbound
7+
and not sender.email.domain.root_domain in ("claude.com", "anthropic.com")
8+
and sender.display_name in ("Anthropic", "Claude")
9+
// a newly created domain
10+
and (
11+
all(headers.reply_to,
12+
.email.domain.root_domain not in $free_email_providers
13+
and network.whois(.email.domain).days_old <= 60
14+
and .email.email != sender.email.email
15+
)
16+
// or the return path or sender domain is less than 60d old
17+
or network.whois(headers.return_path.domain).days_old <= 60
18+
or network.whois(sender.email.domain).days_old <= 60
19+
)
20+
and (
21+
(
22+
strings.contains(body.current_thread.text, "Claude")
23+
and strings.icontains(body.current_thread.text, "claude ads")
24+
)
25+
or strings.icontains(body.current_thread.text, "anthropic, pbc")
26+
or regex.icontains(subject.base,
27+
"(?:early.{0,20}claude|claude.{0,20}(?:early.access|ads))"
28+
)
29+
)
30+
// and any(body.links,
31+
// strings.icontains(.href_url.domain.domain, 'claude-marketing-team.com')
32+
// or strings.icontains(.href_url.domain.domain, 'anthropic-ads.com')
33+
// )
34+
// negate highly trusted sender domains unless they fail DMARC authentication
35+
and not (
36+
sender.email.domain.root_domain in $high_trust_sender_root_domains
37+
and coalesce(headers.auth_summary.dmarc.pass, false)
38+
)
39+
attack_types:
40+
- "BEC/Fraud"
41+
- "Spam"
42+
tactics_and_techniques:
43+
- "Lookalike domain"
44+
- "Social engineering"
45+
- "Spoofing"
46+
detection_methods:
47+
- "Content analysis"
48+
- "Header analysis"
49+
- "Sender analysis"
50+
- "Whois"
51+
id: "eea62f23-04c6-59ad-af52-8677a33f164a"
52+
tags:
53+
- created_from_open_prs
54+
- rule_status_added
55+
- pr_author_cybher0808
56+
references:
57+
- https://github.com/sublime-security/sublime-rules/pull/4683

0 commit comments

Comments
 (0)