Skip to content

Commit 81cb11b

Browse files
[PR #3044] changed rule: Link: Single file sharing link with minimal content from unknown sender
1 parent df28f37 commit 81cb11b

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: "Link: Single file sharing link with minimal content from unknown sender"
2+
description: "Detects messages containing a single link to a free file hosting service with minimal body text from senders with limited history or recent contact patterns. The rule identifies potential malicious file sharing by analyzing link density, content brevity, and sender trust signals."
3+
type: "rule"
4+
severity: "high"
5+
source: |
6+
type.inbound
7+
and strings.icount(body.current_thread.text, "\n") < 10
8+
// there are few links
9+
and length(body.current_thread.links) < 10
10+
// contains a link to free_file_host
11+
and any(body.current_thread.links,
12+
.href_url.domain.domain in $free_file_hosts
13+
)
14+
// is the only link to limewire
15+
and length(filter(body.current_thread.links,
16+
.href_url.domain.domain in $free_file_hosts
17+
)
18+
) == 1
19+
and length(body.previous_threads) == 0
20+
// negate highly trusted sender domains unless they fail DMARC authentication
21+
and (
22+
(
23+
sender.email.domain.root_domain in $high_trust_sender_root_domains
24+
and not headers.auth_summary.dmarc.pass
25+
)
26+
or sender.email.domain.root_domain not in $high_trust_sender_root_domains
27+
)
28+
and (
29+
profile.by_sender_email().days_known < 30
30+
or profile.by_sender_email().days_since.last_contact > 60
31+
)
32+
tags:
33+
- "Attack surface reduction"
34+
attack_types:
35+
- "Malware/Ransomware"
36+
- "Credential Phishing"
37+
tactics_and_techniques:
38+
- "Free file host"
39+
- "Social engineering"
40+
detection_methods:
41+
- "Content analysis"
42+
- "Sender analysis"
43+
- "URL analysis"
44+
id: "cf9bb3aa-4dd9-5104-a058-1d4f14c28537"
45+
og_id: "e560a504-23e3-5371-b71a-a8a694a359a6"
46+
testing_pr: 3044
47+
testing_sha: 9256a7cd84f3326a39b008047de981265882c9af

0 commit comments

Comments
 (0)