Metasploitable3
Metasploitable3 is an indubitably vulnerable virtual machine that is intended to be tested for multiple exploits using Metasploit. It is under a BSD-style license. This virtual machine can be downloaded from https://github.com/rapid7/metasploitable3. You can download the ZIP file and unzip it to your favorite Windows location (typically, we segregate this in the c:\HackTools\ folder) or you can use the git clone link with the Bash command.
Install all the relevant supporting software, such as Packer, Vagrant, VirtualBox, and the Vagrant reload plugin.
The following is a screenshot of the manual installation of Metasploitable3 on the Windows 10 host operating system:
Once the packer build has downloaded the ISO vbox image, you will receive a message as shown in the following screenshot:
After the VirtualBox file is downloaded, you will just have to run vagrant up in the same PowerShell. This should bring up your new VM in your virtual box without any problem, as shown in the following screenshot: