Kali Linux is a powerful Debian-based distribution specifically designed for penetration testing and security research. Installing it in a virtual machine using VirtualBox provides a safe, isolated environment for learning cybersecurity tools without affecting your host system. This guide walks you through the complete installation process of Kali Linux 2025.3 in VirtualBox on macOS.
Prerequisites:
- VirtualBox installed on your computer
- Kali Linux ISO downloaded from kali.org
- Minimum 4 GB RAM (8 GB recommended)
- At least 20 GB free disk space
Steps of Installation
Step 1: Download Required Files
- Download VirtualBox from virtualbox.org
- Download Kali Linux ISO from kali.org

Choose the Installer option for x86_64 architecture
Step 2: Create Virtual Machine
1. Open VirtualBox and click New

2. Configure basic settings:
- Name: kali linux
- Type: Linux
- Version: Linux 2.6 / 3.x / 4.x / 5.x (64-bit)
- ISO Image: Browse and select your downloaded Kali Linux ISO file

Step 3: Allocate Hardware Resources
Configure memory and processors:
- Base Memory: 2048 MB minimum (4096 MB recommended)
- Processors: 4 CPUs (minimum 2)
- Hard Disk: 25-30 GB

Click Finish to create the VM
Step 4: Start Installation
- Select your VM and click Start

Choose Graphical Install from the boot menu
Step 5: Complete Installation Process
Follow the on-screen prompts:
- Select Language: Choose your language
- Select Location: Choose your country/region
- Configure Keyboard: Select keyboard layout
- Set Hostname: Enter a name for your system
- Create User Account: Enter username and password (twice)
- Partition Disks: Select "Guided - use entire disk"
- Confirm Partitioning: Choose "All files in one partition"
- Write Changes: Select "Yes" to write changes to disk
- Software Selection: Choose desktop environment and tools
- Install GRUB: Select "Yes" and choose the hard disk
Step 6: Reboot and Login
- Click Continue when installation completes
- VM will reboot automatically
- Login with your created username and password

Post-Installation
- Update system:
sudo apt update && sudo apt upgrade - Install VirtualBox Guest Additions for better performance
- Configure network settings as needed
- Your Kali Linux virtual machine is now ready to use.


