S3BucketMisconf
S3BucketMisconf is an advanced tool designed to scan AWS S3 buckets for misconfigurations. It identifies publicly accessible buckets, checks permissions, and detects sensitive data leaks. Ideal for bug bounty hunters and pentesters, it automates the recon process and enhances cloud storage security assessment efficiently.
Table of Contents
Loading contents...
README.md
S3BucketMisconf - AWS S3 Bucket Misconfiguration Finder
S3BucketMisconf is a tool designed to help you identify misconfigured AWS S3 buckets that might be publicly accessible. It checks if the S3 bucket is valid ✅ or invalid ❌, and gives feedback about the security status of each bucket. The tool uses Dork-Eye results and interacts with AWS CLI to validate the buckets.
Features
- Bucket Validation: Checks if the S3 bucket exists and whether it’s publicly accessible. 🌐
- Real-Time Progress Bar: Displays a dynamic progress bar during validation. ⏳
- Output Files: Saves results to text files for further analysis. 💾
- Multi-Threaded: Uses multiple threads to make the validation process faster. ⚡
- Easy-to-Use Interface: Interactive UI with colorful and clean prompts. 🎨
Requirements
- Python 3.x 🐍
- AWS CLI: Make sure AWS CLI is installed and configured with the correct permissions for bucket validation. 🔑
- Install AWS CLI: AWS CLI Installation 📥
- Configure AWS CLI: Runaws configure
and input your credentials. ✨ - Dork-Eye: A Python library used to extract potential S3 URLs from Dork-Eye results. 🔎
- Install Dork-Eye:git clone https://github.com/BullsEye0/dorks-eye
🛠️ -
figlet : Used to generate a fun ASCII banner for the tool. 🎉
- Install figlet:- Linux (Ubuntu/Debian):
bash sudo apt-get install figlet
- MacOS:
bash brew install figlet
- Windows: You can use Cygwin to install figlet. 💻
- Linux (Ubuntu/Debian):
-
lolcat : Used to add funny “lolcat” messages for a fun experience. 😹
- Install lolcat:- Linux (Ubuntu/Debian):
bash sudo apt-get install lolcat
- MacOS:
bash brew install lolcat
- Windows: You can use Cygwin to install lolcat or find an equivalent package for Windows. 🐱
- Linux (Ubuntu/Debian):
Installation
-
Clone the repository:
bash git clone https://github.com/Atharv834/S3BucketMisconf.git cd S3BucketMisconf
-
Install required Python packages:
bash pip install -r requirements.txt
-
Ensure AWS CLI is configured and that you have valid permissions to access AWS S3 resources. 🚀
-
Dork-Eye should be installed using
git clone https://github.com/BullsEye0/dorks-eye
. 📚 -
Install figlet and lolcat 🌟
Usage
Step 1: Provide Dork-Eye Results File
Run the script:
python news3main.py
It will ask you to enter the Dork-Eye results file:
[?] Enter the Dork-Eye results file:
Provide the file path where Dork-Eye has saved the results. 🗂️
Step 2: Script Workflow
- The script will validate all potential S3 URLs extracted from the provided file. 🔒
- It will display results for each S3 bucket, showing whether the bucket is valid ✅ or invalid ❌.
- It also checks if the bucket is publicly accessible and gives feedback based on the result. 🌍
Step 3: View Output
- Validation results will be saved to
s3_validation_results.html
. 📝 - Only valid URLs will be saved to
valid.txt
. 📂
[✔] Validation results saved to validated_buckets.txt
[✔] Valid URLs saved to valid.txt
Example Output:
Step 4: Next Steps
After running the script:
- You can review the valid URLs in valid.txt
for further testing. 🔍
- Use these buckets to check for sensitive data leaks or misconfigurations. 💡
License
This project is licensed under the MIT License - see the LICENSE file for details. 📄
Credits
- Developed by LordofHeaven. 💻
- Uses AWS CLI, Dork-Eye, figlet, and lolcat (for fun ASCII banners). 🎨
- Inspired by security research and misconfiguration detection. 🔐
Tool Information
Related Tools
ZoomeyeSearch
A powerful CLI tool that uses ZoomEye to search exposed services, gather intelligence, and automate reconnaissance.
StableNucleiPrompt
Nuclei Prompt Scanner adalah tools berbasis Python yang memanfaatkan Nuclei dan AI Prompting untuk melakukan pemindaian kerentanan pada web target berdasarkan kategori OWASP dan lainnya, dengan antarmuka interaktif berbasis CLI (command-line).
Stablealtdns
Generates permutations, alterations and mutations of subdomains and then resolves them
Stable