Skip to content

Instantly share code, notes, and snippets.

@tothi
Created January 4, 2024 00:58
Show Gist options
  • Save tothi/be41beff9019fa15d5f3048c737c98ef to your computer and use it in GitHub Desktop.
Save tothi/be41beff9019fa15d5f3048c737c98ef to your computer and use it in GitHub Desktop.
PowerShell Empire install notes for Arch Linux

Notes on installing PowerShell Empire for Arch Linux

Default installer scripts works for .deb based distros like Debian, Ubuntu and Kali and not for Arch Linux (pacman).

Here are some hints on installing Empire for ArchLinux. Base repo is here: https://github.com/BC-SECURITY/Empire

  1. Clone the repo recursively:
git clone --recursive https://github.com/BC-SECURITY/Empire.git
  1. Checkout the latest version (using the included script):
cd Empire
./setup/checkout-latest-tag.sh

And now comes the difference because the included ./setup/install.sh is not compatible with Arch Linux.

  1. Empire uses poetry for managing its Python virtual env, we need to set it up manually.

We need the extra/python-poetry package installed. Then:

poetry config virtualenvs.in-project true
poetry config virtualenvs.prefer-active-python true
poetry install
  1. Reset the MySQL database.

We need a MySQL db engine installed (e.g. extra/mariadb) and started (systemctl start mariadb). Then:

./ps-empire server --reset
  1. Start the server (Starkiller web GUI also gets installed automatically):
./ps-empire server
  1. Access the Starkiller GUI at:
http://localhost:1337/index.html

Default credentials are: empireadmin:password123.

TODO

  • add dependencies (like powershell, nim, etc.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment