Let’s say you love Armitage ( I do ) and you are doing a pentest assignment and you can only work remotely against a Kali 2.0 vm hosted in a datacenter or something. Armitage is a GUI tool and you really need to have a desktop to use it. Or at least that was what I thought. It turns out that you can run Armitage as a teamserver and connect Armitage client directly from Windows against the teamserver. Let me guide you through the process. In my setup the Kali is default installed from the official Kali 2.0 ISO and updated with the default update commands (apt-get update, upgrade and dist-upgrade).
Armitage is dependent on Metasploit and therefore you need to start Metasploit or run the following commands to initialize and start the database:
- Msfdb init
- /etc/init.d/postgresql start
Instead of starting Armitage like you normally would on the Kali with typing Armitage you need to type the following commands instead:
- Cd /usr/share/armitage
- teamserver 192.168.0.66 MyAwesomePassword!
The IP address you specify in the command is the one you will be connecting to from your Windows machine (or Armitage client if you will). You also need to specify a password, mine is MyAwesomePassword!.
It should look something like this:
The next thing you will need to do is to download the Armitage Jar file from here:
http://www.fastandeasyhacking.com/download – Download Windows zip version for Windows
Extract the content to an appropriate folder. In my example C:\armitage.
Now you can start the Armitage client by clicking on Armitage.jar (it requires java). You should get this:
Change the host to the IP of your Kali Armitage teamserver and type in the correct password in the Pass field and hit the Connect button. You should now be connected to the Armitage teamserver and be you should see a fingerprint like this:
After you answer yes you will be prompted to enter a Nickname:
After you have entered your nickname you will be connected to the Armitage console:
A cool thing is that you can now pentest together with a colleague and doing it from Windows. Genius!