• Home
  • /Security
  • /Kali Linux Install on VirtualBox with Guest Additions
Kali Linux Install on VirtualBox with Guest Additions

Kali Linux Install on VirtualBox with Guest Additions

Kali_linux
The team from Offensive Security has released Kali Linux. Kali is the worthy successor of Backtrack.
Today we are going to do a Kali Linux install on VirtualBox with guest additions. We will update the system and make sure that is ready for future use.

You can visit their site at: www.kali.org

NOTE: The principles and tools that i describe in this blog are for instructional and informative purposes. I do NOT in any way advice to use these tools/knowledge for nefarious, evil or illegal purposes.

Download Kali

1. Go to www.kali.org/downloads to download Kali. Make sure to chose the architecture that matches your system. Either 32 bit or 64 bit or even ARM! Note that you can subscribe or not. That is up to you. If you want a window manager chose Gnome. You can either download the vmware virtual machine or the ISO file.
For the purposes of this demo we will download the ISO. Save it to your desired location.
Kali_download

Install

1.1 Create your virtual machine. Make sure to give it enough resources: 1G or 2G of RAM should be enough. If you want to install the 64 bit version you will need to make sure to have 2 processors in your virtual machine. Kali is Debian based and have their own repositories so it can be updated regularly.
kali_vm_created

1.2 Make sure to add you Kali ISO to the devices so that you can boot from it.
Kali_vm_choose

1.3 Boot your virtual machine and chose the “graphical installer” and follow the installer instructions. For most people accepting the default settings should be enough. If you are not happy with the defaults post a comment and we can discuss the settings in the installer.
Kali_vm_graphic_install

1.4 Boot your virtual machine.
Kali_vm_login

Update Packages

If you are not running as root, you may need to use the “sudo” command.
1.1 Update Kali’s packages.

apt-get update
apt-get update

Kali_vm_upgrade

1.2 Update Metasploit
msfupdate
Kali_vm_msfupdate

1.3 Install/Update Headers
apt-get update && apt-get install -y linux-headers-$(uname -r)

Install Guest Additions

1.1 Mount the guest additions CD. Go to the Top menu–> Devices –> Install Guest Additions.
kali_guest_add
1.1.2 Ignore the automatic installer.

1.2 Copy files to /root and change file permissions.

cp /media/cd-rom/VBoxLinuxAdditions.run /root/
chmod 755 /root/VBoxLinuxAdditions.run

1.3 Change your directory to /root and run the installer

cd /root
./VBoxLinuxAdditions.run

Kali_vm_open_vm_tools2

1.4 Reboot the virtual machine.

Enjoy! now your virtual machine can be re-sized, it is updated and ready to use.

If you have any questions or would like to see something else, please leave post a comment and i will make sure to follow up on it.

2 thoughts on “Kali Linux Install on VirtualBox with Guest Additions

  1. another method I have used with great success is just installing via apt package manger:
    ‘apt-get install virtualbox-guest-x11′

    very easy, and just as effective.

Questions or Comments?