I just happen to need to do a re-install of my Kali VM so it’s just the right time for a step-by-step tutorial on how to Install Kali Linux on VirtualBox with Guest Additions!
I always run Kali on a VM. Even on my Hackbook. Why? Because you can always use a snapshot to revert the VM’s state back to a freshly installed period when you mess something up badly – and trust me, it happens.
Corrupted databases, weird errors when trying to modify configs and things along those lines are mostly responsible for my Kali install to stop working, if that happens I simply go back to a working state with a snapshot, within 2 mouse clicks and a few seconds.
You can use this exact same procedure for Windows and Linux.
Let’s dive right in.
Step 1– Downloading Kali
Head over to the Kali Website and choose your flavor. Scroll down and download the Kali Linux 64bit VirtualBox Image.
Step 2– Importing the Image
To install Kali Linux on VirtualBox with Guest Additions, we need to import the downloaded OVA file now. Open VirtualBox and click on File -> Import Appliance and choose the .OVA file you have downloaded. Click on Next and in Import.
Step 3– Installing the VirtualBox Extension Pack
For good measure, we are going to install the VirtualBox Extension Pack, which enables you to use some additional features like Shared Clipboard and so on. Head to the VirtualBox Website and download & install the VirtualBox Oracle VM VirtualBox Extension Pack.
Step 4– Configuring the Virtual Machine
Right-click your Kali Virtual Machine in VirtualBox and select Settings. In some cases, or if you didn’t install the VirtualBox Extension Pack, VirtualBox throws an “Invalid Settings Detected” warning.
To fix that, either make sure you have the VirtualBox Extension Pack installed correctly or, navigate to USB and change from USB 2.0 to USB 1.1.
When you are done with this, click on Start to start up Kali.
Step 5– Final Steps
Login with the default credentials:
- Username: root
- Password: toor
Open a Terminal next to change the default password.
Next, update your system.
apt-get update -y && apt-get dist-upgrade -y
Confirm all eventually following prompts with their default values.
Shutdown your Virtual Machine.
Step 6– Taking a Snapshot
In VirtualBox select your Kali VM, click on Snapshots in the upper right corner and click on the small “Take” Camera Symbol.
Give it a descriptive name and hit OK. Voíla, you are set and done.
The next thing I usually do now is to install Guake Terminal, can’t and won’t work without it anymore. I highly recommend following my Top Things to do after Installing Kali Linux Article next!
This concludes the Install Kali Linux on VirtualBox with Guest Additions tutorial.