Configure Your Kali Box
A few small tweaks turn Kali from "works" into "a pleasure to use": a full-size resizable screen, a shared clipboard, a folder you can swap files through, and snapshots so you can always roll back.
Step 1 — Install VirtualBox Guest Additions
Guest Additions give you a resizable display, shared clipboard, and better performance. The Kali pre-built image usually includes them; if your screen won't resize, install them manually:
$ sudo apt update $ sudo apt install -y virtualbox-guest-x11 $ sudo reboot
After rebooting, enable View → Auto-resize Guest Display in the VirtualBox window. The Kali desktop should now fill your window.
Step 2 — Enable a shared clipboard
With the VM running, choose Devices → Shared Clipboard → Bidirectional. You can now copy and paste between your host and Kali — handy for commands and notes.
Step 3 — Set up a shared folder
A shared folder lets you move files (wordlists, downloads, screenshots) between host and Kali.
-
Add the folder in VirtualBox
Open Settings → Shared Folders, add a folder from your host, name it
share, and tick Auto-mount and Make Permanent.
Figure 2. Configuring a shared folder. -
Give your user access
Auto-mounted shares appear under
/media/and are owned by thevboxsfgroup. Add your user to it, then log out and back in:kali@kali$ sudo usermod -aG vboxsf $USER $ ls /media/sf_share
Step 4 — Find your lab IP address
You'll need Kali's address constantly when scanning. Find it with:
$ ip -4 addr show eth0 | grep inet inet 192.168.56.10/24 brd 192.168.56.255 scope global eth0
Make a note of this 192.168.56.x address — it identifies your attacker on the lab network.
Step 5 — Take a clean snapshot
Snapshots are save points. Take one now, while Kali is freshly updated and configured, so you can always return to a known-good state.
-
Shut down Kali
A snapshot taken while powered off is the cleanest.
kali@kali$ sudo poweroff -
Create the snapshot
In VirtualBox Manager select Kali → Snapshots → Take. Name it
clean-updated.
Figure 3. A clean snapshot you can always roll back to.
Take a fresh snapshot before any big experiment. If something breaks, restore in seconds instead of rebuilding the whole VM.
Checkpoint: Kali resizes, shares a clipboard and folder with your host, you know its lab IP, and you have a clean snapshot. Your attacker is ready — time to add some targets.