In this guide, we will download and install Metasploit on Ubuntu systems
The Metasploit Project is a computer security project that provides information about security vulnerabilities and aids in penetration testing and IDS signature development. It is owned by Boston, Massachusetts-based security company Rapid7.
Its best-known sub-project is the open-source Metasploit Framework, a tool for developing and executing exploit code against a remote target machine. Other important sub-projects include the Opcode Database, shellcode archive and related research.
The Metasploit Project includes anti-forensic and evasion tools, some of which are built into the Metasploit Framework. Metasploit is pre-installed in the Kali Linux operating system.
Install Metasploit on Ubuntu
Follow the steps below to get started with Metasploit :
- Update your Ubuntu system packages with running the below command:
sudo apt update -y && sudo apt upgrade -y
- Metasploit package is not available on Ubuntu base repository. So You can download it as follows:
sudo -i
wget http://downloads.metasploit.com/data/releases/metasploit-latest-linux-x64-installer.run
- Set appropriate permission for the downloaded script then run the installer file using the following command below:
./metasploit-latest-linux-x64-installer.run
- You should see the Metasploit setup wizard:
Click Forward Button
![](http://unixcop.com/wp-content/uploads/2022/11/image-28.png)
- Accept the agreement then click forward
![](http://unixcop.com/wp-content/uploads/2022/11/image-29.png)
- Select a folder to install Metasploit
![](http://unixcop.com/wp-content/uploads/2022/11/image-30.png)
- Select yes to install Metasploit as a service
![](http://unixcop.com/wp-content/uploads/2022/11/image-31.png)
- Then click Forward
![](http://unixcop.com/wp-content/uploads/2022/11/image-32.png)
- Enter the SSL Port
![](http://unixcop.com/wp-content/uploads/2022/11/image-33.png)
- Also Enter the Server Name
![](http://unixcop.com/wp-content/uploads/2022/11/image-34.png)
- Click forward to start the installation process
![](http://unixcop.com/wp-content/uploads/2022/11/image-35.png)
- Unpacking the file stage and installing
![](http://unixcop.com/wp-content/uploads/2022/11/image-36.png)
- Wait untill the services install
![](http://unixcop.com/wp-content/uploads/2022/11/image-37.png)
- Then click Finish
![](http://unixcop.com/wp-content/uploads/2022/11/image-38.png)
You will be redirected automatically to the default browser to open boot.html file that has been created while the installation process as shown below:
![](http://unixcop.com/wp-content/uploads/2022/11/image-39.png)
- Then click on https://localhost:3790/ and fill all log in info to create an account
![](http://unixcop.com/wp-content/uploads/2022/11/image-40.png)
After that, You should see the following page: (Enter the activation Licence) then here we go:
![](http://unixcop.com/wp-content/uploads/2022/11/image-41.png)
- Metasploit also provides a CLI utility called mfconsole to manage the Metasploit. You can access it using the following command:
msfconsole
![](http://unixcop.com/wp-content/uploads/2022/11/image-42.png)
Conclusion
That’s it
Thanks.