Skip to content

A collection of Bash scripts for enumerating GCP environments to discover services, service accounts, IAM roles, storage buckets, compute instances, and more for internal cloud security assessments

Notifications You must be signed in to change notification settings

nairuzabulhul/google-cloud-pentest-toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 

Repository files navigation

🧰 Google Cloud Pentest Toolkit

A collection of Bash scripts to enumerate and audit GCP environments during internal security assessments or penetration tests.

Tools

  • gcp-service-account-mapper.sh — Enumerates service accounts and highlights risky permissions.
  • gcp_get_user_roles.sh — Lists IAM roles assigned to a user across projects and organizations.
  • buckets_file_ext_counter.sh — Counts and categorizes file extensions within GCS buckets.
  • enumerate_instances.sh — Retrieves GCP Compute Engine instance metadata for security review.
  • buckets_audit.sh - Enumerate accessible GCS buckets

gcp-service-account-mapper.sh

./gcp-service-account-mapper.sh [-p project_number] [-o output_file] [-h]

gcp_get_user_roles.sh

./get_user_roles.sh [file_with_projects_or_org_ids] [user_email]

enumerate_instances.sh

./enumerate_instances.sh

buckets_audit.sh

./buckets_audit.sh [p <PROJECT_ID_OR_NUMBER>]

About

A collection of Bash scripts for enumerating GCP environments to discover services, service accounts, IAM roles, storage buckets, compute instances, and more for internal cloud security assessments

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages