In order to install the guest additions within a Kali Linux guest using Oracle VM VirtualBox to optimise the guest operating system for better performance and usability, there is a requirement to install the kernel header files.
In order to perform the above we can invoke the following from the terminal:
apt-get update apt-get install -y linux-headers-$(uname -r)
Now we can attach the Guest Additions ISO to the guest virtual machine and begin the install:
cp /media/cd-rom/VBoxLinuxAdditions.run /tmp/ chmod 755 /tmp/VBoxLinuxAdditions.run cd /tmp ./VBoxLinuxAdditions.run
Once complete, reboot the virtual machine to complete the installation. On startup, the virtual machine will now have full mouse and screen integration as well as the ability to share folders with the host system in addition to other device drivers and system applications that have now been installed.