Skip to main content

Covenant

Server - Native​

info

Tested on Kali 2019.4

Ansible playbook​

ansible-playbook -i '<IP>,' -u '<SSH_USER>' --key-file ssh_key covenant.yml
danger

SSH_USER needs to be sudoer NOPASSWD for the playbook to work (or root).

Attachment

Server - Docker​

Install​

cd /opt
git clone --recurse-submodules https://github.com/cobbr/Covenant
cd Covenant/Covenant
service docker start
docker build -t covenant .
docker run -it -p 7443:7443 -p 80:80 -p 443:443 --name covenant -v /opt/Covenant/Covenant/Data:/app/Data covenant

Host payloads​

info

You also can upload your payload on the C2 using the command below.

docker cp /tmp/a <c2_container_id>:/app/Data/Static

How to use it ?​