Link: Firebase Storage suspicious file delivery
Detects inbound emails containing links to firebasestorage.googleapis.com where the hosted file path matches HTML, disk image (ISO/IMG/VHD), or executable/script file types (e.g., .exe, .dll, .js, .lnk, .vbs). This pattern indicates abuse of Google's legitimate Firebase Storage service to host and deliver malicious payloads while evading detection.
Sublime rule (View on GitHub)
1name: "Link: Firebase Storage suspicious file delivery"
2description: "Detects inbound emails containing links to firebasestorage.googleapis.com where the hosted file path matches HTML, disk image (ISO/IMG/VHD), or executable/script file types (e.g., .exe, .dll, .js, .lnk, .vbs). This pattern indicates abuse of Google's legitimate Firebase Storage service to host and deliver malicious payloads while evading detection."
3type: "rule"
4severity: "medium"
5source: |
6 type.inbound
7 and any(body.links,
8 .href_url.domain.domain == "firebasestorage.googleapis.com"
9 and (
10 regex.imatch(.href_url.path,
11 '/v0/b/[^/]+/o/.+\.(?:s?html?|xhtml|svgz|iso|img|vhdx?)'
12 )
13 or strings.iends_with(.href_url.path,
14 ".bat",
15 ".dll",
16 ".exe",
17 ".js",
18 ".lnk",
19 ".vba",
20 ".vbe",
21 ".vbs"
22 )
23 )
24 )
25tags:
26 - "Attack surface reduction"
27attack_types:
28 - "Malware/Ransomware"
29tactics_and_techniques:
30 - "Free file host"
31 - "Evasion"
32detection_methods:
33 - "URL analysis"
34id: "981e2515-3ae8-5222-b7e3-7226de4d0b5e"