To build a new virtual machine, open VirtualBox and click the ‘New’ button. To download Metasploitable 2, visit the following link. It is a pre-built virtual machine, and therefore it is simple to install. Metasploitable 2 offers the researcher several opportunities to use the Metasploit framework to practice penetration testing.
Metasploitable 2 VM is an ideal virtual machine for computer security training, but it is not recommended as a base system. The Rapid7 Metasploit community has developed a machine with a range of vulnerabilities.