Attacks and Exploits
A tester finds a Google Cloud service account key file in a code repository. The rules of engagement require the vendor's own command-line tool to authenticate with it and list accessible projects. Which tool should be used?
Show the answer
Correct answerB. Google Cloud CLI
AWhy not this: AWS CLI is Amazon's tool and works only with AWS credentials and APIs.
BWhy this is right: gcloud is Google's native CLI and can authenticate with a service account key, then list projects.
CWhy not this: Pacu is a third-party AWS exploitation framework, so it breaks the vendor-tool rule and does not target Google Cloud.
DWhy not this: Azure CLI is Microsoft's tool and manages Azure resources, not Google Cloud service accounts.
The Google Cloud CLI (gcloud) is Google's native tool and can activate a service account from its key file and list the projects it can access. Azure CLI and AWS CLI are also vendor tools, but they only work against their own clouds.