Brosec: Interactive Reference Tool to Utilize Useful Payloads & Commands - TechnoExploit

Breaking

Post Top Ad

Post Top Ad

Sunday, November 5, 2017

Brosec: Interactive Reference Tool to Utilize Useful Payloads & Commands

                     Brosec is a terminal based reference utility designed to help us infosec bros and broettes with useful (yet sometimes complex) payloads and commands that are often used during work as infosec practitioners. An example of one of Brosec’s most popular use cases is the ability to generate on the fly reverse shells (python, Perl, powershell, etc) that get copied to the clipboard.
Assuming the user has already set up the required variables (see the Getting Started section of the wiki) a reverse shell using the awk command can be generated as easy as…

https://asciinema.org/a/2okrjipq4zt8669rb9n54xneg
Or maybe you need to remotely invoke a Powershell script? A download cradle can be generated like so.

https://asciinema.org/a/c2793p8lzzvla8pqji29snyvc
Additional Features and Usage Examples

Bros http(s)


Need a quick web server? Forget python SimpleHTTPServer, bros has your back with bros http when entered via the command line. An SSL server? bros https has you covered.


###### [Bros FTP](https://github.com/gabemarshall/Brosec/wiki/bros-ftp) Need to exfiltrate some data via ftp? Bros come with a handy `bros ftp` when entered via the command line. The ftp server accepts anonymous downloads/uploads from the CWD (so be careful when running).
Bros Encode
An encoder/decoder utility designed with penetration testers in mind that often find the need to encode and decode various payloads.


 
Learn about these features and more on the Brosec wiki.

Installation

The preferred method of installation (in order to get all of the latest updates) is to clone the source and install the dependencies manually (git clone && npm install).
However, a stable build can be quickly installed via the following instructions.

Mac

Quick Installation
  • brew install node – Install Nodejs (or download installer from https://nodejs.org/en/download/)
  • npm install -g Brosec – Install Brosec (may need sudo to symlink to /usr/local/bin)


Kali Linux

  •   apt-get install npm build-essential g++ xsel Install dependencies
  • npm install -g n Install n (nodejs version manager)
    • If the above fails, try – npm config set registry http://registry.npmjs.org/
  • n latest Install the latest version of nodejs
  • npm install -g Brosec – Install Brosec (may need sudo to symlink to /usr/local/bin)


Windows

  • Install nodejs via official installer
  • npm install -g Brosec – Install Brosec

Usage


Source: https://github.com/gabemarshall/Brosec

Also Read: Icewater: 3,000 Free Yara Rules

No comments:

Post a Comment

Post Top Ad