Skip to content

Add Enumeration for ALL services for GCP #404

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 14, 2024

Conversation

WebbinRoot
Copy link
Contributor

Noticed hackingthe.cloud seemed to only have enumerate service accounts? Added a page to cover enumerating all permission for GCP using a service account as an example. Explain testIamPermissions, show gcpwn with --iam on single service or with enum_all. Finally show how you can brute force ~9500 permissions at the end using the tool. Talk from fwd:cloudsec is here: https://www.youtube.com/watch?v=opvv9h3Qe0s.

Covers ways to enumerate permissions in GCP with gcpwn

- testIamPermissions
- gcpwn: running tool to passively get permissions
- gcpwn: adding testIamPermissions to get more permissions for service
- gcpwn: running enum_all with --iam to get all testIamPermissions
- gcpwn: running --all-permissions to brute force ~9500 permissions in batches
Truncate some info, doesn't really matter as SA key already deleted
@Frichetten
Copy link
Contributor

Hey Scott, thank you for the contribution!! I'll let the CI checks run. As long as everything passes, I will merge this in.

@Frichetten Frichetten merged commit 480f875 into Hacking-the-Cloud:main Jul 14, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants