Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.71 KB

README.md

File metadata and controls

47 lines (34 loc) · 1.71 KB

Red-Bucket-GCP

Lightspin's Google Cloud Storage Bucket Scanner

Description

Scan your GCP Buckets for public access.

The tool analyzes the following:

  • Bucket's prevent public access
  • Bucket's access control type
  • Bucket policy and ACL
  • Object policy and ACL

You can use the use_cases folder, that contains terraform files of several interesting cases to test our tool.

Our Research

Link to the full security research blog

Requirements

GCP-Red-Bucket is built with Python 3 and google clients.

The tool requires:

Installation

git clone https://github.com/lightspin-tech/red-bucket-gcp.git
cd red-bucket-gcp
pip3 install -r requirements.txt

Usage

python3 main.py --project_id PROJECT_ID --access_token ACCESS_TOKEN [--output_path OUTPUT_PATH] [--output_type {JSON,CSV}]

Note: The output_path parameter should be the directory path you want the results file to be created in.

Contact Us

This research was held by Lightspin's Security Research Team. For more information, contact us at [email protected].

License

This repository is available under the Apache License 2.0.