Golock
Content Audit Wizard
2
MONTHS
2 2 MONTHS OF SERVICE
LEVEL 1
300 XP
This is our 8th post in the series ofthe empirewhich covers how to use empire as GUI. Empire has a great GUI mechanism, but it’s still developing as it has been released just a while back. For empire GUI to work, we need to download all of its dependencies and this is where it gets a bit complicated. So, first of all, we will download the beta 3.0 version of empire as it’s the only version compatible with the GUI. Using the following commands:
Now run the following command as instructed on the GitHub page :
Now to install the beta version, type the following command :
Now to run empire use the following as it will link the command line to GUI version :
And as shown in the image below, the Empire will start.
Now, download the GUI of empire from GitHub using the following command :
Now that GUI of empire and the beta version of empire has been downloaded, we need to install its dependencies for it to work successfully. And for that, we will have to downloadnodejsfirst and to download it, type :
And in time, it will be installed as shown in the image below :
Afternodejs, we have to downloadnpmand for that type :
As its download, like in the image above, now run the following command in order to install it :
And then start thenpmservice, as shown in the image below, with the following command :
After all this, the GUI of empire will start as shown in the image below :
Moving further once the GUI of empire is up and running, create astagerand get an agent from the beta version of empire, while getting a session, remember to use port 1337 as that is the port the GUI works on.
Now, on the GUI, log in using your IP and port and other details as shown in the image below :
And as you willlogin, it will show you all the sessions you have, just like in the image below :
Here, all the shell commands will work as shown in the image above. As the GUI is still developing, we can’t use it for post exploitations. But it, it comes prettyhandyin order to manage multiple sessions and it helps you understandit’sworking better.
Author:SanjeetKumar is an Information Security Analyst | Pentester | Researcher Contact Here
Code:
git init
git remote add -t "3.0-beta" -f origin "//github.com/EmpireProject/Empire"

Now run the following command as instructed on the GitHub page :
Code:
git checkout 3.0-Beta

Now to install the beta version, type the following command :
Code:
./setup/install.sh

Now to run empire use the following as it will link the command line to GUI version :
Code:
./empire –server –shared_password 12345 –port 1337

And as shown in the image below, the Empire will start.

Now, download the GUI of empire from GitHub using the following command :
Code:
git clone //github.com/EmpireProject/EmpireGUI.git

Now that GUI of empire and the beta version of empire has been downloaded, we need to install its dependencies for it to work successfully. And for that, we will have to downloadnodejsfirst and to download it, type :
Code:
apt install nodejs
And in time, it will be installed as shown in the image below :

Afternodejs, we have to downloadnpmand for that type :
Code:
apt install npm

As its download, like in the image above, now run the following command in order to install it :
Code:
npm install

And then start thenpmservice, as shown in the image below, with the following command :
Code:
npm start

After all this, the GUI of empire will start as shown in the image below :

Moving further once the GUI of empire is up and running, create astagerand get an agent from the beta version of empire, while getting a session, remember to use port 1337 as that is the port the GUI works on.

Now, on the GUI, log in using your IP and port and other details as shown in the image below :

And as you willlogin, it will show you all the sessions you have, just like in the image below :
Here, all the shell commands will work as shown in the image above. As the GUI is still developing, we can’t use it for post exploitations. But it, it comes prettyhandyin order to manage multiple sessions and it helps you understandit’sworking better.

Author:SanjeetKumar is an Information Security Analyst | Pentester | Researcher Contact Here