New attack technique: Backdoor a Cloud Function (gcp.persistence.backdoor-cloud-function)#807
Open
Minosity-VR wants to merge 3 commits into
Conversation
e1f393d to
f57a647
Compare
c3fbc21 to
be166ae
Compare
f57a647 to
807d3ee
Compare
be166ae to
65f501d
Compare
807d3ee to
2a8cd64
Compare
65f501d to
10a401f
Compare
2a8cd64 to
af6b6d6
Compare
10a401f to
a370532
Compare
…door-cloud-function) 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>
af6b6d6 to
fc57a54
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.backdoor-cloud-functionthat grants unauthenticated invocation access to a Cloud Functions v2 function by adding anallUsersIAM binding on both the function and the underlying Cloud Run service.Motivation
GCP parity effort with existing AWS techniques (analogous to
aws.persistence.lambda-backdoor-function).Checklist
Test results
google.cloud.functions.v2.CloudFunctionsService.SetIamPolicyandgoogle.cloud.run.v2.Services.SetIamPolicywithallUsersbinding) — note that organization-level policies can prevent public access while still generating the audit log