Skip to content

Commit 9eb5b12

Browse files
[Shared Samples] [PR #4667] modified rule: PR# 4667 - Link: Self-sender with IP geolocation check
1 parent 91abba3 commit 9eb5b12

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

detection-rules/4667_link_self_sender_ip_check.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ source: |
1010
and recipients.to[0].email.email == sender.email.email
1111
)
1212
and any(body.current_thread.links,
13-
any(ml.link_analysis(.).unique_urls_accessed,
14-
.url == 'https://ipinfo.io/json'
13+
.href_url.domain.root_domain != sender.email.domain.root_domain
14+
and any(ml.link_analysis(.).unique_urls_accessed,
15+
.url == 'https://ipinfo.io/json'
1516
)
1617
)
1718
attack_types:

0 commit comments

Comments
 (0)