# Deimos

Thanks to Aaron Herman for below notes.

## Set up

* Download pre-compiled Go binary from <https://github.com/DeimosC2/DeimosC2/releases>&#x20;
* chmod u+x./DeimosC2 && ./DeimosC2
* Follow prompts (likely N, Y, N)
* Navigate to <https://localhost:8443/>
* Create Username and Password

## Generate payloads

* Sign into <https://localhost:8443/>
* Add a new listener and set the host variable. Optionally, you can configure the AgentOptions which includes the URI paths.
* Once created, click the > button to Interact
* On the right side, there’s a “Generate Agent” button. Select the OS and Architecture. Obfuscating the payload will slow down the generation greatly.
* Once created, you can click on the links within the “Agents” box to download. They’re also located in./resources/listenerresources/\<uuid>/ if you want to just start a python3 -m http.server there

## Modules

* Windows: screengrab, minidump, lsadump, ntdsdump, samdump
* Mac: screengrab
* Linux: screengrab, shadowdump


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://howto.thec2matrix.com/c2/deimos.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
