Installing Powershell Empire in Parrot GNU/Linux

2018-11-18

My favorite Security orientated Distro is Parrot GNU/Linux. I’ve always trying to help the spanish community of Parrot through its Telegram Channel and its official forum.

One of our latest doubt was about installing Powershell Empire on the latest Parrot (4.3). As it is not officially supported by the Empire guys, it needs some minor tweaks to make it work. So here we go..

Requirements:

Installation of Powershell Empire

We need to clone the Empire repository from Github:

git clone https://github.com/EmpireProject/Empire.git
cd Empire

Before running the install.sh, we need to modify it in order to support Parrot. Parrot is based in Debian 10. So forcing the installation script to use the Debian version works flawlessly.

nano setup/install.sh

install.sh

As you can see the script is looking on /etc/debian_version to detect the version and to install powershell. Parrot contains the word “stable” on this file, so an easy workaround is to just modify install.sh and replace 9.* for “stable”.

Now we can run the install.sh and see how the requirements are fetched and installed.

setup/install.sh

You will see an alert stating that libssl1.0.0 has no installation candidate. This is because install.sh is trying to install through APT this particular library, but on parrot there is a newer version: libssl1.0.2

After all the dependencies were installed, you can try execute Empire from console:

./empire

You will find that Empire doesnt run and is accusing a problem with a python module: “Import Error: No module named ordered_dict”

error

A quick google search will give us the answer on how to fix it.

https://github.com/EmpireProject/Empire/issues/1269

Just running:

sudo pip uninstall urllib3
sudo pip install urllib3==1.22

Then try again

done

Enjoy!