New attack technique: Grant IAP Tunnel Access to an External Identity (gcp.execution.iap-tunnel-session) - #796
Open
Minosity-VR wants to merge 3 commits into
Open
Conversation
Minosity-VR
force-pushed
the
simon.marechal/gcp-discovery-download-instance-metadata
branch
from
March 30, 2026 14:53
6985eca to
6feb46d
Compare
Minosity-VR
force-pushed
the
simon.marechal/gcp-execution-iap-tunnel-session
branch
from
March 30, 2026 14:54
ec6c066 to
8f0f815
Compare
Minosity-VR
marked this pull request as ready for review
April 1, 2026 07:24
Minosity-VR
force-pushed
the
simon.marechal/gcp-discovery-download-instance-metadata
branch
from
April 1, 2026 08:28
6feb46d to
e461282
Compare
Minosity-VR
force-pushed
the
simon.marechal/gcp-execution-iap-tunnel-session
branch
from
April 1, 2026 08:28
8f0f815 to
d365af8
Compare
Minosity-VR
force-pushed
the
simon.marechal/gcp-discovery-download-instance-metadata
branch
from
April 1, 2026 08:53
e461282 to
48187f4
Compare
Minosity-VR
force-pushed
the
simon.marechal/gcp-execution-iap-tunnel-session
branch
from
April 1, 2026 08:53
d365af8 to
52b4d0d
Compare
Minosity-VR
force-pushed
the
simon.marechal/gcp-discovery-download-instance-metadata
branch
from
April 1, 2026 09:04
48187f4 to
e3b03db
Compare
Minosity-VR
force-pushed
the
simon.marechal/gcp-execution-iap-tunnel-session
branch
from
April 1, 2026 09:04
52b4d0d to
34a3079
Compare
christophetd
force-pushed
the
simon.marechal/gcp-discovery-download-instance-metadata
branch
from
April 8, 2026 10:08
e3b03db to
4a33cbf
Compare
Base automatically changed from
simon.marechal/gcp-discovery-download-instance-metadata
to
main
April 8, 2026 13:01
… (gcp.execution.iap-tunnel-session) 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>
christophetd
force-pushed
the
simon.marechal/gcp-execution-iap-tunnel-session
branch
from
April 8, 2026 13:58
34a3079 to
dc07d5d
Compare
christophetd
reviewed
Apr 8, 2026
| <span style="font-variant: small-caps;">Detonation</span>: | ||
|
|
||
| - Add a project-level IAM binding granting <code>roles/iap.tunnelResourceAccessor</code> | ||
| to the attacker-controlled service account |
Contributor
There was a problem hiding this comment.
I think we need to give more detail on what external binding we're using here. See sample behavior at https://stratus-red-team.cloud/attack-techniques/GCP/gcp.persistence.backdoor-service-account-policy/#description
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?
New attack technique:
gcp.execution.iap-tunnel-sessionMotivation
GCP parity with existing AWS attack techniques.
Test results
stratus detonate gcp.execution.iap-tunnel-sessionSetIamPolicygrantingroles/iap.tunnelResourceAccessorappears in GCP Admin Activity audit logsChecklist