GithubHelp home page GithubHelp logo

hartl3y94 / bucket-hunter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from samuelcardillo/bucket-hunter

0.0 0.0 0.0 1.92 MB

Amazon AWS Exposed Bucket Hunter - Security research

JavaScript 100.00%

bucket-hunter's Introduction

Bucket Hunter - Amazon AWS Open Files Scraper

After few research, we discovered that by using passive DNS lookup on Amazon servers we can found hostname of customer hosted in the cloud. Many of them are not using any authentication systems and some of them are hosting sensitive files.

We wrote a quick tool as proof of concept of automated exploitation as well as a white paper.

How to install

  • Clone the git (or click on the download button)
  • Install Node.js on your computer
  • Open your console and go in the repertory where bucket-hunter.js is located
  • Write npm install and wait until everything is finished
  • Write node bucket-hunter.js in the console

How does it work :

To find the IP range of Amazon, use this JSON document. The use of this JSON makes this security research unique by letting us use official Amazon IP ranges and not technics like bruteforcing. Yet, the previous bucket hunter were doing very well.

Lets take the ip of one for example :

"ip_prefix": "54.231.128.0/19"

So the IP goes from 54.231.128.0 to 54.231.128.19.

Launch the script by writing node bucket-hunter.js -i 54.231.128.0 in order to see the DNS passive lookup result concerning this URL. After a bit of times, you will see a list of results.

If you see something like example.s3.amazonaws.com is available then you can copy the URL (example.s3.amazonaws.com) and launch the command :node bucket-hunter.js -f example.s3.amazonaws.com which will give you link for every files listed on the Amazon AWS bucket you selected.

authors :

bucket-hunter's People

Contributors

samuelcardillo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.