In this tutorial, you will learn how to install Kali Linux 2021.3 on VirtualBox. Kali Linux is an Advanced Penetration Testing Debian-based Linux distribution used for Penetration Testing, Ethical Hacking and network security assessments.
Kali Linux 2021.3 is the third (Quarter 3) 2021 Kali Rolling release. It comes pimped with various awesome updates.
Want to upgrade to the just release Kali Linux 2021.4? follow the link below;
Upgrade Kali Linux 2021.3 to 2021.4
According to the release page, below is a summary of the changes since the 2021.2 release from June are:
- OpenSSL – Wide compatibility by default – Keep reading for what that means
- New Kali-Tools site – Following the footsteps of Kali-Docs, Kali-Tools has had a complete refresh
- Better VM support in the Live image session – Copy & paste and drag & drop from your machine into a Kali VM by default
- New tools – From adversary emulation, to subdomain takeover to Wi-Fi attacks
- Kali NetHunter smartwatch – first of its kind, for TicHunter Pro
- KDE 5.21 – Plasma desktop received a version bump
You can also check this guide to learn how to install VirtualBox guest additions on Kali Linux 2021.3.
Install VirtualBox Guest Additions on Kali Linux 2021.3
Installing Kali Linux on VirtualBox
Download Kali Linux 2021.3 Image
Navigate to Official Kali Linux images downloads page and grab Kali Linux 2021.3 installation ISO. You can simply obtain the link to the ISO and pull it using wget or curl tools;
wget -c https://cdimage.kali.org/kali-2021.3/kali-linux-2021.3-installer-amd64.iso
or
curl -L -O https://cdimage.kali.org/kali-2021.3/kali-linux-2021.3-installer-amd64.iso
Create New Virtual Machine on VirtualBox
Once you have Kali Linux 2021.3 ISO file downloaded, launch VirtualBox and create a new VM. You can create a new virtual machine by clicking on the VirtualBox menu, Machine > New
. You can simply press Ctrl+n
;
Set the Name and OS type of the VM
- Set the name of the VM
- Define the machine installation folder
- Select the type of OS and the version to install
Define the Memory Size of the VM
Allocate as much memory to the VM as you possibly can but should not be more than the host RAM.
Create Virtual Hard Disk for the VM
You can create a new Virtual Hard Disk or use an existing if you have, for the VM.
Define VM Hard Disk File Type
On the next page, choose whether to assign a dynamic or fixed size storage type to Kali Linux VM.
Set the storage location and size of the storage disk as well. Be sure to assign enough storage. We assigned 20G in this setup. Click Create when done.
Define Kali Linux Virtual Machine Settings
Once you create a Kali Linux virtual machine, it should now be listed among your other VMs on the left pane of the VirtualBox.
Right click on the Kali Linux VM and choose settings or simply highlight the VM and press Ctrl+s to open the VM settings wizard.
Allocate vCPU cores to the VM
Allocate more vCPUs to the VM by clicking on the settings menu and heading over to processor tab.
Attach the Installation Medium
Click on the Storage menu > Storage Devices > Controller: IDE > Add optical Drive. Choose the Kali Linux 2021.3 ISO file you downloaded.
Set the VM Networks
Click on the Network settings to attach the NICs to your VM.
- On the first adapter 1, leave it with the default NAT so as to give the VM internet settings.
- On adapter 2, you can choose to either bridge or set the host-only interfaces.
Define any other VM settings as you wish. Click Ok when done to close the VM settings wizard.
Installing Kali Linux on VirtualBox
Click the VM to highlight it and click the start button at the top menu or simply right click on the vm and click Start > Normal Start to power on the VM and begin installation.
Once the VM starts, you are provided with multiple installation options. Choose Graphical Install and press enter to begin the installation.
Go through the installation process to install and setup Kali Linux 2021.3 on VirtualBox. The remaining steps are;
- Choose your Kali Linux 2021.3 installation language.
- Define your location. This is used to set your timezone and system local settings.
- Configure the Keyboard keymap to use. We choose the default option in this setup.
- In the next step, the system detects and mounts the installation media for the installation process.
- Configure system network.
- Select the primary network interface, choose the first interface, which is the NAT interface in this example.
- Set the hostname, the domain name
- Setup up users and passwords
- Configure the system clock by choosing your timezone based on the location you chose above.
- Select your system disk partition schemes. We used
Guided -use entire disk
scheme in this setup. - The system then goes through package installation to install the base system.
- Once the base system installation completes, you are prompted on extra packages to install. This includes the Desktop Environments you might want to install on your new Kali Linux 2021.3 system.
- Install Grub on the root disk to make your system bootable.
- Once the installation and setup completes, reboot the system.
- Boot into your Kali Linux 2021.3 system.
Booting into Kali Linux 2021.3 on VirtualBox
Once the installation process completes, reboot your system and boot into it.
Login to your Kali Linux 2021.3 machine using the username and password setup before.
Upon successful login, you land on Kali Linux 2021.3 desktop.
You can now start to explore a thousand security tools that this awesome Kali system comes bundled with.
I downloaded Ubuntu Kali Linux is here a big difference?