User Tools

Site Tools


kali_linux_-_virtual_hacking_lab

This is an old revision of the document!


Required Items

  • A computer running Micro$oft Windows (I'm suing Windows 10)
  • VirtualBox - You can get the most recent copy here
  • Kali Linux image - You can get the most recent copy here

Install VirtualBox

  1. Download the current version of VirtualBox from the official website
  2. Run the installer and install with the default settings.

Setting up the Virtual Machine inside VirtualBox

  • For clarity: the Windows system that VirtualBox runs inside of is called the Host System. The virtual computers and their Os's that run inside of virtual box are know as Guest Systems.
  1. Download the current version of Kali from the official website
    1. Make sure to get the 32 or 64 bit version, depending on your system.
  2. Open VirtualBox, then select Machine → New from the top menu. This will open the 'Create Virtual Machine' wizard.
  3. Name and Operating System screen:
    1. Name: Kali
    2. Type: Linux
    3. Version: Other Linux (select 32 or 64bit as appropriate)
    4. Click Next
  4. Memory Size screen:
    1. You will select here how much ram to allocate to the Guest System. Remember you will need memory for the Host, and each Guest that you are running.
    2. I tend to set this to 3072MB if I'm installing Kali on the Guest System. If I'm planing on livebooting inside the Guest System, then I will go 4092MB or higher.
    3. Click Next
  5. Hard Disk screen:
    1. If you are planning on livebooting Kali, then select 'do not add a virtual hard disk', then click Next.
    2. If you are installing, select 'Create a Virtual Hard Disk Now' then click Next.(for this tutorial that is the option we are selecting.)
  6. Hard Disk File Type screen:
    1. Select 'VDI'
    2. Click Next
  7. Storage on Physical Hard disk Screen:
    1. Select your preferred option
    2. Click Next
  8. File Location and Size screen
    1. Select 12.00GB
    2. Click Next
  9. The Wizard will close and the newly created Guest machine will show up in the list.

Install Kali Linux inside VirtualBox

  1. Select the Kali Virtual machine we just created, then click 'setting' at the top of the screen.
  2. General Tab:
    1. We don't need to change anything here, unless you made a mistake earlier and want to correct a setting.
    2. As I tend to reinstall / replace guest systems frequently (My main Kali install is installed to my actual HDD as a dual boot system) I tend to use the description tab to keep track of passwords and settings related to the Guest system.
  3. System Tab
    1. Motherboard Tab: deselect 'floppy' in the boot order section.
    2. Processor Tab: Select 'Enable PAE/NX if your Host System supports it.
    3. Acceleration Tab: Select bot Hardware Virtualization options if your Host System supports it.
  4. Display Tab
    1. Increase Video memory as high as you can afford to go.
  5. Audio Tab:
    1. Unselect 'Enable Audio' if not needed.
  6. Network Tab
    1. Adapter 1: Select 'Enable' and Attach to 'VirtualBox Host-Only Ethernet Adapter“
    2. Click on Advanced and select Promiscuous Mode: Allow All, then click the blue button next to the MAC Address to generate a new, random address. Make sure the 'Cable Connected' box is checked.
    3. Adapter 2,3, and 4: Select 'Disable'
  7. Serial Port Tab:
    1. Port 1,2,3, and 4: Disable all unless needed.
  8. Storage Tab:
    1. Click the virtual CD drive, then the blue Disk icon on the right. Select the Kali linux ISO we downloaded earler.
    2. Click OK to close the Setting Menu.
  9. Click the 'Start' button at the top of the screen to lanch the Guest System.
  10. Install as per these directions. you can skip the 'Preparing for the Install' section.
kali_linux_-_virtual_hacking_lab.1552015661.txt.gz · Last modified: 2024/09/04 18:19 (external edit)