Install Kali Linux on VirtualBox with Guest Additions 2019!

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.

Install Kali Linux on VirtualBox with Guest Additions

 

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.

Install Kali Linux on VirtualBox with Guest Additions

 

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.

Install Kali Linux on VirtualBox with Guest Additions

 

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.

passwd

Install Kali Linux on VirtualBox with Guest Additions

 

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.

shutdown now

 

 

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.

Install Kali Linux on VirtualBox with Guest Additions

 

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.

13
Leave a Reply

Tell us what you think!

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  Subscribe  
newest oldest most voted
Notify of
sterne044
Guest
sterne044

Thanks for the job.

Just my 2 cents concerning the update about the Guest additions : “This only applies for Kali Linux Version 4.2.xx or higher” should be “This only applies for VirtualBox Version 4.2.xx or higher” instead…

john doe
Guest
john doe

no luck using the latest method april 2018

Shreez
Guest
Shreez

Thank you so much, you are a legend.
The documentation on the actual Kali website to do this is plain rubbish.
Thank you!

YU
Guest
YU

nice job!

Chris Kaprys
Guest

i’ve installed past kali versions into virtualbox and always had success. now trying with Kali 2017.3 on the most recent virtualbox, and not a single attempt at installing guest additions has worked. -After fresh install into the VB, ‚update‘ ‚upgrade‘ and ‚dist-upgrade‘ finish with 0 results. -Trying the „new and easy“ way with ‚apt-get install -y virtualbox-guest-x11‘ spits out ‚E: Unable to locate package virtualbox-guest-x11‘ -Trying ‚apt-get install linux-headers-$(uname -r)‘ spits out three errors, starting with ‚Unable to locate package linux-headers-4.13.0-kali1-amd64‘ -Trying the cdrom step and running ‚./VBoxLinuxAdditions.run‘ spits out a message saying ‚This system is currently not set up… Read more »

Jukka Luotonen
Guest
Jukka Luotonen

On this twitter account might be solutuion tuo this… I had to reloadsecurity key to get apt-get working : Twit is from February 2nd.
https://twitter.com/kalilinux?ref_src=twsrc%5Etfw&ref_url=https%3A%2F%2Fwww.offensive-security.com%2Foffensive-security-solutions%2Fpenetration-testing-services%2F

zhangsidan
Guest
zhangsidan

thank you very much

%d bloggers like this: