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
|
|
|
|
tags: cloud,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
|
|
|
|
# digest: 490a004630440220549241cfe0dbdadf24bcbdabd6cbf8e82a45bea577710e8409da53f3bdef37d202203bab8b09dea7b68aafc32f8214b331ee6dc4dbe85c0e7a34693b8062dec6fb6a:922c64590222798bb761d5b6d8e72950
|