Git Product home page Git Product logo

espresso-bot's Introduction

Espresso Bot

HTTP/HTTPS based Golang botnet image

20210514_143033

Information

Espresso is a simple POC loader/bot inteded to be used for red team operations at controlled pentetsing enviroments. It features a centralized command & control server, session based API encryption and uses a Discord bot as the admin interface. It uses Rubber ducky or any keyboard emulation capable microcontroller as a spreading agent.

C&C Features

  • Writen in NodeJS
  • Cross platform
  • Discord bot control (no login system required)
  • Used ID whitelist
  • IP blacklist
  • Using ORM (compatible with any SQL database)
  • User-Agent filtering

Bot Features

  • Written in Go
  • Persistence
  • AES256 traffic and file encryption
  • System information (OS, arch, hostname)
  • Download and run .exe remotely
  • TCP flooding
  • USB Rubber Ducky or Arduino spreading

How to use

Server

  • Install NodeJS
  • Unzip the project and cd into it
  • Install NodeJS dependencies with yarn install or npm install
  • Edit .env with your info
  • Edit the User Whitelist with your discord id's
  • Edit the Ip Blacklist with your ip's
  • Start server with yarn start or npm start or a process manager (PM2)
  • Copy invite from terminal and invite the bot into your server

Client

  • Install Golang
  • Go to src dir
  • Clone this repo git clone https://github.com/TasosY2K/espresso-bot.git
  • cd to client/ and install Go registry with go get -u golang.org/x/sys/windows/registry
  • Edit the variables in espresso.go at the main function with your info
  • Build the client by running build.bat or build.sh
  • Your coffee is ready espresso.exe

Spreading

  • Install Arduino IDE or Rubber Ducky flasher
  • Edit client/DownloadAndRun.txt or client/DownloadAndRun.ino with your payload url
  • Flash

Screenshots

image

image

image

Todo

  • Better spreading agent
  • Add obfuscation
  • Fix loader
  • Add kill switch
  • Add melt function

I will not be responsible for any direct or indirect damage caused due to the usage of this tool, it is for educational purposes only.

espresso-bot's People

Contributors

tasosy2k avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

espresso-bot's Issues

where do i get bot id?

In the file .env.example In the .env.example file I see a bot id section. I want to ask where did the bot id get that

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.