- Base Images
- Kali On ARM
- Acer Tegra Chromebook 13"
- ASUS Chromebook Flip
- BeagleBone Black
- Cubieboard 2
- Galaxy Note 10.1
- Gem PDA
- HP Chromebook
- ODROID U2
- Raspberry Pi
- Raspberry Pi - Disk Encryption
- Raspberry Pi 2
- Samsung ChromeBook
- Samsung Chromebook 2
- USB Armory
- Utilite Pro
- Kali NetHunter Documentation
- NetHunter Rootless
- NetHunter KeX Manager
- Building a New Device File
- Building NetHunter
- Installing NetHunter from Windows
- Installing NetHunter On the Gemini PDA
- Modifying the Kernel
- NetHunter Application - Csploit
- NetHunter Application - DriveDriod
- NetHunter Application - Keyboard
- NetHunter Application - Router Keygen
- NetHunter Application - Shodan
- NetHunter Application - Terminal
- NetHunter Application Update
- NetHunter BadUSB Attack
- NetHunter Chroot Manager
- NetHunter Components
- NetHunter Custom Commands
- NetHunter DuckHunter Attacks
- NetHunter Exploit Database SearchSploit
- NetHunter HID Keyboard Attacks
- NetHunter Home Screen
- NetHunter Kali Services
- NetHunter MAC Changer
- NetHunter Man In The Middle Framework
- NetHunter MANA Evil Access Point
- NetHunter Metasploit Payload Generator
- NetHunter Nmap Scan
- Porting NetHunter to New Devices
- Testing Checklist
- Wireless Cards and NetHunter
- Kali Linux on Android
- The Android Hacking Landscape
- General Use
- Kali Development
- Live Build a Custom Kali ISO
- Public Packaging
- Rebuilding a Source Package
- Recompiling the Kali Linux Kernel
- Building Custom Kali ISOs
- Generate an Updated Kali ISO
- ARM Cross-Compilation
- Custom Beaglebone Black Image
- Custom Chromebook Image
- Custom CuBox Image
- Custom EfikaMX Image
- Custom MK/SS808 Image
- Custom ODROID X2 U2 Image
- Custom Raspberry Pi Image
- Preparing a Kali Linux ARM chroot
VirtualBox for a Kali Guest
If you run Kali Linux as a “guest” within VirtualBox, this article will help you to successfully install the “Guest Addition” tools. You must use version 4.2.xx or higher of VirtualBox in order to take advantage of the improvements, including compatibility updates, and enhanced stability of both the core application and the Guest Additions.
Installing VirtualBox Guest Additions in Kali Linux
The VirtualBox Guest Additions provide proper mouse and screen integration, as well as folder sharing, with your host operating system. To install them, proceed as follows.
Start up your Kali Linux virtual machine, open a terminal window and issue the following commands.
sudo apt update sudo apt install -y virtualbox-guest-x11 reboot
Installing VirtualBox Guest Additions in Older Kali Versions
Start up your Kali Linux virtual machine, open a terminal window and issue the following command to install the Linux kernel headers.
sudo apt update && sudo apt install -y linux-headers-$(uname -r)
Once this is complete you can now attach the “Guest Additions” CD-ROM image. Select “Devices” from the VirtualBox menu and then select “Install Guest Additions”. This will mount the Guest Additions ISO in the virtual CD drive in your Kali Linux virtual machine. When prompted to autorun the CD, click the Cancel button.
From a terminal window, copy the VboxLinuxAdditions.run file from the Guest Additions CD-ROM to a path on your local system. Ensure it is executable and run the file to begin the installation.
cp /media/cd-rom/VBoxLinuxAdditions.run /$HOME/ chmod 755 /$HOME/VBoxLinuxAdditions.run cd /$HOME ./VBoxLinuxAdditions.run
Reboot the Kali Linux VM to complete the Guest Additions installation. You should now have full mouse and screen integration as well as the ability to share folders with the host system.
Creating Shared Folders with the Host System
This section explains how to share folders on your host system with your Kali Linux VirtualBox “guest”.
From the VirtualBox Manager, select your Kali Linux VM instance and click on the “Shared Folders” link in the right window pane. This will launch a pop up window for adding shared folders. Within this window click the “Add Folders” icon.
In the Folder Path text box, provide the path to the folder you would like to share, or click the drop-down arrow to browse your host system for the path to the folder. Select the check boxes that allow for ‘Auto-mount’ and ‘Make Permanent’ and click the “OK” button both times when prompted.
Your shared folders will now be available in the media directory. You can create a bookmark or link for easier access to the directory.