Skip to content

Commit 07a1214

Browse files
authored
Update link_new_domain_in_link_first_time_sender.yml
1 parent e549c5a commit 07a1214

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

detection-rules/link_new_domain_in_link_first_time_sender.yml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,21 @@ description: |
44
type: "rule"
55
severity: "medium"
66
source: |
7-
type.inbound
8-
and length(body.links) > 0
9-
and any(body.links, network.whois(.href_url.domain).days_old <= 10)
10-
and (
11-
(
12-
profile.by_sender().prevalence in ("new", "outlier")
13-
and not profile.by_sender().solicited
14-
)
15-
or profile.by_sender().any_messages_malicious_or_spam
7+
type.inbound
8+
and length(body.links) > 0
9+
and any(body.links, network.whois(.href_url.domain).days_old <= 10)
10+
and (
11+
(
12+
profile.by_sender().prevalence in ("new", "outlier")
13+
and not profile.by_sender().solicited
1614
)
17-
and not profile.by_sender().any_messages_benign
15+
or profile.by_sender().any_messages_malicious_or_spam
16+
)
17+
// negate senders which have had previous messages marked as benign which pass auth
18+
and not (
19+
profile.by_sender().any_messages_benign
20+
and profile.by_sender().auth_failed == false
21+
)
1822
tags:
1923
- "Attack surface reduction"
2024
attack_types:

0 commit comments

Comments
 (0)