Git Product home page Git Product logo

monarch's Introduction

Monarch

The Adversary Emulation Toolkit

Monarch is a C2 Framework designed to give implant developers the convenience of integrating with an existing backend, so that more time can be spent creating cutting-edge features and enhancing overall efficiency. By seamlessly integrating with an established backend, Monarch enables developers to dedicate their efforts to refining and expanding the capabilities of their implants, ensuring a swift and efficient development process.

How it works

Monarch leverages Docker containers to streamline the creation of agent builders, providing an isolated environment for compilation. Using pre-installed RPC endpoints, Monarch abstracts out the effort of building agents by providing an easy-to-use interface for managing build options and profiles.

Additionally, Monarch utilizes HTTP(s) endpoints to manage remote implants. These endpoints serve as a conduit, enabling efficient communication and control over distributed implants from a central hub. This approach empowers administrators to effectively oversee, direct, and interact with remote implants, facilitating smooth command execution and data retrieval.

See the docs to learn more about Monarch and integrating your own projects with the framework.

Features

  • Neat console interface
  • Easy to set up and uninstall
  • Cross-platform client
  • Install builders from Git repositories or local folders
  • Docker used to set up builder containers
  • HTTP / HTTPS / raw TCP+TLS callback handlers
  • Malleable HTTP-based endpoints
  • Multiplayer and role-based access control
  • Easy 3rd party implant integration (documentation)
  • Client-server connections secured by mTLS
  • In-game chat
  • Compiled implant staging / local file staging
  • Configure implant sessions and timeout
  • Interactive builder and build profiles (save default build values per builder)
  • Automatic loading of implant commands (including autocompletion)

Installing Monarch

Follow the installation instructions here.

Empress

Empress is the very first integration developed alongside Monarch as a proof of concept. The techniques used to develop the implant and builder service should be viewed as best practice, along with recommendations and examples provided in the documentation.

Find Empress here.

Issues

If you encounter issues of any sort, please raise a new issue in the issues page, especially as this project is in its early stages of development. I'll do my best to response and resolve the issue on time.

Contributing

Feel free to contact me about wanting to contribute on the #golang channel on the BloodHoundGang slack (@Pygrum).

Disclaimer

This Command and Control (C2) framework is intended for authorized and lawful use only. Any unauthorized or illegal activities facilitated by this software are strictly prohibited. The developers are not liable for any misuse or illegal actions performed with this framework. Users must comply with all applicable laws and ethical standards when using this software. The developers disclaim responsibility for any damages or legal consequences resulting from its misuse. By using this software, you agree to use it responsibly and strictly for lawful purposes.

Credits

This project was heavily inspired by the following projects:

  • Mythic: @its-a-feature - Inspiration for Docker container usage
  • Sliver: @moloch-- - Awesome CLI and RPC implementations

Here are some cool packages I tried out:

  • Console: @maxlandon - Great CLI
  • Grumble: @desertbit - Another great CLI

Go and check them out!

monarch's People

Contributors

dependabot[bot] avatar pygrum avatar

Stargazers

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

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.