New attack technique: Overwrite a Cloud Function with Malicious Code (gcp.persistence.overwrite-cloud-function)#809
Open
Minosity-VR wants to merge 3 commits into
Conversation
95b153e to
ce99272
Compare
bb682c1 to
d552117
Compare
ce99272 to
4322496
Compare
d552117 to
d0d5122
Compare
4322496 to
2496e57
Compare
d0d5122 to
c8802ae
Compare
2496e57 to
363422b
Compare
c8802ae to
fb8f494
Compare
…(gcp.persistence.overwrite-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>
363422b to
7b7c5db
Compare
fb8f494 to
6998c92
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.overwrite-cloud-functionthat replaces the source code of a Cloud Functions v2 function with code that exfiltrates runtime environment variables, simulating a supply-chain or insider attack.Motivation
GCP parity effort with existing AWS techniques (analogous to
aws.persistence.lambda-overwrite-code).Checklist
Test results
google.cloud.functions.v2.CloudFunctionsService.UpdateFunction)