Skip to content

Commit 1249fa3

Browse files
[PR #3466] added rule: Thread hijacking: Domain spoofing with financial content
1 parent d51fdf3 commit 1249fa3

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: "Thread hijacking: Domain spoofing with financial content"
2+
description: "Detects messages that appear to be part of an existing email thread but originate from a different domain than previous participants, combined with suspicious sender characteristics and financial content indicators."
3+
type: "rule"
4+
severity: "medium"
5+
source: |
6+
type.inbound
7+
and (
8+
// message is part of an existing thread
9+
length(headers.references) > 0
10+
or headers.in_reply_to is not null
11+
)
12+
and (
13+
// domain spoofing: sender domain differs from domains in thread history
14+
any(body.previous_threads,
15+
any(regex.iextract(.preamble, '<([^>]+@[^>]+)>'),
16+
strings.parse_email(.groups[0]).domain.root_domain != sender.email.domain.root_domain
17+
)
18+
)
19+
)
20+
and (
21+
// suspicious sender characteristics
22+
sender.email.domain.tld in $suspicious_tlds
23+
or sender.email.domain.domain in $free_email_providers
24+
)
25+
and (
26+
// financial/business content indicators
27+
regex.icontains(body.current_thread.text,
28+
'(bank|payment|transaction|invoice|swift|wire|transfer|account|financial|money|usd|dollar)'
29+
)
30+
)
31+
and (
32+
// standard reputation checks
33+
not profile.by_sender().solicited
34+
or profile.by_sender().any_messages_malicious_or_spam
35+
)
36+
and not profile.by_sender().any_messages_benign
37+
38+
attack_types:
39+
- "BEC/Fraud"
40+
tactics_and_techniques:
41+
- "Social engineering"
42+
- "Spoofing"
43+
- "Free email provider"
44+
detection_methods:
45+
- "Content analysis"
46+
- "Header analysis"
47+
- "Sender analysis"
48+
id: "a3ee6897-5c60-5095-bf90-7e11edbd6181"
49+
og_id: "7428de53-7b52-5ef5-81ba-c537e94a5711"
50+
testing_pr: 3466
51+
testing_sha: cd7c948e442dea9a26b0baaaf23fffab36518ba8

0 commit comments

Comments
 (0)