In this recipe, we will install, configure, and start Metasploitable 2. Metasploitable is a Linux-based operating system that is vulnerable to various Metasploit attacks. It was designed by Rapid7, the owners of the Metasploit framework. Metasploitable is an excellent way to get familiar with using Meterpreter.
To execute this recipe we will need the following:
A connection to the Internet
Available space on your VirtualBox PC
An unzipping tool (in this case we are using 7-Zip on a Windows machine)
Let's begin the recipe by downloading Metasploitable 2. Getting the package from SourceForge is going to be our safest option:
Download Metasploitable 2 from the following link: http://sourceforge.net/projects/metasploitable/files/Metasploitable2/.
Save the file to a location on your hard drive.
Unzip the file.
Place the contents of the folder in a location where you store your virtual disk files.