Skip to content

Commit 7bc7065

Browse files
[Test Rules] [PR #4300] added rule: Attachment: Callback scam file extension
1 parent dac4d8d commit 7bc7065

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: "Attachment: Callback scam file extension"
2+
description: "Detects inbound messages with short or no text content containing an attachment that exhibit callback scam characteristics, sent from untrusted domains."
3+
type: "rule"
4+
severity: "medium"
5+
source: |
6+
type.inbound
7+
and (body.current_thread.text is null or length(body.current_thread.text) < 500)
8+
and any(attachments,
9+
(.file_extension in~ ("ppt", "pptx"))
10+
and (
11+
any(file.explode(.),
12+
any(ml.nlu_classifier(.scan.strings.raw).intents,
13+
.name == "callback_scam" and .confidence != "low"
14+
)
15+
)
16+
)
17+
)
18+
and not sender.email.domain.root_domain in $high_trust_sender_root_domains
19+
attack_types:
20+
- "Callback Phishing"
21+
tactics_and_techniques:
22+
- "Social engineering"
23+
detection_methods:
24+
- "File analysis"
25+
- "Sender analysis"
26+
id: "17aeb612-ba56-50aa-871a-110a553f3339"
27+
og_id: "769b3333-4cde-544c-a081-ef9a75dddd24"
28+
testing_pr: 4300
29+
testing_sha: 6f611f8b243d9f4bd642573fe1420dc9eaa48c85

0 commit comments

Comments
 (0)