Open Redirect: ust.hk
Message contains use of the ust.hk open redirect. This has been exploited in the wild.
Sublime rule (View on GitHub)
1name: "Open Redirect: ust.hk"
2description: |
3 Message contains use of the ust.hk open redirect. This has been exploited in the wild.
4type: "rule"
5severity: "medium"
6source: |
7 type.inbound
8 and any(body.links,
9 .href_url.domain.domain == "shib.ust.hk"
10 and strings.icontains(.href_url.path, '/discovery.jsp')
11 and regex.icontains(.href_url.query_params, '(?:^|&)return=')
12 )
13 and (
14 not profile.by_sender().solicited
15 or (
16 profile.by_sender().any_messages_malicious_or_spam
17 and not profile.by_sender().any_false_positives
18 )
19 )
20
21 // negate highly trusted sender domains unless they fail DMARC authentication
22 and (
23 (
24 sender.email.domain.root_domain in $high_trust_sender_root_domains
25 and not headers.auth_summary.dmarc.pass
26 )
27 or sender.email.domain.root_domain not in $high_trust_sender_root_domains
28 )
29attack_types:
30 - "Credential Phishing"
31 - "Malware/Ransomware"
32tactics_and_techniques:
33 - "Open redirect"
34detection_methods:
35 - "Sender analysis"
36 - "URL analysis"
37id: "700a19fb-638b-5e75-a70e-16fca265ada5"