You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
name: "Link: PDF display text to free file host from unknown sender"
2
+
description: "Detects messages containing a single link with PDF-named display text that redirects to a free file hosting service, sent from unknown or free email providers without previous message threads."
3
+
type: "rule"
4
+
severity: "high"
5
+
source: |
6
+
type.inbound
7
+
// the display_text ends in .pdf and goes to a free file host
8
+
and any(body.links,
9
+
strings.iends_with(.display_text, '.pdf')
10
+
and .href_url.domain.domain in $free_file_hosts
11
+
)
12
+
// there is only a single link to the free file host
13
+
and length(filter(body.links, .href_url.domain.domain in $free_file_hosts)) == 1
14
+
// the sender is not well known, or is from free mail
15
+
and (
16
+
sender.email.domain.root_domain not in $tranco_1m
17
+
or sender.email.domain.root_domain in $free_email_providers
18
+
or sender.email.domain.root_domain == "onmicrosoft.com"
0 commit comments