# DeimosC2 | A Golang Command And Control Framework For Post-Exploitation

**URL:** <https://onehack.st/t/deimosc2-a-golang-command-and-control-framework-for-post-exploitation/99565>\
**Category:** Tools & Scripts\
**Tags:** programming, hacking\
**Created:** [August 5, 2020, 11:43am UTC](https://onehack.st/t/deimosc2-a-golang-command-and-control-framework-for-post-exploitation/99565 "2020-08-05T11:43:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prometheus](https://onehack.st/user_avatar/onehack.st/prometheus/32/34950_2.png) [@Prometheus](https://onehack.st/u/Prometheus)\
**Post date:** [August 5, 2020, 11:43am UTC](https://onehack.st/t/deimosc2-a-golang-command-and-control-framework-for-post-exploitation/99565/1 "2020-08-05T11:43:21Z")

</div>

![image](https://onehack.st/uploads/default/original/3X/1/f/1ff0352aa8a1c603b21a116b755112a3a340d1db.jpeg)

DeimosC2 is a post-exploitation Command & Control (C2) tool that leverages multiple communication methods in order to control machines that have been compromised. DeimosC2 server and agents works on, and has been tested on, Windows, Darwin, and Linux. It is entirely written in [Golang](https://golang.org/) with a front end written in [Vue.js](https://vuejs.org/).

**Listener Features**

- Each listener has it’s own RSA Pub and Private key that is leveraged to wrap encrypted agent communications.
- Dynamically generate agents on the fly
- Graphical map of listener and agents that are tied to it

**Agent Features**

- Agent list page to give high level overview
- Agent interaction page containing info of agent, ability to run jobs against agent, filebrowser, loot data, and ability to add comments

**Supported Agents**

- TCP
- HTTPS
- DoH (DNS over HTTPS)
- QUIC
- Pivot over TCP

**Frontend Features**

- Multi-User support with roles of admin and user
- Graphs and visual interaction with listeners and agents
- Password length requirements
- 2FA Authentication using Google MFA
- Websocket API Calls

**Getting Started and Help**  
You can download the latest [release](https://github.com/DeimosC2/DeimosC2/releases) and view the [wiki](https://github.com/DeimosC2/DeimosC2/wiki) for any assistance getting started or running the C2.

**Submitting Issues**  
We welcome issues to be opened to help improve this project and keep it going. For bugs please use the [template](https://github.com/DeimosC2/DeimosC2/blob/master/.github/ISSUE_TEMPLATE/bug_report.md).

**Authors**

- Chase Dardaman ([@CharlesDardaman](https://twitter.com/CharlesDardaman))
- Quentin Rhoads-Herrera ([@paragonsec](https://twitter.com/paragonsec))
- Elvira Sheina ([developeruz](https://github.com/developeruz))
- Blase Brignac ([@BlaiseBrignac](https://twitter.com/BlaiseBrignac))

**Credits**  
In order to develop this we used some of the awesome work of others. Below is a list of those we either used their code or were inspired by. If we missed you please let us know so we can add your name!

- [lsassy](https://github.com/Hackndo/lsassy) by [@HackAndDo](https://twitter.com/HackAndDo) used for some Windows modules
- [goDoH](https://github.com/sensepost/goDoH) by [@leonjza](https://twitter.com/leonjza) from SensePost used for DoH
- [BishopFox Sliver](https://github.com/BishopFox/sliver) used in some places as they already did a fanstastic job
- [Merlin](https://github.com/Ne0nd0g/merlin) used for reflective DLLs support
- [dgoogauth](https://github.com/dgryski/dgoogauth) used for the 2FA functionality
- [gobfuscate](https://github.com/unixpickle/gobfuscate) used to support agent obfuscation
- [Stack Overflow](https://stackoverflow.com/) because isn’t this how we develop now?

**Disclaimer**  
This program should only be used on environments that you own or have explicit permission to do so. Neither the authors, nor Critical Start, Inc., will be held liable for any illegal use of this program.

## GitHub:

> **[GitHub - DeimosC2/DeimosC2: DeimosC2 is a Golang command and control framework...](https://github.com/DeimosC2/DeimosC2)**
>
> DeimosC2 is a Golang command and control framework for post-exploitation.
