Giter Site home page Giter Site logo

barq's Introduction

Logo of barq

barq

barq: The AWS Cloud Post Exploitation framework!

What is it?

barq is a post-exploitation framework that allows you to easily perform attacks on a running AWS infrastructure. It allows you to attack running EC2 instances without having the original instance SSH keypairs. It also allows you to perform enumeration and extraction of stored Secrets and Parameters in AWS.

Prerequisites

  • An existing AWS account access key id and secret (Token too in some case)
  • Python 2 or 3. It can run with both. To run the msfvenom payloads, you need msfvenom to be available on your workstation, with the PATH setup correctly.

Installing

For python 2:

pip install -r requirements.txt

For python3

pip3 install -r requirements.txt

Better to create a virtualenv environment for the tool. Please note that using sudo with pip is not recommended.

Author

  • Mohammed Aldoub, also known as Voulnet, find me on Twitter

Main Features

  • Attacking EC2 instances without knowing keypairs or connection profiles/passwords.
  • Dumping EC2 secrets and parameters.
  • Enumerating EC2 instances and security groups.
  • Ability to launch Metasploit and Empire payloads against EC2 instances.
  • Training mode to test attacks and features without messing with running production environment.
  • Tab-completed commands in a menu-based navigation system.
  • Ability to dump EC2 instance metadata details.
  • Ability to use EC2 keys or tokens (for example acquired from compromised instances or leaked source code)
  • Printing for you the listening commands for msfconsole in cli mode for easy copy-pasting.

Contributing

PRs are welcome!

TODO:

  • Create a plugin-based class system for menus in the framework
  • Add a feature to exclude attacker-defined IPs and ports from security groups.
  • Add persistence functionality.
  • Launch attacks against Lambda, S3 and RDS.
  • Export hostnames, IPs and ports in an nmap-ready format for scanning.
  • Integrate fully with Metasploit and Empire REST APIs.

Help

  • From outside (in the terminal), run it with -help.
  • From inside the tool, run help to see each menu's command options.

Questions?

  • Raise an issue here in Github.
  • Contact me on Twitter.

barq's People

Watchers

 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.