How to Install and Use Armitage on Kali Linux
Table of contents
This post will show you how to set up and use Armitage on Kali Linux and Debian-based Linux systems. Armitage offers a graphical interface (GUI) for Metasploit, Metasploit is a pentesting framework usually used via command line. Armitage it's good for those uncomfortable with the command line but interested in pentesting. By the end of this tutorial, you'll be ready to install and use Armitage with just a few simple steps.
This post is suitable for both Experts with Metasploit and beginners. It applies to all Debian-based Linux distributions with Metasploit pre-installed. If your system doesn't have Metasploit yet, follow the provided instructions to install it before proceeding with Armitage.
Please pay attention to all steps and screenshots for better understand.
Installing Armitage on Kali Linux (And Debian-Based Distributions)
To start, use the apt package manager to install Armitage, as shown in the screenshot below.
sudo apt install armitage
Once the installation is complete, start the Metasploit database by executing the following command.
sudo msfdb init
After starting the database, you can now launch the Armitage, as shown in the image below.You'll be prompted to enter the database host, port, user, and password. You can keep these at their default settings if you want.
sudo armitage
You'll be asked if you want Armitage to start the RPC server. This server isn't necessary, but you can run it if you want Metasploit to connect with other apps. Otherwise, you can keep it turned off.
Wait until the database connects.
After connecting, the Armitage GUI will show up, as shown in the following figure.
You can start by adding a host (target) to scan.To add a host, click on the "Hosts" option in the top menu bar, and then click on "Add Hosts," as shown in the image below. If you have a file with hosts to import, you can click on the first option.
Type the IP address or hostname of your target. Then press the Add button.