Link: Google Cloud Storage project bucket hosted HTML page

Detects inbound messages containing links to storage.googleapis.com or storage.cloud.google.com whose path points to a top-level HTML object in a Firebase Storage (.firebasestorage.app) or App Engine (.appspot.com) project bucket, a pattern used to abuse trusted Google infrastructure for hosting malicious pages.

Sublime rule (View on GitHub)

 1name: "Link: Google Cloud Storage project bucket hosted HTML page"
 2description: "Detects inbound messages containing links to storage.googleapis.com or storage.cloud.google.com whose path points to a top-level HTML object in a Firebase Storage (*.firebasestorage.app) or App Engine (*.appspot.com) project bucket, a pattern used to abuse trusted Google infrastructure for hosting malicious pages."
 3type: "rule"
 4severity: "medium"
 5source: |
 6  type.inbound
 7  and any(body.links,
 8          .href_url.domain.domain in (
 9            "storage.googleapis.com",
10            "storage.cloud.google.com"
11          )
12          // /<project>[.]firebasestorage[.]app/<object>[.]html
13          // or /<project>[.]appspot[.]com/<object>[.]html
14          and regex.imatch(.href_url.path,
15                           '/[^/]+\.(?:firebasestorage\.app|appspot\.com)/[^/]+\.s?html?'
16          )
17  )  
18attack_types:
19  - "Credential Phishing"
20tactics_and_techniques:
21  - "Free file host"
22  - "Evasion"
23detection_methods:
24  - "URL analysis"
25id: "0ffc00e9-ee97-5fba-9d45-05e118026f85"
to-top