HACKING GCP FOR FUN &
PROFIT
Security Engineer at BugBase
Pursuing MBBS
Part-time Bug bounty hunter
CyberSecurity Trainer & Mentor
eJPT, CRTP
Successfully Hacked and
Secured 150+ companies
AGNIBHA DUTTA
Y0GI
aka
WHOAMI?
Cloud Providers in Market
Introduction to Google Cloud Platform
GCP (Google Cloud Platform) is a suite of cloud computing services
provided by Google. It offers a wide range of services and tools for building,
deploying, and managing applications, as well as for storing and analyzing
data. GCP enables businesses, developers, and organizations to use
Google's infrastructure and resources for scalable and reliable cloud
solutions.
Granular Permissions: Assign specific permissions to different users for various
resources, enabling precise access control and enhancing security within the GCP
environment.
Centralized Management: Simplifies the administration of user permissions and access
policies across all GCP resources from a single platform, improving efficiency and
compliance.
Identity and Access Management (IAM) in GCP allows administrators to control who has
access to cloud resources, ensuring secure and precise management of permissions.
GCP IAM Basics
COMPUTE ENGINE
Virtual Machine Instances: Compute Engine provides scalable, high-performance (VM) instances that
can be customized to meet various requirements.
Integration with GCP Services: Seamlessly integrates with other GCP services such as Cloud Storage,
BigQuery, and Kubernetes Engine, enabling comprehensive solutions for various computing needs.
Service Account Integration: Compute Engine allows users to attach service accounts to VM
instances, granting them access to other Google Cloud services without requiring explicit
authentication, enhancing automation and seamless integration within GCP environments.
GCP STORAGE BUCKET
Storage Bucket is something similar to AWS S3 bucket and allows you to store files
Sometimes buckets can be misconfigured and be publicly exposed.
Let’s look at some Misconfigs !
GCP MISCONFIG
Adding principles like ‘allUsers’ or ‘allAuthenticatedUsers’
Misconfigured GCP Bucket Policy and Publicaly exposed
SSRF in GCP
IAM misconfig in GCP
Exposed Private Keys
Any Questions?
My Socials:
https://x.com/AnonY0gi
https://linkedin.com/in/y0gi
THANK YOU

Hacking GCP For Fun by Agnibha Dutta.pdf

  • 1.
    HACKING GCP FORFUN & PROFIT
  • 2.
    Security Engineer atBugBase Pursuing MBBS Part-time Bug bounty hunter CyberSecurity Trainer & Mentor eJPT, CRTP Successfully Hacked and Secured 150+ companies AGNIBHA DUTTA Y0GI aka WHOAMI?
  • 3.
  • 4.
    Introduction to GoogleCloud Platform GCP (Google Cloud Platform) is a suite of cloud computing services provided by Google. It offers a wide range of services and tools for building, deploying, and managing applications, as well as for storing and analyzing data. GCP enables businesses, developers, and organizations to use Google's infrastructure and resources for scalable and reliable cloud solutions.
  • 5.
    Granular Permissions: Assignspecific permissions to different users for various resources, enabling precise access control and enhancing security within the GCP environment. Centralized Management: Simplifies the administration of user permissions and access policies across all GCP resources from a single platform, improving efficiency and compliance. Identity and Access Management (IAM) in GCP allows administrators to control who has access to cloud resources, ensuring secure and precise management of permissions. GCP IAM Basics
  • 6.
    COMPUTE ENGINE Virtual MachineInstances: Compute Engine provides scalable, high-performance (VM) instances that can be customized to meet various requirements. Integration with GCP Services: Seamlessly integrates with other GCP services such as Cloud Storage, BigQuery, and Kubernetes Engine, enabling comprehensive solutions for various computing needs. Service Account Integration: Compute Engine allows users to attach service accounts to VM instances, granting them access to other Google Cloud services without requiring explicit authentication, enhancing automation and seamless integration within GCP environments.
  • 7.
    GCP STORAGE BUCKET StorageBucket is something similar to AWS S3 bucket and allows you to store files Sometimes buckets can be misconfigured and be publicly exposed.
  • 8.
    Let’s look atsome Misconfigs !
  • 9.
    GCP MISCONFIG Adding principleslike ‘allUsers’ or ‘allAuthenticatedUsers’ Misconfigured GCP Bucket Policy and Publicaly exposed
  • 10.
  • 12.
  • 13.
  • 15.
  • 16.