How to install Kali Linux 2020.1 on VirtualBox – Step by Step

Kali Linux 2020.1 was just released yesterday. There are a lot of new features that come with Kali 2020.1, one of them being the deprecated default user root/toor. Kali now ships with a new default user that is kali/kali. I made a video yesterday on all the new features, check it out for an overview. As on every new Kali release, I get requests to make an up-to-date step by step tutorial for you guys. And here it is, how to install Kali Linux 2020.1 on VirtualBox.

Step 1 – Download & Install VirtualBox + VirtualBox Extension Pack

Go to VirtualBox to download both, the latest version of VirtualBox and the VirtualBox Extension Pack. You need both for Kali to work perfectly. Once you have downloaded both files, first install VirtualBox, leaving everything on default. Once it’s finished, install the Extension Pack.

Step 2– Download the Kali VirtualBox Image

So there are two ways to go about the installation. The first option is to download the actual installer image and go through the manual installation. The second option is downloading the pre-configured Kali Linux VirtualBox file that Kali provides for us. Because the second option is much easier for most users, we are going to opt for that.

Note that if you don’t want XFCE as your default Desktop Environment, you need to install Kali the manual way, where you can choose which DE you want to use during installation.

Go to the Kali website, extend Kali Linux Virtualbox Images and select the apropriate version. If you are not sure, use the 64bit version.

Install Kali Linux 2020.1 on VirtualBox

Step 3 – Importing the Kali Image to VirtualBox

To install Kali Linux 2020.1 on VirtualBox, we now need to import the downloaded file to VirtualBox.

Open VirtualBox -> Click on File -> Import Appliance. Navigate to your Downloads folder and select the kali-linux-2020.1-vbox-amd64 file. Click on Open. Click on Next.

Check if all settings are fine. If you want you can change the location where the virtual hard disk will be stored by changing the Machine Base Folder (indicated by 1).

Install Kali Linux 2020.1 on VirtualBox

Click on Import if everything seems fine. This takes a couple of minutes to finish.

Step 4 – Configuring VM Settings

Now that you have successfully imported the Kali Image, you can just start it as it is or modify the settings to your liking. Right-click the Kali VM in VirtualBox and select Settings. Head to the System tab to adjust things like memory and processor cores. Always stay in the green area when assigning resources, so your host operating system doesn’t run low.

Install Kali Linux 2020.1 on VirtualBox

Once you have set everything to your liking, hit OK.

Step 5 – Starting Kali 2020.1

Now we are ready for our first boot. Right-click your Kali VM and select Start -> Normal Start.

Login with the new default user kali/kali.

VirtualBox Guest Additions are pre-installed. Your window will eventually appear not in fullscreen. If that’s the case, just make your actual VirtualBox Window smaller and then extend it back to full-size, that should fix the issue.

Once you are logged in, open a terminal to update & upgrade Kali to make sure to be on the latest version. Enter kali as the password when being asked. Confirm every upcoming question with Y for Yes.

sudo apt update && sudo apt upgrade -y

Install Kali Linux 2020.1 on VirtualBox

Step 6 – Changing the default password

The last step is changing the default password. This is very important, don’t leave it as kali.

To change this, simply type

passwd

Now we also need to change your root password, which is also kali. To do this, run the following.

sudo -i
passwd
exit

Install Kali 2020.1 on VirtualBox

Step 7 – Optional: Changing the Keyboard layout

You might want to change the keyboard layout, to do this, simply open the menu and type keyboard. Open the keyboard options, click on Layout, untick the “Use system defaults” box. Add the desired layout, remove the default layout. This should do the trick.

In case of problems

In case you experience graphical glitches, like your screen flickering or something like that, I have a fix for you. I experienced this behavior with Kali 2019.4, gladly so far in 2020.1, I haven’t seen it. However, if you do experience problems, shutdown your Kali VM, right-click it and select Display.

Here, change the Graphics Controller from VMSVGA to VBoxVGA. This did the trick for me on Kali 2019.4

Install Kali 2020.1 on VirtualBox

Conclusion & Where to go from here

Congratulations, you have succefully installed Kali Linux 2020.1 on VirtualBox. That is definitely the easiest way to do this. If you don’t know where to go from here, I highly recommend my Top Things to do after Installing Kali Linux article that is constantly updated. Also, it’s worthwhile to check out the Hacking Books article if you want to take your study even further.

12 thoughts on “How to install Kali Linux 2020.1 on VirtualBox – Step by Step

  • March 18, 2020 at 4:42 pm
    Permalink

    Hello !
    I’m having the apparently quite common “black screen with blinking underscore” problem when booting up my VM for the first time. GRUB is loading just fine and gets me to the page where you can select “Kali GNU/Linux” or “Advanced options for Kali GNU/Linux” with the 5 seconds countdown. If I let it run its course, the next screen will be black with nothing else on it, save for a blinking underscore, no machine activity whatsoever past that point. I do have Virtualization enabled in my BIOS and I was able to run VMs in the past. Any idea ?

    Reply
    • March 27, 2020 at 10:44 pm
      Permalink

      I have same problem!…

      Reply
  • March 3, 2020 at 12:33 pm
    Permalink

    Ifconfig command not working

    Reply
    • March 3, 2020 at 12:57 pm
      Permalink

      sudo ifconfig

      Reply
  • February 24, 2020 at 9:21 pm
    Permalink

    I’ve had some trouble with the installation and got the error “AMD-V is disabled in the BIOS”. If you have that error go to your BIOS and make sure you have virtualization enabled.

    Reply
  • February 13, 2020 at 5:20 am
    Permalink

    hi i just found in the new kali i cant share clipboard ,have you faced this and how did you fixs it

    Reply
    • February 13, 2020 at 8:11 am
      Permalink

      Hey!

      It actually started to work for me again with 2020.1. I wasn’t able to use shared clipboard or drag & drop in 2019.4…

      Did you install the VirtualBox Guest Additions and did you install the VirtualBox Extension Pack? (https://www.virtualbox.org/wiki/Downloads)

      That extension Pack is required for it to work. I think that might be your issue.

      Good luck.

      Reply
  • February 10, 2020 at 3:00 pm
    Permalink

    i have a probleme . the gui doesn t show up after installation it s just cli . please give me some help??

    Reply
    • February 13, 2020 at 9:29 pm
      Permalink

      Try typing the following comand on your CLI:

      “startx”

      This command should start the GUI and take you to the Desktop Environment. If it doesn’t work then you might not have any desktop environment installed.

      Reply
  • January 31, 2020 at 5:04 am
    Permalink

    I’ve just stumbled upon your site and I’ve got to tell you it’s great!

    All the info is concise, accurate, up to date, and the step by step tutorials are very easy to follow for us newbies.

    Keep up the good work!

    If you have any spare time I would love a tutorial on how to setup a metasploitable vm.

    Reply
    • January 31, 2020 at 9:31 am
      Permalink

      Hi Bernardo,

      thanks for your feedback! It’s great that you like my work. Which metasploitable are we talking? I think there are 3 versions 🙂

      Reply

Tell us what you think!

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

%d bloggers like this: