Link: Google Cloud Storage link with redirect.html in URL
Detects inbound messages containing links that route through a redirect.html page hosted on Google Cloud Storage (storage.googleapis.com/storage.cloud.google.com). Attackers abuse legitimate cloud storage infrastructure to host redirect pages that forward victims to malicious destinations, evading URL reputation checks.
Sublime rule (View on GitHub)
1name: "Link: Google Cloud Storage link with redirect.html in URL"
2description: "Detects inbound messages containing links that route through a redirect.html page hosted on Google Cloud Storage (storage.googleapis.com/storage.cloud.google.com). Attackers abuse legitimate cloud storage infrastructure to host redirect pages that forward victims to malicious destinations, evading URL reputation checks."
3type: "rule"
4severity: "high"
5source: |
6 type.inbound
7 and any(body.links,
8 (
9 strings.iends_with(.href_url.path, 'redirect.html')
10 or strings.istarts_with(.href_url.fragment,
11 '/redirect.html',
12 'redirect.html?'
13 )
14 )
15 and .href_url.domain.domain in (
16 "storage.googleapis.com",
17 "storage.cloud.google.com"
18 )
19 )
20attack_types:
21 - "Credential Phishing"
22tactics_and_techniques:
23 - "Evasion"
24 - "Free file host"
25 - "Open redirect"
26detection_methods:
27 - "URL analysis"
28id: "2820ff89-7ae4-5fef-beac-86dc349ac0d8"