Course
Cloud Security: GCP & Azure
How GCP and Azure actually grant access — resource-attached IAM, service accounts, managed identity, storage perimeters, vaults, and the logging gaps attackers walk through.
Keep reading
Related articles from the SudoSecurity blog.
AWS Emulator Puts AWS on Your Laptop. Keep Your IAM Tests Off It.
AWS released AWS Emulator on November 11, a free local server that answers AWS API calls on 127.0.0.1 with per-run keys and fresh certificates.
Big Tech Plans to Work with the Public Sector for Cybersecurity
Both Microsoft, Inc. and Alphabet, Inc. will put a combined $30 billion dollars into cybersecurity over the next five years and work with the public sector on several initiatives to help improve cybersecurity.
Zero Trust Everything: The Complete Guide to Self-Hosting Teleport for Secure Infrastructure Access
SudoSecurity runs Teleport internally for everything — admin panel access, secure database connections, Kubernetes, and zero-trust philosophy across our entire team. This is the complete technical guide to installing, configuring, and running your own self-hosted Teleport cluster from scratch.
What is SSRF? Server-Side Request Forgery and the Attack That Breached Capital One
SSRF tricks your server into making requests to internal systems — cloud metadata services, internal APIs, AWS credentials endpoints. It turned a WAF misconfiguration into 100 million stolen Capital One records
Reviews
Enrolled members can rate this course.
No reviews yet.
Identity Models
GCP's resource-attached allow policies versus Azure's dual Entra/RBAC planes, and the permissions that grant permissions.
- 01GCP IAM: The Policy Lives on the ResourceGCP binds principals to roles on the resource itself, and access is the union of every binding up the hierarchy.15mOpen
- 02Azure Has Two Permission Systems That Don't Talk to Each OtherEntra ID directory roles govern tenant objects; Azure RBAC governs resources — Contributor's listKeys reaches across the line.16mOpen
- 03The Permissions That Matter Are the Ones That Grant PermissionsactAs, TokenCreator, listKeys, runCommand, and setIamPolicy are the real admin surface in both clouds.14mOpen
Workload Identity
Service account keys, Workload Identity Federation, Managed Identity, and why default identities ship holding Editor.
- 01A Service Account JSON Key Is a Password That Never ExpiresThe key.json file is a bearer credential — no expiry, no MFA, no network boundary — and ADC will happily read it.13mOpen
- 02Workload Identity Federation: Exchange a Token, Don't Store a KeyWIF trades an OIDC assertion for a federated token and a short-lived service account token — the config file holds no secret at all.16mOpen
- 03Managed Identity: The Credential That Isn't a CredentialAzure IMDS mints tokens for the identity attached to the VM — which moves the attack surface to whatever can reach 169.254.169.254.15mOpen
- 04Default Service Accounts: Editor by Another NameGCP's default compute and App Engine identities are granted project Editor — every workload attached to them carries the project.12mOpen
Storage and the Data Plane
Buckets, SAS tokens, public-access flags, and the network perimeter everyone assumes the provider already built.
- 01GCS: `allUsers` Means All Users, and `allAuthenticatedUsers` Still Means All UsersThe two bucket principals that put objects on the internet, and the two switches that kill the whole mistake class.14mOpen
- 02Azure Storage: The Account Key Is a Master Key and SAS Is a URL That Leakskey1/key2 bypass the RBAC data-plane split entirely, and Microsoft's own 38TB SAS leak is the case study.16mOpen
- 03The PaaS Endpoint Is Public Until You Change It0.0.0.0/0 firewall rules, enabled-from-all-networks defaults, and the private-endpoint DNS debt you actually pay.14mOpen
Secrets and Keys
Secret Manager versus Key Vault, KMS separation of duties, and where the trust boundary actually sits after you move secrets into a vault.
- 01Secret Manager vs Key Vault: Same Shape, Different KnivesGCP scopes secrets as individual IAM resources; Azure's vault has two auth models — and one of them lets Contributor self-grant.14mOpen
- 02KMS: Who Can Decrypt Is the Real Security BoundaryEnvelope encryption means useToDecrypt turns storage reads into plaintext — split encrypt, decrypt, and admin across principals.15mOpen
Logging and Breach Anatomy
What is logged by default — and what is not — plus the real incidents that wrote the defaults you run today.
- 01Audit Logs: What's on by Default and What Isn'tGCP Admin Activity and Azure Activity Log log control plane by default — data reads are silent until you configure them.16mOpen
- 02Four Breaches That Wrote Your DefaultsMicrosoft's SAS leak, Storm-0558, Midnight Blizzard, and UniSuper — each one shipped a guardrail you're now expected to run.18mOpen