How To Set up Metasploitable on Windows in Virtual Box

How To Set up Metasploitable on Windows in Virtual Box

Set up Metasploitable on Windows in Virtual Box

 

To get started you will need  Vagrant, Packer, and Virtualbox. Install these dependencies:

 

 

 

We recommend using these exact versions as the scripts were made for them.

Metasploitable on Windows – Install Vagrant reload plugin

Go to the directory in the command line to the directory where unpacked the Vagrant Reload plugin then run this command to install the Vagrant:

vagrant plugin install vagrant-reload

1 Install vagrant-reload

How To Set up Metasploitable on Windows in Virtual Box – 1 Install vagrant-reload

After Vagrant, continue with downloading Packer.

Metasploitable on Windows – Download Packer

The next step is to download Packer from the following download page:

https://www.packer.io/downloads.html

Download the latest version of Packer and unpack it the Metasploitable 3 master directory. Storing the binary of Packer in the direct Metasploitable 3 directory allows easy execution for setup without setting up additional requirements. After you copy the Packer file to the Metasploitable 3 directory, you may set up the virtual machine.

Metasploitable on Windows – Creating the Metasploitable 3 VM

After all of the pre-requisites have been met, you can use Packer to setup the VM in Virtualbox. Move the command line to the Metasploitable 3 location and run the following command from an elevated command line:

packer build windows_2008_r2.json

Build Metasploitable 3 with Packer

How To Set up Metasploitable on Windows in Virtual Box – Build Metasploitable 3 with Packer

Building the VM will take a while so be patient.

Build Metasploitable 3 with Packer finished

Build Metasploitable 3 with Packer – Build Metasploitable 3 once Packer is finished

When the script is finishes run:

vagrant box add windows_2008_r2_virtualbox.box –name=metasploitable3

vagrant box add windows_2008_r2_virtualbox

How To Set up Metasploitable on Windows in Virtual Box – vagrant box add windows_2008_r2_virtualbox

Once that is completely done, run one last command:

vagrant up

The installation of Metasploitable 3 should now be done and you can use the VM.

 

Metasploitable on Windows – Booting Metasploitable 3

Now that you have completed the installation of Metasploitabl you may boot in in Virtualbox. The default username for the virtual machine is “vagrant” with password “vagrant”.

Windows 7 Obsolete; Mainstream Support Ends

Windows 7 is now considered obsolete due to the support for the operating system being ended. While this doesn’t mean they will stop patching it quite yet, it is obvious that Microsoft is trying to end of life the product. They will most likely, based on their past updates of Windows XP, continue to patch vulnerabilities for a few more years or so. No new features will be coming to Windows 7, and Windows 10 will take the forefront in the coming months. We suggest you pay close attention to end of life for Windows 7 if you are still running it to make sure your system is secure, and if you are still on Windows XP, we highly recommend you upgrade immediately as they are no longer patching vulnerabilities for that operating system.