2023-12-07 06:12:31 +00:00
|
|
|
id: gcp-bucket-enum
|
2023-02-19 02:51:00 +00:00
|
|
|
|
|
|
|
info:
|
2023-12-07 06:12:31 +00:00
|
|
|
name: GCP Buckets - Cloud Enumeration
|
2023-02-19 02:51:00 +00:00
|
|
|
author: initstring
|
2023-07-26 09:50:43 +00:00
|
|
|
severity: info
|
2023-12-07 06:12:31 +00:00
|
|
|
description: |
|
|
|
|
Searches for open and protected buckets in GCP.
|
|
|
|
metadata:
|
|
|
|
verified: true
|
2024-01-29 11:58:34 +00:00
|
|
|
max-request: 1
|
2024-01-14 09:21:50 +00:00
|
|
|
tags: cloud,enum,cloud-enum,gcp
|
2023-02-19 02:51:00 +00:00
|
|
|
|
|
|
|
self-contained: true
|
|
|
|
|
|
|
|
variables:
|
2023-12-07 06:12:31 +00:00
|
|
|
BaseDNS: "storage.googleapis.com"
|
2023-02-19 02:51:00 +00:00
|
|
|
|
2023-07-26 09:50:43 +00:00
|
|
|
http:
|
2023-02-19 02:51:00 +00:00
|
|
|
- raw:
|
2023-03-09 15:10:04 +00:00
|
|
|
- |
|
2023-12-07 06:12:31 +00:00
|
|
|
GET http://{{wordlist}}.{{BaseDNS}} HTTP/1.1
|
|
|
|
Host: {{wordlist}}.{{BaseDNS}}
|
|
|
|
|
2023-02-19 02:51:00 +00:00
|
|
|
redirects: false
|
2023-12-07 06:12:31 +00:00
|
|
|
|
2023-02-19 02:51:00 +00:00
|
|
|
attack: batteringram
|
|
|
|
threads: 10
|
2023-12-07 06:12:31 +00:00
|
|
|
|
2023-02-19 02:51:00 +00:00
|
|
|
matchers:
|
|
|
|
- type: status
|
|
|
|
name: "Open GCP Bucket"
|
|
|
|
status:
|
|
|
|
- 200
|
2023-12-07 06:12:31 +00:00
|
|
|
|
2023-02-19 02:51:00 +00:00
|
|
|
- type: status
|
|
|
|
name: "Protected GCP Bucket"
|
|
|
|
status:
|
2023-12-29 10:12:48 +00:00
|
|
|
- 403
|
2024-01-29 12:41:50 +00:00
|
|
|
# digest: 4a0a00473045022038ad1830fc8e77debc4c9fcab4d7eb4c62b9930c3f98860f5e6877c1e72578a4022100e3ea9b5730d32e9219e4716c79b5203733ff802460ee921d0f0c2199ecca7989:922c64590222798bb761d5b6d8e72950
|