EP60 Impersonating Service Accounts in GCP and Beyond: Cloud Security Is About IAM?

11 Apr 2022 · 31 min
Cloud Security Podcast by Google

11 Apr 2022 · 31 min

0:00

In this episode of the Cloud Security Podcast, hosts Timothy Peacock and Anton Chuvakin interview Dylan Arey, co‑founder of Truffle Security and former independent security researcher, to unpack Google Cloud’s identity and access management (IAM) model. The conversation begins with a contrast between on‑premise, user‑centric identity (e.g., Active Directory) and GCP’s resource‑centric approach, where permissions are queried from the resource side rather than the identity side. They define service accounts, explain how they act both as identities and as resources, and dive deep into the three IAM permissions that enable service‑account impersonation: actAs, tokenCreator, and workloadIdentityUser. The discussion recounts the 2020 Black Hat disclosure that highlighted dangerous default IAM grants on automatically created service accounts, prompting Google to change default behavior. Detection strategies are explored, emphasizing the importance of token‑creation audit logs, the limited visibility of actAs actions, and a community‑released “spider” tool that can be monitored via specific Stackdriver filters. For mitigation, the guests recommend enabling the organization policy that disables automatic IAM grants for default service accounts, applying least‑privilege grants at the individual resource level, and generally tightening IAM hygiene. The episode concludes with resources (Black Hat talk, Rhino Labs, GitLab, Kat Traxler) and a practical tip: flip the default‑grant org policy to dramatically improve security for teams transitioning from on‑prem to GCP.

Chapters

More from Anton

30:39
Podcast

Project Atlas: Wiz's AI Vulnerability Research

2mo ago
33:38
Podcast

EP289 Software Engineering vs. Software Craft: How Google Scalably Eliminates Classes of Vulnerabilities

2mo ago
25:32
Podcast

EP288 CISO Tested, Board Approved: Cloud Resilience with General Mills CISO Noah Korba

2mo ago
38:10
Podcast

EP287: Creating Trust at Global Scale with Local AI: Reken-ing with Shuman Ghosemajumder

2mo ago
27:28
Podcast

EP286 Building an AI-pilled, solo vibe-coded, Clickhouse-based SIEM with Dan Lussier

3mo ago
20:17
Podcast

EP285 Scaling Lessons from Leading the NSA to Defending the World with Morgan Adamski

3mo ago
25:35
Podcast

EP284 Closest Alligator to the Canoe: How Transforming SOC Became P0 for Lloyds Bank

3mo ago
28:36
Podcast

EP283: How Google Cloud CISO Chris Betz Uses LLMs to Defend Billions of Users from Vulnerablities

3mo ago
48:40
Podcast

EP282: Debating Coupled or Decoupled SIEM with Alex Hurtado and Christopher Witter

4mo ago
27:24
Podcast

EP281: Deceiving Adversaries at Scale with Kevin Conley

4mo ago
29:46
Podcast

EP280 Hyperscaling Cloud Security: Wiz Joins the Cloud Security Podcast by Google

4mo ago
See all content