c2 frameworks

Powershell-Empire

Install

sudo apt install powershell-empire starkiller

Running

# config file
/usr/share/powershell-empire/empire/client/config.yaml

# start server
sudo powershell-empire server

# start client
powershell-empire client
connect HOSTNAME --username=USER --password=PASS

# gui version
starkiller

Covenant

Install

Install dotnet using kali-tweaks > metapackages > windows-resources.

cd /tmp
wget https://packages.microsoft.com/config/ubuntu/21.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
sudo apt-get install -y dotnet-sdk-3.1
cd /opt; sudo git clone --recurse-submodules https://github.com/ZeroPointSecurity/Covenant.git

startup-script

  • Save this to /usr/bin/start-covenant

#!/bin/sh
set -e
cd /opt/Covenant/Covenant && sudo /usr/bin/dotnet run
  • sudo chmod 755 /usr/bin/start-covenant

References

Last updated