Back to Blog
Cloud SecurityAWSAzureGCP

Cloud Pentesting: Key Differences Between AWS, Azure, and GCP

November 28, 202511 min read
Cloud Pentesting: Key Differences Between AWS, Azure, and GCP

Cloud penetration testing is less about finding one bad setting and more about proving how far one weak link carries an attacker. Each provider has its own identity model and its own footguns, but the pattern is the same everywhere: an over-permissive identity plus an exposed resource equals a path to your data. Here is what we look for on AWS, Azure, and GCP, and a few checks you can run yourself.

AWS: identity is the attack surface

Most AWS engagements start with IAM. A role that can assume other roles, a wildcard in a policy, or a trust relationship that is too broad becomes a ladder to higher privilege. On top of that, storage and metadata: public or misconfigured S3 buckets, presigned URLs that never expire, and instances still allowing the older instance metadata service (IMDSv1), which SSRF can abuse to steal credentials. A quick self-check for over-broad policies:

bash

# Find IAM policies that grant wildcard actions on all resources
aws iam list-policies --scope Local --query 'Policies[].Arn' --output text  | tr '	' '
' | while read arn; do
     v=$(aws iam get-policy --policy-arn "$arn" --query 'Policy.DefaultVersionId' --output text)
     aws iam get-policy-version --policy-arn "$arn" --version-id "$v"        --query "PolicyVersion.Document.Statement[?Action=='*'||Resource=='*']" --output text        | grep -q . && echo "OVER-BROAD: $arn"
   done

Azure: Entra ID and RBAC drift

Azure work usually begins in Entra ID. App registrations with lingering client secrets, over-scoped Graph permissions, and consent phishing are common openings. Then RBAC drift: a casual Contributor role on a whole subscription, or a custom role with surprising data actions. Storage brings SAS-token sprawl and public blobs; Key Vault brings access policies that trust too many principals.

GCP: service accounts in the spotlight

On GCP the recurring theme is service accounts. Primitive roles like Owner and Editor, cross-project service-account use, and over-broad Workload Identity bindings open doors. GKE clusters can leak node identities that reach far more than they should. Auditing who can impersonate a service account is a good starting point:

bash

# List members who can act as (impersonate) service accounts in a project
gcloud projects get-iam-policy PROJECT_ID --format=json  | jq -r '.bindings[] | select(.role|test("iam.serviceAccount(User|TokenCreator)")) | .role, .members[]'

The real risk is the chain. The findings that matter are rarely a single setting. They are an SSRF that steals a token, that assumes a higher role, that reads a bucket, that unlocks the next account. We test for the chain, then measure how quickly your logging and alerting notice.

Close the loop

Hardening means narrowing the script: least privilege enforced with service control policies or organization policies, mandatory IMDSv2, restricted egress, and immutable audit trails with alerts on unusual token use. Every finding should become a policy-as-code check so the same hole never reappears.

Running on AWS, Azure, GCP, or a mix and want a senior tester to prove your real blast radius? That is our cloud penetration testing service, get a quote.

Need Help With Security Testing?

Our experts can help you identify and fix vulnerabilities before attackers find them.

Ask for a quote

Get a fixed price

Tell us what you want tested and why now. We reply with a few scope questions, then a fixed quote.

Ask for a quote

150+

Pentests performed every year

800+

Vulnerabilities found in the past year

15+

Industries served

100%

Client satisfaction

Let's connect

How can we help you?

We use your details only to answer your message. Forms are delivered to our inbox by Web3Forms. Privacy statement

Protect what mattersLet's talk security

Ready to take your business's security to the next level? Our team is here to help you identify and resolve vulnerabilities before they become threats. Get in touch today through our contact form, and let's discuss how we can secure your digital environment with expert precision.

Got questions?We got the answers

Penetration testing, or "pen testing," is a simulated cyberattack against your systems to identify and exploit vulnerabilities. It's essential for organizations of all sizes because it helps uncover security flaws before malicious hackers can exploit them. Regular pen testing ensures your systems hold up and stay aligned with standards like PCI DSS and ISO 27001.

The frequency of penetration testing depends on several factors, such as the size of your business, the sensitivity of the data you handle, and regulatory requirements. However, we recommend at least annual penetration testing, especially after significant changes to your infrastructure or applications. This helps to ensure continuous protection against evolving threats.

A vulnerability assessment is a high-level review to identify potential security weaknesses, often through automated tools. A penetration test goes deeper, simulating real-world attacks to actively exploit vulnerabilities and determine their impact. The result is a detailed report, offering insights into how attackers could compromise your systems and providing actionable remediation steps.

No. At The Pentest Company, we conduct tests in a controlled environment to ensure minimal disruption. We work closely with your team to schedule testing during off-peak hours if necessary, and we provide a thorough plan before starting the test to ensure there are no surprises.

Absolutely. Our penetration testing services are designed to meet industry standards and frameworks, including OWASP Top 10, NIST, and PCI DSS. Our certified experts ensure that the tests are thorough, professional, and aligned with the specific compliance needs of your business.

Our tests start at EUR 2,500 for two days, including the report. Most web application tests fall between EUR 2,500 and 9,600, depending on size and the number of user roles. Our pricing page shows the typical range per test type. Your quote is a fixed price, and it does not go up if the test takes longer than we planned.

With years of experience and a team of certified experts, The Pentest Company focuses on actionable insights in detailed reports, helping you stay ahead of security threats. Our services are designed to meet industry standards, and we customize every test to meet the specific needs of your business.