Виртуальная машина kali linux для windows 10

In this post, you’re going to learn how to install Kali Linux in a VirtualBox virtual machine on a Windows 10 host.

🎥 Want to watch a video to supplement your reading? Check this out:

Prerequisites 🛠️

VirtualBox

If you don’t have VirtualBox installed, head over to VirtualBox.org and download the latest version.

download virtualbox windows

You can skip this step if you already have it installed. ✅

Download Kali Linux

Head over to Kali.org and download the desired ISO image.

download kali linux iso image

Download the 64-bit only if you’re running a 64-bit CPU. Otherwise, download the 32-bit version.

If you want to install all the tools that Kali comes with, select the Everything version.

For this tutorial, we’re going to install the recommended version.

Enable Virtualization

One final check you must do before initiating the installation is to enable virtualization in your BIOS/UEFI system.

To check if virtualization is enabled, press CTRL + SHIFT + ESC to open Task Manager -> Performance then see the Virtualization label.

check virtualization is enabled via task manager

If your virtualization is disabled you must go to your UEFI/BIOS and enable it.

Here is how it looks on my system.

Yours may be different.

enable bios uefi virtualization

Intel users may find the setting labeled as VT-d or VT-x.

AMD users as AMD-V.

Make sure to consult your motherboard’s manual if you cannot find the virtualization setting.

Let’s finally configure the virtual machine and then install Kali Linux!

Virtual Machine configuration

Start up VirtualBox and click the New button.

virtualbox new virtual machine

Choose a name for your operating system.

It will be used in any filenames such as configuration, hard disk, and snapshot.

Then select the Kali Linux ISO file you just downloaded and then click Next.

The Type and Version fields will be automatically completed when you select the ISO Image.

virtualbox virtual machine name operating system

Hardware is the next section where we can define how much RAM to use.

virtualbox create virtual machine hardware section

The higher amount of RAM, the better the performance.

Various tools inside Kali can use a lot of resources.

In this example, I’m going with 6GB of RAM (6144MB in binary).

I’d say you should go with something between 25-50% of your maximum RAM. The same goes for CPUs.

Kali tends to be more efficient than Windows, and allocating more resources will cause Windows to get sluggish.

Click Next once you’re ready to move to the next step.

Virtual Hard disk is the next screen.

virtualbox create virtual hard disk

As the name suggests, we can create a Virtual Hard Disk.

My SSD has a total of 2TB and I’m ok with allocating it 100GB.

You can also opt not to add a Virtual Hard Disk.

In this example, let’s go with 100GB.

The final screen is the Summary.

virtualbox create virtual machine summary

If you made a mistake and you’d like to change something, you can go back and do it.

If you’re ok with the setup, then press Finish.

The wizard is complete! Awesome 😎

Advanced Virtual Machine configurations

We still have some small tweaks to ensure we have a healthy virtual machine.

Select the Kali virtual machine and click on Settings to customize it further.

virtualbox virtual machine advanced settings

Go to General -> Advanced and make sure to set Shared Clipboard and Drag n’ Drop to bidirectional.

virtualbox shared clipboard drag n drop bidirectional

In System ->  Motherboard change the Boot Order so that Hard disk is on top and Optical is the second.

Everything else should be disabled.

virtualbox virtual machine boot order

In System -> Processor enable the extended feature named Enable PAE/NX  ONLY if you’re using a 32-bit system.

Leave it disabled if you’re using a 64-bit system.

virtualbox pae/nx setting

In Display -> Screen, make sure to have Video Memory set to 128MB.

Also, make sure to have 3D Acceleration disabled as people have reported it causes issues.

virtualbox display settings

Press OK and your settings should look like this:

virtualbox settings overview

The configuration is complete and you are now ready to install Kali Linux on your virtual machine! 🎉

Power up the virtual machine by double-clicking it.

Alternatively, you can power it up by right-clicking it, then Start -> Normal Start.

You should be greeted with the Kali Linux Boot screen.

Kali Linux Boot screen

Select your preferred language.

This will be used for both the setup process and once you are using Kali Linux.

Kali Linux installation process select preferred language

Select your location.

Kali Linux installation process Select your location step

Select the localization.

Kali Linux installation process Select localization step

Select the keyboard layout.

Kali Linux installation process Select Keyboard layout step

Click Continue and then Kali Linux will start installing media files.

Grab a cup of your favorite beverage, sit back, relax, and wait for the next step. 🍹

Kali Linux installation process installing media files

Configure the network

I’d go with the default kali hostname.

Kali Installation process Configure the Network

I choose neutron as the domain name.

Kali Linux installation process choose a domain name

Next up you’ll have to create the user account for the operating system.

Choose a name for the new user.

Kali Linux installation process Choose name step

Choose a username.

Kali Linux installation process Choose username step

Choose a good password.

Kali will ask for the password every time you boot it up.

Kali Linux installation process create a good password step

Partition disks

Select the Guided – use entire disk option.

Kali Linux installation Guided partition disks step

Select the disk we created earlier.

Kali Linux installation process Select Disk step

Choose disk partitioning

Depending on your needs, you can choose to keep all your files in a single partition or to have separate partitions.

If you’re not sure which you want, go with All files in one partition.

Kali Linux installation process select disk partitioning

Next, you have one last chance to review your disk configuration before the installer makes irreversible changes.

Kali Linux installation disk review

Write the changes to disks?

Select Yes and click Continue.

Kali Linux installation Format Disk step

After that, the installation will take several minutes.

Once the core of the system is installed, a new window will pop up asking you to select a collection of tools.

I’d go with the ones selected by default but feel free to install everything you need.

The more thing you select to install at this point will make the installation last a bit more.

Kali Linux installation process select tools to install

Configuring gub-pc

It is important to install the GRUB boot loader.

Select Yes and then press Continue.

Kali Linux installation process Select GRUB boot loader

Then select the primary drive to install the GRUB boot loader.

Finally, finish the installation

At this point, the installation is complete and you have to reboot your virtual machine.

Just press Continue and wait for the system to reboot.

Kali Linux installation complete

Kali Linux booting screen

Enter your username and password and you’re in!

Kali Linux login screen

Welcome to your new Kali Linux desktop!

Kali Linux desktop screen

Let’s now resize the window resolution to look much better.

Press (right) CTRL + C twice.

Your window should look like this.

Kali Linux better resolution

You’re all set!

Enjoy your new Kali Linux! 🐉


Let me know what you think about this article in the comments section below.

If you find this article helpful, please share it with others and subscribe to the blog to support me, and receive a bi-monthly-ish e-mail notification on my latest articles.

  

how to install Kali Linux on VMware workstation 15, how to install kali Linux on VMware 2019, how to install kali linux on vmware fusion, how to install kali linux in VMWare workstation 14, how to install kali linux in vmware workstation 15 pro, can’t install kali linux on VMware, how to install vmware tools in kali linux 2018, how to install kali linux in vmware workstation 15 player. Kali Linux mostly used by Hackers is developed by Offensive Security. With Kali Linux, you can do Penetration Testing, Vulnerability Scanning, and Security Audit. Kali is a Debian based Linux operating system. The main reason for the creation of kali is for digital forensics and penetration testing. It has lots of penetration testing programs like Armitage, NAMP, Wireshark, etcetera. Maximum packages that Kali is having are imported from some Debian Repos. If you are a beginner to Linux OS, I recommend starting with Ubuntu which is for development purposes or with RedHat Linux. In this post, I’ll show how to install Kali Linux on VMware or VirtualBox on Windows 10 PC.

  • Related: How to Reset Forgotten Password of Kali Linux

No, it’s not like that. Kali just helps you in creating a path to enter some other host. To install Kali Linux for practice instead of dual booting your PC, we’re here. In this tutorial, you will learn how to install Kali Linux on VMware or VirtualBox on Windows 10 PC.

  • More than 600 penetration testing tools included
  • Free (as in beer) and always will be
  • Open source Git tree
  • FHS compliant
  • Wide-ranging wireless device support
  • Custom kernel, patched for injection
  • Developed in a secure environment
  • GPG signed packages and repositories
  • Multi-language support
  • Completely customizable
  • ARMEL and ARMHF support

Related: Install macOS Catalina on VMware on Windows PC

Table of Contents

Install Kali Linux on VMware or VirtualBox on Windows 10 PC

Download Kali Linux ISO Image

First, off Download the Kali Linux ISO image file from the official site of Kali Linux.  You may have many different versions of Kali Linux so go for the first one as mentioned below in the screenshot. You can directly download it from here: Download Kali Linux for Virtualbox & VMWare

Download Kali Linux

Download Kali Linux

Create a New Virtual Machine on VMware

Go ahead and start how to install Kali Linux on VMware or VirtualBox on Windows 10 PC. First, open VMware Workstation player, then click on Create a New Virtual Machine as shown below.

Create a New Virtual Machine

Create a New Virtual Machine

When the wizard opened, click on Typical (recommended) then click Next.

New Virtual Machine WizardNew Virtual Machine Wizard

New Virtual Machine Wizard

On the Guest Operating System Installation, select Installer Disc Image File (ISO). After that, click Browse and choose the Kali Linux ISO file then click Next .

Guest Operating System Installation

Guest Operating System Installation

On the next window, select Linux for the operating system and Debian 9.x 64-bit for the version. Then hit Next.

Select a Guest Operating System

Select a Guest Operating System

Name the virtual machine, choose a location for it then click Next.

For the disk capacity, assign 20 or 25 GB. Then select Store virtual disk as a single file. Then click Next.

When done, click Finish.

Ready To Create Virtual Machine

Ready To Create Virtual Machine

Edit Virtual Machine Settings on VMware

Now proceed with how to install Kali Linux on VMware or VirtualBox on Windows 10 PC. Goto VMware and click Edit Virtual Machine Settings on Kali Linux.

Allocate RAM for your Kali Linux OS. If you have installed 4 GB RAM than set 2 GB, 4 GB if you have 8 GB Ram and 8 GB if you have 16 GB.

Virtual Machine Settings

Virtual Machine Settings

Click the Processors tab, from the left side menu, increase the number of processors to 4 and click OK.

Increase Processors

Increase Processors

Here you go .The Virtual machine is now set.

Create Virtual Machine on VirtualBox

Open your  Virtual Box Manager. Click on the new button to create new Virtual Machine.

New

New

Set the name of Virtual Machine as you desire.The type and version option is set automatically and choose the machine folder in which you want to store Kali Linux.

Set the amount of memory RAM in megabytes to be allocated the virtual machine. Allocate more than 2GB ..

Create a virtual hard disk now.

Leave selected VDI (VirtualBox Disk Image ) and click Next.

Select the option Dynamically allocated and click Next.

Choose the disk location, set the amount disk to 20 GB  which will automatically reduce 20 GB from your selected disk and click Create .

The virtual machine is now created . Click Settings as shown below.

In the left side of settings window , click on the Storage tab .The list of storage devices appears in the middle of window then click on the empty. Choose the icon (looks like CD) at the right side of window the list of options appears then select option,  choose virtual optical disk as shown below.

Select the Kali Linux ISO image file that you had downloaded, and click open.

Click Start.

Next up, head over to another step of how to install Kali Linux on VMware or VirtualBox on Windows 10 PC. The installation process of Kali Linux on VMware and VirtualBox are the same.

Now it’s time to install Kali Linux so click the button Power on this Virtual Machine.

Run the Virtual Machine

Run the Virtual Machine

The installation option Interface appears as below so click on Graphical Install.

Graphical Install

Graphical Install

Choose you language and click Continue.

Choose Language

Choose Language

Name your desired Host Name and click Continue.

Set Host Name

Set Host Name

Leave the Domain Name empty and click Continue.

install kali linux on vmware VirtualBox on Windows

Provide a Domain Name

Enter your own password that will be required for signing in to the Linux and click Continue.

install kali linux on vmware VirtualBox on Windows

Make the password

In this step, set the time zone according to your geography and Continue.

install kali linux on vmware VirtualBox on Windows

Set the time

Now select Guided – use entire disk and Continue.

install kali linux on vmware VirtualBox on Windows

Guided – use entire disk

Next up, select SCSI3 (0,0,0) (sda) – 21.5GB VMware, VMware Virtual and Continue.

how to install Kali Linux on VMware or VirtualBox on Windows PC

SCSi3

On this screen, select All files in one partition (recommended for new users) and Continue.

how to install Kali Linux on VMware or VirtualBox on Windows PC

recommanded of new users

At this window, select Finish partitioning and write changes to disk and click Continue.

how to install Kali Linux on VMware or VirtualBox on Windows PC

Finishing partition

For partition disks, select the Yes option and click Continue.

how to install Kali Linux on VMware or VirtualBox on Windows PC

partition disks

Hit No and Continue.

how to install Kali Linux on VMware or VirtualBox on Windows PC

Use a NetWork Mirror

Accept it by clicking on Yes and Continue.

how to install Kali Linux on VMware or VirtualBox on Windows PC

GRUB Boot Loader

Select “/dev/sda” and Continue.

how to install Kali Linux on VMware or VirtualBox on Windows PC

Select /dev/sda

That’s all and click Continue to finish the installation.

how to install Kali Linux on VMware or VirtualBox on Windows PC

install kali linux on VMware VirtualBox on Windows

All done, here you go. Enter the default user name “root”. The password is the password that you set during the installation so simply enter it.

how to install Kali Linux on VMware or VirtualBox on Windows PC

install Kali Linux on VMware VirtualBox on Windows

That was how to install Kali Linux on VMware or VirtualBox on Windows 10 PC.

Enjoy hacking!.

Kali Linux knows as BackTrack operating system in the past based on Debian for network security. Also, Kali Linux mostly nowadays the users are using for penetrating tests. The professional hackers currently in touch with Kali Linux operating system. Indeed Kali Linux is one of the best and safe operating systems in the world. In fact, Kali Linux is using for the country sever security, to keep there file documents safe out of the hackers. However, Kali Linux over 600 million Pre-installed penetration-testing programs, as it is used currently one of the best-operating systems for security.

So, it is the world of virtualization lets test it out on Virtual machine platform that known VirtualBox. Do you have information about VirtualBox? VirtualBox is an open-source platform in which you can test any kind of operating system on it. The procedure is pretty easy everyone can do it. For this procedure, you need a better computer environment where you have to test it. Take it out which kind of hardware accessories you need to install Kali Linux on VirtualBox on Windows 10 PC.

Before getting started on how to install Kali Linux on Windows 10 using VirtualBox. You need some important things to know about that. The first one is your computer requirements. The second one is the Kali Linux Image. The third one is VirtualBox platform software where you have to perform a clean installation of it on your Windows 10 PC.

  • How to Dual Boot Kali Linux with Windows 10 on a single SSD Drive
  • Install Kali Linux 2020 on Windows 10 using VMware Workstation

System Requirements:

  • 4GB of RAM for Better performance
  • 20GB of Hard Disk capacity
  • 2GHz core processors
  • Nvidia or AMD graphics card (Must)
  • Kali Linux ISO file
  • VirtualBox or VMware Workstation

Step 1. Install VirtualBox

You can download VirtualBox from its official website VirtualBox.org. Once the software downloaded go ahead and perform a clean installation.

  • Double-click to launch the setup file
  • When the installation wizard opened simply click Next.
  • Specify the location where you want to install VirtualBox.
  • If you want to create a shortcut on the Windows start menu, or desktop check the box.
  • On the next screen again click next
  • Now VirtualBox is ready to install, so click Install option.
  • Wait until the installation should be completed, when the installation is done click Finish.

Step 2. Create Virtual Machine for Kali Linux

Once the installation of VirtualBox is successfully done on Windows 10 PC. Then go ahead create a Virtual Machine.

Open up the VirtualBox, on the VirtualBox screen click on the “New” option.

Give a name

Give a name

Type “Kali Linux”, here it will automatically detect the “Type” and “Version” of Linux then click next.
Increase the Memory Size and click next.

Increase memory size

Increase memory size

Select the option “Create a virtual hard disk now” and click next.

Next

Next

Choose a Hard disk file type so the recommend type is “VDI (VirtualBox disk image”.

VDI (VirtualBox disk image

VDI (VirtualBox disk image

Select the option “Dynamically allocated” option for Storage on the physical hard disk.

Dynamically allocated

Dynamically allocated

Select the hard disk capacity for Kali Linux, and manage the location where you want to install it.

Manage hard disk size

Manage hard disk size

Step 3. Configure the settings for Kali Linux

For better performance of Kali Linux on VirtualBox, you need to bring some changes to the settings. So, to do that simply click “Settings”.

Settings

Settings

On the setting window, select the “System” from left-handed. On the motherboard option uncheck the “Floppy disk”.

Uncheck Floppy

Uncheck Floppy

Navigate to the “Processor” tab and increase the size of the processor.

Increase processor

Increase processor

Now select the “Display” tab, then select “Screen” and increase the size of Video Memory.

Increase Video Memory

Increase Video Memory

Select below down the “USB” option, and select “USB 3.0 (xHCI) Controller. Once the settings cleared click OK to save changes.

USB 3.0

USB 3.0

Step 4. Install Kali Linux on Windows 10 using VirtualBox

When the VirtualBox installation completed, and you have created a new virtual machine for Kali Linux. After that, the configuration successfully is done, then its time to install Kali Linux on VirtualBox on Windows 10 PC. Remember that follow each of the following the guidance of installation. Otherwise, you will face any issue during the installation process.

So, once everything is up on VirtualBox click the “Start” button to start up.

Start

Start

On the welcome screen of Kali Linux select “Graphical Install”.

Graphical Install

Graphical Install

Select your input language and click continue.

"<yoastmark

Choose your country where you live and click continue.

"<yoastmark

Please enter the hostname for this system. The hostname is a single word that identifies your system to the network. If you don’t know what your hostname should be, consult your network administrator. If you are setting up your own home network, you can make something up here. However, it will detect the hostname automatically but you can enter your favorite hostname too. Once the hostname entered click continue.

Enter host-name

Enter host-name

Configure the network, the domain name is the part of your internet address to the right of your hostname. I recommend you to leave it empty and click continue.

Configure the network

Configure the network

Set up your user and password, a user account will be created for you to use instead of the root account for non-administrative activities. The user name is optional you can enter anything you want and click continue.

Enter your username

Enter your username
  • If you are installing Kali Linux on your actual computer, then you have to enter a heavy password. On the other hand, for testing on the Virtualization platform, it doesn’t matter whether you should enter a heavy password or not.
  • When you approached the next screen select there “Guided – use entire Disk” then click continue.
  • In this window, select “All files in one partition (Recommended for new users), then click continue.
  • Select “Finish partitioning and write changes to disks” and click continue.
  • If you continue, the changes listed below will be written to the disks. Otherwise, you will be able to make further changes manually. So, if you want to make changes to disk select (YES) and click continue.
  • Wait until the base system installation should be completed.
  • On the next screen, the recommended software will be installed automatically.
  • Once the installation completed the Virtual machine will restart automatically. When you back to Kali Linux enter your password and hit enter.

Step 5. Fix Kali Linux Screen Resolution on VirtualBox

Once the installation completed, then the only thing is remaining. That is entering the full-screen resolution of Kali Linux on VirtualBox. There is a small tool that you download from VirtualBox.org. That called “Guest Tool”, insert the guest and complete the installation to enter the full-screen resolution.

That’s it if you faced any kind of problems then feel free to share with me below in the comment section.

This article will set up and configure Kali Linux 2024 on a new virtual machine using the Oracle VM VirtualBox virtualization program. This will enable you to create virtual machines and run and use Windows, Linux, or macOS systems virtually on your Windows 10 64 Bit or Windows 11 operating system computer. Following the stages abstracted in this article, you can start with Kali Linux and begin exploring its many features and capabilities.

Installing Kali Linux 2024 on VirtualBox

How to Set Up Kali Linux 2024 on a New Virtual Machine using Oracle VM VirtualBox on Windows 11 & 10

Kali Linux is a distribution widely preferred by people who want to improve themselves in cybersecurity. This is because it includes various software, mainly related to the system and network security, for free.

Using this software, users can analyze system security vulnerabilities in their home or corporate network and take measures to ensure information security.

Kali distribution is not only used in the field of cybersecurity. It can also be preferred over Microsoft’s Windows system on personal computers, so users can have multiple powerful tools.

Suppose you find the need for an alternative operating system, like Windows 10, on your Kali PC. In this instance, you can build a dual-boot structure. This will allow you to have both systems on your physical computer. However, switching between them will always require a computer restart.

You can utilize virtualization programs like VMware or VirtualBox on your host machine. This lets you run the preferred active system on a virtual machine without restarting your computer.

How to Create a New VM for Kali Linux

After installing Oracle VM VirtualBox on your Windows 10 computer, you can create a new virtual pc for Kali or other Linux distributions with simple steps.

Step 1

After running the VirtualBox program, click the New icon in the tool menu and open the virtual machine creation wizard. When you type the name of the Linux distribution you will install in the VM wizard, the values in the Type and Version sections are automatically selected.

However, Oracle software may not detect some systems correctly, so you need to adjust some settings yourself. Since the Kali Linux system is Debian-based, change the virtual computer version to Debian (64-bit) and click Next.

Creating a Virtual Machine for Kali Linux

Step 2

Determine a suitable RAM size for your Kali virtual computer depending on the hardware performance of your host computer. If you have a memory size of 8 GB on your host computer, configure the virtual memory size of your VM as 4 GB and click Next.

Setting Virtual RAM Size

Step 3

Since you will install Kali from scratch on the virtual computer you created, check to Create a Virtual Hard Disk Now in the HDD configuration and click the Create button.

Create a New Virtual Hard Disk

Step 4

If you do not plan to use your Kali guest machine in any software other than Oracle virtualization software, select the virtual hard disk file type as VDI (VirtualBox Disk Image) and click Next.

Selecting the VDI Virtual Disk Type

Step 5

If you configure the virtual disk of your Kali virtual computer to a Fixed Size, the space equal to the disk size will be allocated from your host disk. This setting improves VM performance but takes up more space on your host disk.

Therefore, select the Dynamically Allocated feature and click Next to configure the space allocation on your host disk as much as the guest operating system will need.

Choosing a Dynamically Expanding Disk Structure

Step 6

If you plan to create a virtual disk backup with a VDI file extension, you can store it on one of your external storage devices. In that case, you can change the disk location in the File Location and Size window.

Suppose you prefer to have the virtual disk backed up to the destination where the VM will be installed. In that case, bypassing the alteration of the file location is recommended. Instead, adjust the disk size to accommodate your system’s requirements for the tasks you perform, and then proceed by clicking the Create button.

Setting Virtual HDD Size

Step 7

After preparing your Kali VM, click Settings to add an ISO file or change the boot order.

Opening the Kali Virtual Machine's Settings

Step 8

In the advanced tab of your virtual computer’s general settings, change the relevant settings to Bidirectional to enable the shared clipboard and drag-and-drop features between your host and VM.

  • Shared Clipboard: Bidirectional
  • Drag’n’Drop: Bidirectional

Enabling Shared Clipboard and Drag and Drop Features

Step 9

Disable Floppy from Boot Order devices in your virtual machine’s System / Motherboard settings and configure the Optical device as primary.

Changing the Boot Sequence

Step 10

Configure the Processor hardware settings of the Kali VM according to the virtual core of your host CPU. The green area indicates that you can select a maximum of 4 cores. Still, you can set a higher value for higher performance.

Increasing the Number of Virtual Processor Cores

Step 11

If you will use applications that require high graphics power in your guest operating system, enable the 3D Acceleration feature in the Display settings and configure the Video Memory size to the maximum value.

Enabling 3D Graphics Acceleration

Step 12

View the Storage hardware settings and delete the old technology IDE Controller.

Deleting IDE Controller

Step 13

Click the Leave Empty button to add an empty optical drive in the Optical Disk Selector window that opens after clicking the icon next to the SATA Controller.

Adding a SATA Optical Drive

Step 14

Enable the Host I/O Cache feature to enhance the write and read speeds of the SATA controller in your virtual machine.

Enabling Host I/O Cache for SATA Controller

Step 15

To increase the performance of Kali Linux 2024.vdi virtual disk, configure the SATA Port setting as Solid-State Drive (SSD) in the Attributes tab.

Setting VDI Disk as SSD

Step 16

To add the Kali Linux ISO file to the virtual pc, select the Empty optical disk, then click the CD/DVD icon, and click Choose a disk file from the drop-down options.

Adding Kali ISO File to Virtual Machine

Step 17

Select the Kali Linux image file you downloaded to your computer from the link here and click Open.

Choosing Kali Linux ISO File

Step 18

If you want to connect and use your USB 3.x devices in your Kali virtual system, change the Compatibility setting from the USB hardware settings to the USB 3.0 (xHCI) Controller and close the VM wizard.

Enabling USB 3.0/3.1 Controller

Step 19

Click Start to run the Kali Linux virtual computer you prepared with Oracle and start the setup wizard.

Running the Kali Virtual Computer

How to Install Kali Linux in VirtualBox

Once you have successfully created a Linux VM using VirtualBox, running the VM allows you to set up your system like a physical PC effortlessly. Therefore, installing an operating system on a virtual system follows the same stages as setting it up on a PC.

Step 1

Press Enter in the Graphical Install option in the Kali Linux installation wizard.

Kali Linux Installation Wizard

Step 2

When you continue with the graphical installation, select the language in which you will perform the installation process on the Select a Language screen that opens. The language you choose here will also be your system display language.

Selecting the System Language

Step 3

The Location setting, which is generally configured as your country of residence, sets the time zone for your system. Thus, you can display your system time accurately.

Choosing the Location

Step 4

Configure your virtual computer’s keyboard layout according to your host computer’s hardware.

Configuring the Keyboard Layout

Step 5

Type a hostname to identify your Kali virtual machine on your network and continue.

Editing the Hostname

Step 6

If your network environment has an Active Directory server, type your domain name to add your VM to the domain network.

Skipping Domain Name Setting

Step 7

Type your full username for the account that will be used instead of the root account on your Kali system.

Typing a Username

Step 8

Please enter your account name, which will be utilized for logging into your system, using lowercase letters.

Typing the Username in Lowercase

Step 9

Create a solid and hard-to-guess password to prevent anyone else from accessing your virtual system.

Setting Password for User Account

Step 10

If the checklist does not reflect your time zone, you can change your location by revisiting the setup wizard.

Selecting the Time Zone for the System Clock

Step 11

In the Partition Disks window, you can see the virtual HDDs that you have added to the virtual machine. Choose the virtual disk where you wish to install the Linux system within this window.

Selecting the Disk to Partition

Step 12

You can use different schemes to partition the virtual disk of your choice. If you are an entry-level user of Linux, we recommend continuing with the All Files In One Partition option.

All Files in One Partition

Step 13

After configuring the disk, click Continue to finish the partition process and write the changes to the disk.

Finishing Partitioning and Writing Changes to Disk

Step 14

After checking the changes to be made on the disk, select Yes to confirm writing the changes to the disk and click Continue.

Choosing to Write Changes to Disk

Step 15

After partitioning, select the Kali desktop environment during system setup and continue.

Choosing the Kali Desktop Environment

Step 16

Select the Yes button to install the GRUB Boot Loader on the drive configured as the primary.

Installing GRUB Boot Loader on Primary Drive

Step 17

Select your virtual disk for Boot Loader installation and click Continue.

Choosing the Disk to Install GRUB

Step 18

After installing Kali Linux, remove the installation media and click Continue to boot your system.

System Reboot After Installation

Step 19

Press Enter in the Kali GNU/Linux option on the Kali boot screen.

Kali GNU/Linux

Step 20

Type the username and password you set during installation and click Log In.

System Login

How to Install Guest Additions in Kali Linux VM

After installing Kali Linux with VirtualBox, you must install Guest Additions to install the drivers for your guest operating system and use your host PC’s devices, such as USB and webcam.

Usually, the Guest Additions are installed automatically when your host PC is linked to the Internet while building a guest operating system on the virtual machine. However, if the automatic installation does not occur, you must manually perform this task.

Step 1

While your Kali Linux guest operating system is running, click Devices / Insert Guest Additions CD Image from the tool menu and mount the installation media to the system.

Insert Guest Additions CD Image

Step 2

To start installing, use CTRL + Alt + T to open the command console. Then, execute the following commands to list the contents of the CD image mounted on your system.

cd /media/cdrom
ls
sudo sh ./VBoxLinuxAdditions.run

Installing Guest Additions

Step 3

When you see the Kernel Header 5.18.0-kali5-amd64 error in the terminal while installing Guest Additions, you must install this package and its dependent packages on your system.

Kernel Header 5.18.0-kali5-amd64 Error

Step 4

To get VirtualBox working on Linux, type “sudo apt install build-essential dkms” into the terminal to install the correct kernels.

sudo apt install build-essential dkms

NOTE: If the packages required for Guest Additions cannot be installed automatically using the above command, download and install the relevant packages manually in the terminal.

wget http://http.kali.org/pool/main/l/linux/linux-headers-5.18.0-kali5-amd64_5.18.5-1kali6_amd64.deb | wget http://http.kali.org/pool/main/l/linux/linux-headers-5.18.0-kali5-common_5.18.5-1kali6_all.deb | wget http://http.kali.org/pool/main/l/linux/linux-kbuild-5.18_5.18.5-1kali6_amd64.deb | wget http://http.kali.org/pool/main/l/linux/linux-compiler-gcc-11-x86_5.18.5-1kali6_amd64.deb
sudo dpkg -i *.deb

sudo apt install build-essential dkms

Step 5

The installation process will be successful once you try to install Guest Additions again on your Kali VM.

Guest Additions Installation Successful

Step 6

To check the Guest Additions version, execute the “sudo /usr/sbin/modinfo vboxguest” command in the terminal.

sudo /usr/sbin/modinfo vboxguest

Checking VBoxguest Version

Step 7

Restart your Kali virtual system, and when you try to transfer a file by dragging and dropping a file from your host PC to the desktop environment of your VM, you can see that the file is copyable.

Transferring Files with Drag and Drop

Step 8

You can select whether to use your virtual computer in full-screen or windowed mode.

Controlling the Full Screen Resolution

How to Configure a Shared Folder

You can enable and use Oracle software’s Shared Folder feature to quickly copy larger files between your Kali VM and your host.

Step 1

Click Devices / Shared Folders / Shared Folders Settings in the tool menu of your Kali VM.

Configuring Shared Folder

Step 2

In the Shared Folders configuration window, click the add icon as in the image below, and then click Other from the drop-down list in the Add Share window that opens.

Adding a Shared Folder

Step 3

Create a shared folder in a location of your host operating system and change its name as you wish.

Creating Folder on Host

Step 4

After specifying the folder on your host, if you want this folder on your VM to be automatically mounted and permanent every time you restart your system, tick the Auto-Mount and Make Permanent options and click OK.

Auto-Mount and Persist Public Folder

Step 5

Create a new folder in KaliSharedFolder on your host computer’s desktop and check the folder’s contents from Home or media/sf_KaliSharedFolder from your virtual system.

NOTE: If you get a user permission denied error when you try to access sf_KaliSharedFolder, you must make your user account a member of the vboxsf group. To add your user account to the vboxsf group, execute the “sudo adduser $USER vboxsf” command in the terminal and reboot your system.

sudo adduser $USER vboxsf

Testing the Interoperability of Shared Folder

Step 6

You can construct a shortcut on the desktop location to access the shared folder faster.

sudo ln -s /media/sh_KaliSharedFolder ~/Desktop

Creating a Desktop Shortcut for Shared Folder

How to Use USB Flash Memory

Connecting your USB storage devices or flash drives to your Kali guest system lets you do your work, quickly back up your files, or install any software.

Step 1

First, plug your flash disk into one of your physical computer’s free USB 3.x ports and then create a folder named ‘Backup’ to test your disk in the VM.

Creating a Folder Named Backup on a USB Flash Drive

Step 2

Click Devices / USB / Name of Your USB in the tool menu of your Kali VM to connect your USB to the virtual machine.

Connecting USB Stick to Kali VM

Step 3

When you check the contents of your USB memory that is automatically mounted to your Linux system, you can access the folder named Backup.

Viewing the Contents of the USB Disk in the Virtual Machine

How to Delete the Virtual Machine from Kali Linux

Once you have removed all files of the guest system from your PC, it is vital to verify that there is nothing remaining associated with it. You can do this by scanning both the virtual machine library of the Oracle software and the installation location on your host PC.

Step 1

Right-click / Remove the virtual machines listed on the left panel of your Oracle software and click the Delete All Files button in the open window.

Deleting a Kali Linux Virtual Machine

Step 2

After deleting all the files of the guest system from your PC, you can check that there are no files or folders related to the guest operating system, both in the virtual machine library of the Oracle software and in the installation location of your host PC.

Checking Systems in Oracle VM VirtualBox Virtual Machine Library

Video



Installing Old Versions

Kali / VBox Versions and Resources

Kali / VBox Version YouTube Video Slide
2022.1 / 6.1.32 Watch View
2022.3 / 6.1.36 Watch

Conclusion

As a result, you can install the Kali Linux 2024 distribution in a virtual machine with Oracle VM VirtualBox on your Windows 10 & 11 PC. So you can dive into the world of cybersecurity and discover the many features and capabilities of Kali Linux.

In short, you can run Kali as a VM thanks to the steps I have explained in this article. Afterward, you can experience this excellent system in terms of testing, learning, and network security.

Moreover, Kali is a good choice for personal use, cybersecurity training, or professional purposes. So you can improve your skills by using it in a controlled and safe environment.

Introduction: How to Run Kali Linux in Your Windows 10 Operating System?

Virtual Machine:

A Virtual Machine is an emulator that can run multiple operating systems in a single hardware device i.e. virtual computers within a computer.

Anything happening inside the Virtual Machine doesn’t affect the hardware device, thus keeping it safe and secure. The Virtual Machine replicate a real-life operating system and thus gives all the functionality of the real operating system and more. Web Developers, Hackers, etc. uses Virtual Machine(VM).

Kali Linux:

Kali Linux is a Debian-derived Linux distribution designed for digital forensics and penetration testing. It is maintained and funded by Offensive Security. Kali Linux has around 600 penetration-testing programs.

Below are the key features that you will get with Kali Linux.

  1. Kali Linux is packed with several pre-installed penetration testing tools like Wireshark, Nmap, Aircrack-ng and many more. 
  2. It comes with support for several languages enabling the users to operate in their native language accordingly.
  3. Kali Linux has been developed in a secured environment, ensuring that only trusted users can interact with Kali code repositories. 
  4. Kali Linux follows the standard filesystem hierarchy for locating libraries, support files and many others.
  5. Kali Linux is available for free for use for all users, especially experienced.
  6. It may be possible that every user will agree with the design of Kali Linux, so they made it open for customizable according to their requirement. 

Supplies

Step 1: Enabling Virtualization Technology

Most devices don’t have Virtualization Technology enabled in them and it is necessary to run Virtual Machine in your device. A hardware Virtualization Technology enable a processor feature for running multiple simultaneous Virtual Machines allowing specialized software applications to run in full isolation of each other.

For enabling Virtualization Technology:

  1. Turn on your Desktop or Laptop and press esc key repeatedly until Startup Menu opens.
  2. The Hot Key to open Startup menu in HP is esc key
  3. The Hot Key to open Startup menu in Dell is F12 key.
  4. The Hot Key to open Startup menu in Acer is F12 key.
  5. Press the key to enter to «BIOS Setup».(Key may vary from device to device and thus press the key that is showing in front of «BIOS Setup»)
  6. After that using keyboard go to «System Configuration» tab in navigation bar.
  7. Now look for a «Virtualization Technology» and enable it.
  8. Then Save the changes and exit.

Step 2: Downloading Kali Linux

Go to https://www.kali.org/ and click on «Download». A new window opens and then click Virtual Machines. Then select 64-bit or 32-bit according to your device.

Now two images are given: VMware 64 and VirtualBox 64.

Download VirtualBox 64 of size 3.7GB.

Now using WinRAR or 7zip, extract the file download and you will presented with a .ova file named — Kali-Linux-2021.4-virtualbox-amd64.ova.

Step 3: Downloading Oracle VM VirtualBox

Go to https://www.virtualbox.org/wiki/Downloads and download Oracle VM VirtualBox for Windows.

Now scroll down a little and you will notice Oracle VM Extension Pack, click on All supported platforms and download the extension pack.

Once both Oracle VM VirtualBox and Extension pack is downloaded. Install the Oracle VM VirtualBox and when the installation is over, open it. Now click on the extension package that you downloaded and it will open a pop-up window, click on Install or Reinstall option. Once the extension package is installed you are ready to move on to the next step.

Step 4: Installing and Setting-up Kali Linux on Virtual Machine

Installing Kali Linux to Virtual Machine:

  1. First, you have to click «File» in Oracle VM VirtualBox’s navigation bar. Click on it and then select «Import Appliance» and it will open «Import Virtual Appliance». You can also use ctrl + I to open «Import Virtual Appliance» Window.
  2. Click on File icon and select and open the Kali-Linux-2021.4-virtualbox-amd64.ova file which we downloaded earlier and then select «Next» button.
  3. A window named «Appliance settings» is opened now. You can change the name of the OS according to your own desire by double clicking on the name section. After renaming the OS, click «Import» button and this will start installing process of Kali Linux. This might take some 14-20 minutes (may vary).
  4. After installation, you will see your OS on the left side, click on it and then a window will open on the right side giving description about your OS.

Setting-up Kali Linux for Virtual Machine:

  1. Click on «Settings» icon on navigation bar in right side, then go to «System» section and then to «Motherboard» section and reset the «Base Memory» to 1024 MB and press «OK» to save.
  2. And then again open «Settings» and go to «Network» section and select «Adapter 1» and set «Attached to:» to «Bridged Adapter» from the dropdown options and then press «OK» to save.
  3. Now click on «Start» icon on navigation bar in right side, then wait for the system to open. You can maximize the screen size by clicking on «View» in VM VirtualBox’s navigation bar and selecting «Full-screen Mode».
  4. Select «Kali GNU/Linux» option and press Enter.
  5. The Username and Password is kali initially which you can change later on.

Step 5: Kali Linux Is Ready to Use

Finally, the Kali Linux Virtual Operating System is ready to be used.

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Ошибка irp фильтра unknown irp windows 10
  • Как подключиться к терминальному серверу windows
  • Ttl windows 10 128
  • Windows start icon changer
  • Windows 11 панель задач разгруппировать