Skip to content

Commit aad2bb0

Browse files
[PR #3036] changed rule: Catbox.moe Link From Untrusted Source
1 parent 6187d77 commit aad2bb0

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

detection-rules/3036_link_catbox.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: "Catbox.moe Link From Untrusted Source"
2+
description: "Detects messages containing links to catbox.moe file hosting service from senders who either aren't in highly trusted domains or failed DMARC authentication"
3+
type: "rule"
4+
severity: "medium"
5+
source: |
6+
type.inbound
7+
and any(body.links,
8+
.href_url.domain.root_domain == "catbox.moe"
9+
and not strings.iends_with(.href_url.path, ".json")
10+
)
11+
// negate highly trusted sender domains unless they fail DMARC authentication
12+
and (
13+
(
14+
sender.email.domain.root_domain in $high_trust_sender_root_domains
15+
and not headers.auth_summary.dmarc.pass
16+
)
17+
or sender.email.domain.root_domain not in $high_trust_sender_root_domains
18+
)
19+
tags:
20+
- "Attack surface reduction"
21+
attack_types:
22+
- "Malware/Ransomware"
23+
tactics_and_techniques:
24+
- "Free file host"
25+
- "Social engineering"
26+
detection_methods:
27+
- "Header analysis"
28+
- "Sender analysis"
29+
- "URL analysis"
30+
id: "b1a3ff45-a9ef-5ede-acc6-6838d0b83db9"
31+
og_id: "d6041a8b-55a9-5016-b214-ba021f4eba64"
32+
testing_pr: 3036
33+
testing_sha: 41d33c53cfe19b6089db263a0199fffa2c3fd40c

0 commit comments

Comments
 (0)