Let’s take a look at how to install Kali Linux — the most widely used distribution in the field of cybersecurity.
Why Use the Pre-configured VirtualBox Image?
Using the pre-built VirtualBox image comes with several advantages:
- Faster setup: No need to go through the full installation process — simply import and run.
- Official configuration: Maintained and optimized by the Kali Linux team.
- Ideal for cybersecurity labs and hands-on practice environments.
Step-by-Step Guide to Setting Up Kali Linux VirtualBox Image
1. Download the Kali Linux VirtualBox Image
- Visit the official Kali Linux download page.
- Scroll down to the Virtual Machines section.
- Select VirtualBox as the platform and download the 64-bit version.
- Download the ZIP file, which contains the
.vboxand related files.
2. Extract the Files from the ZIP Archive
- Locate the ZIP file in your Downloads folder (or wherever you saved it).
- Right-click and select Extract Here, or use your preferred archive tool.
- After extraction, you should see a
.vboxfile along with other necessary files.
3. Add the Kali Linux Virtual Machine to VirtualBox
- Launch Oracle VirtualBox.
- Click the Add (+) button on the toolbar.
- Navigate to the extracted folder and select the
.vboxfile. - Click Open to add the VM.
- The Kali Linux VM will now appear in your VirtualBox list. Double-click to start it.
4. Configure Import Settings
- On the Appliance settings screen, you’ll see default configurations.
- You can adjust settings like RAM and CPU cores based on your system’s resources.
- A minimum of 2GB RAM and 2 CPU cores is recommended.
- Click Import to proceed. This might take a few minutes.
5. Create a NAT Network
In a previous post, we talked about learning cybersecurity ethically and safely. That’s why we use virtual machines — they allow us to create isolated environments for testing and learning. To simulate real-world scenarios, both attacker and target machines should be on the same network. Here’s how to set up a NAT Network in VirtualBox:
- Go to
File -> Tools -> Network Manager. - Switch to the Nat Networks tab.
- Click Create to generate a new NAT network.
- Choose the VM you want to connect to this network.
- Open the Settings of that VM.
- Go to the Network section.
- Under Adapter 1, enable the adapter and select NAT Network.
- Repeat these steps for other VMs you want to add to the same network.
6. Start the Kali Linux Virtual Machine
- Once the import is complete, you’ll see Kali-Linux-
in VirtualBox. - Select it and click Start.
- Log in using the default credentials:
- Username:
kali - Password:
kali
- Username:
- For security reasons, it’s highly recommended to change the default password after your first login.
Post-Setup Recommendations
1. Update Kali Linux
Once you’re logged in, open the terminal and run:
sudo apt update && sudo apt upgrade -y
Stay secure! 🛡️