GCP - Storage Persistence

HackTricksをサポートする

ストレージ

Cloud Storageに関する詳細情報は、以下を確認してください:

GCP - Storage Enum

storage.hmacKeys.create

バケットに対して永続性を維持するためにHMACを作成できます。この技術に関する詳細はこちらを確認してください

# Create key
gsutil hmac create <sa-email>

# Configure gsutil to use it
gsutil config -a

# Use it
gsutil ls gs://[BUCKET_NAME]

Another exploit script for this method can be found here.

公開アクセスを与える

バケットを公開可能にすることは、バケットへのアクセスを維持する別の方法です。方法については以下を確認してください:

GCP - Storage Post Exploitation
Support HackTricks

Last updated