Skip to content

Commit c08a525

Browse files
[Test Rules] [PR #4314] added rule: Brand impersonation: McAfee
1 parent 74034dc commit c08a525

1 file changed

Lines changed: 53 additions & 0 deletions

File tree

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: "Brand impersonation: McAfee"
2+
description: "Detects messages impersonating McAfee through display name, subject line, body content, or NLU entity detection when the sender is not from verified McAfee domains or other high-trust domains with valid DMARC authentication."
3+
type: "rule"
4+
severity: "medium"
5+
source: |
6+
type.inbound
7+
and (
8+
regex.icontains(body.current_thread.text,
9+
'McAfee.{0,30}(?:Defense|Protection)'
10+
)
11+
or regex.icontains(subject.base, 'McAfee.{0,30}(?:Defense|Protection)')
12+
or regex.icontains(sender.display_name,
13+
'^[\s[:punct:]]*mc\s*a+f+ee+(?:$|[^,])'
14+
)
15+
or (
16+
any(ml.nlu_classifier(body.current_thread.text).entities,
17+
.name in ("org", "sender") and strings.icontains(.text, 'mcafee')
18+
)
19+
and length(filter(ml.nlu_classifier(body.current_thread.text).entities,
20+
.name == "urgency"
21+
)
22+
) >= 2
23+
)
24+
)
25+
and not any(ml.nlu_classifier(body.current_thread.text).topics,
26+
.name in ("Newsletters and Digests", "Advertising and Promotions")
27+
and .confidence != "low"
28+
)
29+
and not (
30+
sender.email.domain.root_domain in ('mcafee.com', 'mcafeesecure.com')
31+
and headers.auth_summary.dmarc.pass
32+
)
33+
and not (
34+
sender.email.domain.root_domain in $high_trust_sender_root_domains
35+
and headers.auth_summary.dmarc.pass
36+
)
37+
38+
attack_types:
39+
- "Credential Phishing"
40+
- "BEC/Fraud"
41+
- "Callback Phishing"
42+
tactics_and_techniques:
43+
- "Impersonation: Brand"
44+
- "Social engineering"
45+
detection_methods:
46+
- "Content analysis"
47+
- "Header analysis"
48+
- "Natural Language Understanding"
49+
- "Sender analysis"
50+
id: "2fc7931f-3169-5c4a-92f1-6a79b2745fbf"
51+
og_id: "6b593b92-b4f8-5a38-a2ba-216432df589c"
52+
testing_pr: 4314
53+
testing_sha: c4a1e6229311a7052e7e032935f811317a7d52dd

0 commit comments

Comments
 (0)