Part 2: Setting up a lab – Metasploitable


I’m going to build my lab piece by piece and create a tutorial on how I do it. If you want to follow sequentially, please refer first to my previous post https://www.girlfromtomorrow.com/technical-tools/installing-kali-linux-on-virtualbox/ to start.

To run Metasploitable on VirtualBox complete the following steps:

  1. Navigate to https://information.rapid7.com/download-metasploitable-2017.html complete the form and click SUBMIT.
  2. Download the folder.
  3. Unzip the folder.
  4. To install Metasploitable on VirtualBox, click New.
  5. Name the machine Metasploitable.
  6. In the Type: field select Linux.
  7. In the Version: field select Ubuntu.
  8. Configure RAM and click Next.
  9. In the Hard disk window select Use an existing virtual hard disk file and navigate to your Metasploitable download.
  10. Click Create.
  11. Log on using the following credentials:
    1. Username: mfsadmin
    2. Password: mfsadmin

Part 1: Setting up a lab – Installing Kali Linux on VirtualBox

Here’s the concise tutorial you’ve been waiting for. This tutorial is written for Windows 10 and can possibly be adapted.

Prerequisites

  • Your personal machine
  • Ethical hacking knowledge – know what you legally and ethically can and cannot do

Installing VirtualBox on Windows 10

  1. Navigate to https://www.virtualbox.org/wiki/Downloads.
  2. Under VirtualBox 6.0.4 platform packages click Windows hosts.
  3. Run the installer.
  4. To select default settings click Next in the Wizard until installation begins.

Setting up your virtual machine

  1. Open VirtualBox and click New.
  2. In the Name and operating system window change the name to something identifiable, for example, Kali.
  3. Change the Type to Linux.
  4. Change the Version to Debian (32-bit or 64-bit depending on your machine) and click Next.
  5. Configure the Memory size or click Next to accept the default.
  6. In Hard disk, select Create a virtual disk now and click Create.
  7. In Hard disk file type, select VDI (VirtualBox Disk Image) and click Next.
  8. In Storage on physical hard disk, select Dynamically allocated and click Next.
  9. Configure the File location and size or click Create to accept the default.

Installing Kali

  1. Navigate to https://www.kali.org/downloads/  and download Kali Linux 64 Bit .
  2. Open VirtualBox.
  3. To power on your virtual machine double-click its icon.
  4. In the Select start-up disk window browse to the location of your Kali image.
  5. Click Start.
  6. In the Boot menu select INSTALL.

The end.

If you have issues, let me know and I’ll consider compiling a troubleshooting guide.