New attack technique: Create Workload Identity Federation Pool and Provider (gcp.persistence.create-workload-identity-federation)#808
Open
Minosity-VR wants to merge 3 commits into
Open
Conversation
c3fbc21 to
be166ae
Compare
95b153e to
ce99272
Compare
be166ae to
65f501d
Compare
ce99272 to
4322496
Compare
65f501d to
10a401f
Compare
4322496 to
2496e57
Compare
10a401f to
a370532
Compare
2496e57 to
363422b
Compare
…ovider (gcp.persistence.create-workload-identity-federation) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
363422b to
7b7c5db
Compare
a370532 to
3a0ae74
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Adds a new GCP attack technique
gcp.persistence.create-workload-identity-federationthat establishes a persistent backdoor by creating a WIF pool with an X.509 provider, allowing any machine holding a certificate signed by an attacker-controlled CA to impersonate a target service account without creating a service account key.Also bumps
google.golang.org/apifromv0.218.0tov0.230.0(the minimum version that includes X.509 WIF types iniam/v1). The go version requirement is unchanged atgo 1.23.0.Motivation
GCP parity effort with existing AWS techniques (analogous to
aws.persistence.rolesanywhere-create-trust-anchor).Checklist
Test results
google.iam.admin.v1.CreateWorkloadIdentityPoolandgoogle.iam.admin.v1.CreateWorkloadIdentityPoolProvider)