15%

Save 15% on All Hosting Services

Test your skills and get Discount on any hosting plan

Use code:

Skills
Get Started
01.11.2024
4 +1

How to Install Kali Linux on VMware Workstation: Complete Step-by-Step Guide

Kali Linux is the industry-standard distribution for penetration testing, ethical hacking, and cybersecurity assessments. Installing Kali Linux on VMware Workstation gives you a fully isolated, sandboxed environment where you can run security audits, practice exploit techniques, and test network defenses — all without touching your host operating system or production infrastructure.

Whether you're a seasoned security professional or just starting your journey into ethical hacking, this comprehensive guide walks you through every step: from downloading the ISO to completing post-installation configuration.

Why Run Kali Linux in a Virtual Machine?

Before diving into the installation process, it's worth understanding why VMware Workstation is such a popular choice for running Kali Linux:

  • Isolation: Your host OS remains completely unaffected by anything you do inside the VM.
  • Snapshots: VMware lets you save the state of your VM at any point, so you can roll back after a misconfiguration or a failed test.
  • Portability: Virtual machine files can be copied, archived, and moved between systems easily.
  • Resource control: You can precisely allocate CPU, RAM, and disk space to match your workload.
  • Safe testing ground: Ideal for practicing penetration testing techniques in a legal, controlled environment before applying them in real-world scenarios.

> Security note: If you need a dedicated, always-on environment for security research or red team operations, consider deploying Kali Linux on a VPS Hosting plan — giving you remote access, full root control, and the ability to run tools 24/7 without consuming local resources.

Prerequisites

Before you begin, make sure you have the following in place:

1. VMware Workstation

Download and install VMware Workstation Pro or VMware Workstation Player from the official VMware website. Workstation Pro is recommended for its snapshot and advanced networking features, but Player works fine for basic use.

2. Kali Linux ISO

Download the latest Kali Linux ISO from the official Kali Linux website at https://www.kali.org/get-kali/. Choose the Installer image (not the Live image) for a full installation. Always verify the SHA256 checksum after downloading to confirm file integrity.

3. System Requirements

Your host machine should meet these minimum specifications:

ComponentMinimumRecommended
CPUDual-core, 64-bitQuad-core or better
RAM (host)8 GB16 GB or more
Free disk space30 GB60 GB or more
VirtualizationVT-x / AMD-V enabledVT-x / AMD-V enabled

> Tip: Make sure hardware virtualization (Intel VT-x or AMD-V) is enabled in your BIOS/UEFI settings. VMware will warn you if it's not, and performance will be significantly degraded.

Step 1: Create a New Virtual Machine in VMware Workstation

Launch VMware Workstation

Open VMware Workstation on your computer. From the home screen, click "Create a New Virtual Machine".

Choose Configuration Type

You'll be presented with two options:

  • Typical (Recommended) — Guided setup, ideal for most users.
  • Custom (Advanced) — Gives you granular control over hardware compatibility and settings.

Select Typical (Recommended) and click Next.

Select the Installation Media

On the next screen, choose "Installer disc image file (ISO)" and click Browse to navigate to the Kali Linux ISO file you downloaded. VMware may not automatically detect Kali Linux, which is fine — you'll specify the OS type manually in the next step.

Click Next.

Step 2: Choose the Guest Operating System

Since VMware doesn't have a dedicated Kali Linux entry in its OS list, you need to configure it manually:

  • Guest operating system: Select Linux
  • Version: Choose Debian 10.x 64-bit (Kali Linux is based on Debian, and this is the closest match)

Click Next.

Step 3: Name Your Virtual Machine and Set Storage Location

  • Virtual machine name: Enter a descriptive name such as Kali Linux 2024 or Kali-Pentest-Lab.
  • Location: Choose a directory with sufficient free space. Avoid storing the VM on a system drive that's nearly full.

Click Next.

Step 4: Allocate Disk Space

Configure the virtual hard disk for your Kali Linux installation:

  • Disk size: Set a minimum of 20 GB, though 40–60 GB is strongly recommended if you plan to install additional tools, store captures, or run wordlists.
  • Disk storage type:
  • Store virtual disk as a single file — Better performance, but less portable.
  • Split virtual disk into multiple files — Easier to move across filesystems, slight performance overhead.

For a dedicated security lab, single file storage is preferred. Click Next.

Step 5: Customize Hardware Before Finishing

Before clicking Finish, click "Customize Hardware" to fine-tune your VM's resources.

Processor (CPU)

  • Allocate at least 2 processor cores.
  • If your host CPU has 8 or more logical cores, allocating 4 cores will significantly improve performance when running multi-threaded tools like Hashcat or Metasploit.

Memory (RAM)

  • Minimum: 2 GB
  • Recommended: 4 GB
  • Optimal for heavy workloads: 8 GB

Kali Linux with a full desktop environment (GNOME or XFCE) runs comfortably on 4 GB. If you're running memory-intensive tools or multiple services simultaneously, allocate more.

Network Adapter

Choose the appropriate network mode for your use case:

ModeUse Case
NATSimple internet access through the host; safest for beginners
BridgedVM gets its own IP on the local network; useful for network scanning labs
Host-OnlyIsolated network between VM and host only; ideal for air-gapped testing

For most penetration testing labs, NAT is the safest and simplest starting point.

Display

Enable Accelerate 3D graphics if your host GPU supports it — this improves the responsiveness of the desktop environment.

Click Close, then click Finish to create the virtual machine.

Step 6: Power On the Virtual Machine

Select your newly created Kali Linux VM from the VMware library and click "Power on this virtual machine". The VM will boot from the ISO image you attached.

Step 7: Install Kali Linux

Boot Menu

When the VM starts, you'll see the Kali Linux GRUB boot menu. You have two installation options:

  • Graphical Install — Recommended for most users; provides a visual, mouse-driven interface.
  • Install — Text-based installation; useful for low-resource environments or troubleshooting.

Select Graphical Install and press Enter.

Language, Location, and Keyboard

Follow the on-screen prompts to configure:

  1. Language — Select your preferred language (e.g., English).
  2. Location — Choose your country or region. This affects timezone settings.
  3. Keyboard layout — Select the appropriate keyboard map for your hardware.

Hostname and Domain Configuration

  • Hostname: Enter a name for your machine (e.g., kali-lab). This is the name your system will use on the network.
  • Domain name: Leave blank for a standalone VM, or enter a domain if you're integrating into a lab network.

User Account Setup

In recent versions of Kali Linux (2020.1 and later), the installer prompts you to create a non-root user account:

  • Full name: Enter your name or a lab alias.
  • Username: Choose a username (e.g., kaliuser).
  • Password: Set a strong password and confirm it.

> Important: Older versions of Kali defaulted to root / toor credentials. Modern versions use a standard user account with sudo privileges. Always change default credentials immediately after installation.

Partition Disks

For a virtual machine installation, the simplest and most effective approach is:

  1. Partitioning method: Select "Guided – use entire disk".
  2. Select disk: Choose the virtual disk you created (it will appear as the only available disk).
  3. Partitioning scheme: Select "All files in one partition" for simplicity, or choose separate /home, /var, and /tmp partitions for a more structured layout.
  4. Confirm changes: Review the partition summary and select "Finish partitioning and write changes to disk". Confirm by selecting Yes when asked to write changes.

Configure the Package Manager

  • Network mirror: Select Yes to use a network mirror for package downloads. This ensures you get the latest package versions during installation.
  • Mirror location: Choose a mirror geographically close to you for faster downloads.
  • Proxy settings: If you're behind a corporate proxy, enter the proxy address here. Otherwise, leave blank.

Software Selection

The installer will present a list of software collections to install. The default selection includes:

  • Kali desktop environment (XFCE is the default; GNOME is also available)
  • Top 10 tools — The most commonly used penetration testing tools
  • Default tool selection — A broader set of security tools

For a general-purpose security lab, the default selection is a solid starting point. You can always install additional tools later using apt.

Step 8: Install the GRUB Bootloader

When prompted to install the GRUB bootloader:

  1. Select Yes to install GRUB to the primary drive.
  2. Choose the virtual disk (typically listed as /dev/sda) as the installation target.

GRUB is essential — without it, your VM won't boot into the installed system.

Step 9: Complete the Installation and Reboot

Once the installation finishes, you'll be prompted to remove the installation media and reboot. VMware typically handles this automatically. Click Continue to reboot the virtual machine.

The VM will restart and boot into your freshly installed Kali Linux system.

Step 10: First Login and Post-Installation Configuration

Log In

At the login screen, enter the username and password you configured during installation.

VMware Tools significantly improves the VM experience by enabling:

  • Seamless mouse integration between host and guest
  • Shared clipboard (copy/paste between host and VM)
  • Dynamic screen resolution adjustment
  • Improved file sharing capabilities
  • Better overall performance

To install VMware Tools on Kali Linux, open a terminal and run:

sudo apt update
sudo apt install open-vm-tools open-vm-tools-desktop -y
sudo reboot

After rebooting, your VM will feel much more responsive and integrated with the host system.

Update the System

Always update your system immediately after installation to get the latest security patches and tool updates:

sudo apt update && sudo apt upgrade -y

For a full distribution upgrade (including kernel updates):

sudo apt full-upgrade -y
sudo apt autoremove -y
sudo apt autoclean

This process may take several minutes depending on your internet connection speed.

Take a Snapshot

Once your system is updated and configured, take a VMware snapshot. This gives you a clean baseline to revert to if something goes wrong during testing:

  1. In VMware Workstation, go to VM → Snapshot → Take Snapshot.
  2. Name it something descriptive like "Clean Install - Post Update".
  3. Click Take Snapshot.

For a more hardened setup, enable and configure ufw (Uncomplicated Firewall):

sudo apt install ufw -y
sudo ufw enable
sudo ufw status

Verify Tool Availability

Kali Linux comes pre-loaded with hundreds of security tools. Verify some key tools are available:

# Check Nmap
nmap --version

# Check Metasploit
msfconsole --version

# Check Burp Suite
burpsuite &

# Check Wireshark
wireshark --version

Troubleshooting Common Issues

VM Won't Boot After Installation

  • Ensure the ISO is detached from the virtual CD/DVD drive after installation.
  • Verify GRUB was installed to the correct disk (/dev/sda).
  • Check that the boot order in VM settings prioritizes the hard disk over the CD/DVD drive.

Low Performance or Lag

  • Increase RAM allocation (4 GB minimum for smooth desktop use).
  • Enable hardware virtualization in BIOS/UEFI.
  • Install open-vm-tools for better VMware integration.
  • Reduce visual effects in the desktop environment settings.

No Internet Access

  • Verify the network adapter is set to NAT in VMware settings.
  • Run sudo dhclient eth0 or sudo dhclient ens33 to request a DHCP lease.
  • Check VMware's virtual network editor to ensure the NAT service is running.

Screen Resolution Issues

  • Install open-vm-tools-desktop as described above.
  • Go to View → Autofit Guest in VMware to enable dynamic resolution.

Taking Your Security Lab Further

A local VMware setup is excellent for learning and experimentation, but it has limitations — your lab is tied to your physical hardware, and running resource-intensive tools like password crackers or large-scale network scanners can strain your local machine.

For more demanding security research and professional penetration testing workflows, consider these options:

  • VPS Hosting — Deploy a cloud-based Kali Linux instance with dedicated resources, accessible from anywhere. Perfect for running long-duration scans and persistent tooling.
  • Dedicated Servers — For enterprise-grade security labs, red team infrastructure, or high-performance testing environments that require full hardware control and maximum resources.
  • GPU Hosting — Accelerate GPU-intensive security tasks like password cracking with Hashcat, which can leverage GPU parallelism to process billions of hashes per second.

Cloud-based infrastructure also lets you build multi-node lab environments — for example, deploying a vulnerable target server alongside your Kali attacker machine on the same private network, simulating real-world attack scenarios without any risk to your local systems.

Kali Linux is a powerful toolkit, and with that power comes significant responsibility. Always adhere to the following principles:

  • Only test systems you own or have explicit written permission to test. Unauthorized penetration testing is illegal in most jurisdictions and can result in criminal prosecution.
  • Never use Kali Linux tools against production systems without a formal engagement agreement.
  • Document your testing activities thoroughly, especially in professional engagements.
  • Keep your tools and OS updated to ensure you're working with the latest vulnerability databases and tool versions.

The goal of ethical hacking is to improve security, not to exploit it. Use your skills responsibly.

Conclusion

Installing Kali Linux on VMware Workstation is one of the best ways to build a professional, flexible, and safe penetration testing environment. By following this guide, you've set up a fully functional Kali Linux VM with proper resource allocation, VMware Tools integration, and a post-installation configuration that's ready for real security work.

From here, you can explore Kali's extensive toolset — from network reconnaissance with Nmap and Wireshark to exploitation frameworks like Metasploit and web application testing with Burp Suite.

As your skills and requirements grow, remember that cloud infrastructure can extend your capabilities far beyond what a local VM can offer. Whether you need a persistent VPS Hosting environment, a high-performance Dedicated Servers setup for large-scale testing, or SSL Certificates to secure your lab's web services, AlexHost provides the infrastructure to support your security journey at every level.

15%

Save 15% on All Hosting Services

Test your skills and get Discount on any hosting plan

Use code:

Skills
Get Started