How To Install Kali Linux On Windows 10

Contents

How to Install Kali Linux as an App in Windows 10 – UHWO Cyber Security

Recently, the Kali Linux operating system was made available as an application on the Microsoft Store. It is now feasible to install Kali on a Windows environment through the use of the Windows Subsystem for Linux (WSL) compatibility layer, which was previously unavailable. WSL is a feature in Windows 10 that allows users to execute native Linux command-line tools, such as Bash, as well as additional tools that were previously inaccessible. The feature, which was created primarily for developers, increases the adaptability of Windows 10 while also providing an alternative to virtualization technology.

Installing Kali Linux in Windows 10

1. Log into PowerShell as an administrator and run the following script: Enable-WindowsOptionalFeature -Online -FeatureName Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux When asked, restart your computer. Install the Kali Linux app (134MB) from the Microsoft Store and run it when it has finished installing. 3. During the installation process, create a user account (be sure to write down your new credentials!). 4) Verify that the environment is correct by running the commandcat /etc/issue 5.

C:Users youraccount AppDataLocalPackagesKaliLinux.XXX is a typical location for this directory to be found in.

  1. 6.
  2. In particular, it is vital to note that if this step is not completed prior to installing specific packages, Windows Defender will go into overdrive and flag all of the linked files as potentially harmful.
  3. The following is a small glimpse of the alerts that can be issued by the metasploit-framework if the exception is not initially included to the configuration.
  4. 8.
  5. Begin installing the items that you want.
  6. 10.
  7. Install and run xfce4 and XRDP on your system.

In this case, it will offer a graphical user interface for any programs that you install that need the usage of a graphical user interface.

Start the following commands:wgetcat xfce4.sh (for verification)sudo sh xfce4.sh (to run the installation script)*Depending on your internet connection, this may take a while.

Start the remote desktop server on port 3390 by using the command sudo /etc/init.d/xrdp start in your terminal window.

Establish a remote connection to the server (start -run -mstsc) at localhost/127.0.0.1:3390 using the command start -run -mstsc.

Enter the credentials for the kali user that was previously established.

log out of the remote session once you’ve had an experience with inception (click the logo in the top right and uncheck save session on the way out).

Using the command sudo /etc/init.d/xrdp stop, you may shut down the XRDP server and restart it. Logging out of the Kali instance is step number 20. (exit).

Final Thoughts

Installing Kali Linux as a Windows application enables the use of a variety of valuable features that were not previously available on the operating system. It is also possible to notice speed advantages in processor-dependent frameworks like as hashcat by executing Kali through WSL rather than inside a virtual environment. Shown below are the performance statistics obtained when hashcat is performed virtually in comparison to hashcat when run in the WSL environment. In this particular instance, the system specs were as follows:

  • Installing Kali Linux as a Windows application enables the use of a variety of essential tools that were not previously available on the platform. It is also possible to notice speed improvements in processor-dependent frameworks like as hashcat by executing Kali through WSL rather than inside a virtual environment. The following graph compares the performance of hashcat when it is run virtually vs when it is performed in the WSL. In this particular instance, the system requirements were as follows.

Hashcat was able to break a list of eight MD5 hashes in a little under two seconds while operating in the WSL environment, as opposed to the 11 seconds it took when running in a virtual environment. This significant increase in performance (by more than 500 percent) is noteworthy and might be beneficial in some situations. Using WSL to run Kali as opposed to running it natively has several disadvantages, one of which is that WSL does not enable the usage of raw sockets (a network connection that allows direct sending and receiving of IP packets without the need for protocol-specific transport layer formatting).

SOURCES

Microsoft, Kali Linux, and others

Run Kali Linux on Windows 10

Attention security pros and penetration testers: believe it or not, Kali Linux for Windows 10 is now available in the Microsoft App store, and it is free to download. Because of the efforts of the Windows system for Linux, often known as WSL, the suite of security assessment and penetration tools may now operate natively on Windows 10. With certain limits, Kali Linux introduces a number of command-line programs that will be quite useful to the proper professional, despite its flaws. In addition, the XFCE desktop manager may be used to provide a more “native” Kali Linux experience for those who want it.

Let’s get this party started:

  1. WSL must be installed, so right-click on the Start button and pick Windows PowerShell from the menu that appears (Admin). If you already have WSL installed, you may skip steps 1-3
  2. Otherwise, continue with step 4. To run the following command, copy and paste it into the command window and press Enter: Enable -WindowsOptionalFeature -Online -FeatureName -WindowsOptionalFeature Microsoft-Windows-Subsystem-Linux
  3. Restart your computer. Let’s proceed to the installation of Kali Linux. Using the Microsoft App Store app, look for Kali Linux, or click this link to launch it immediately in a new window. To begin the download and installation process, click the Get button. Once the program has been installed, click the Launch button. As an alternative, you may utilize the new Start menu shortcut, or you can just open PowerShell or a command line and type kali into the box. The installation process must be completed on the first run. The installation will take some time
  4. After completed, it will be necessary to create your WSL account and password. This may be whatever you like, and it does not have to be the same as your Windows login credentials. Please keep this information in mind as you will require it later on in order to elevate your privileges using sudo and log into the desktop manager. We now need to set up the XFCE desktop manager, but first we need to install a few more programs. Installing wget, which is an application that allows you to download files via HTTP, is as simple as running the following command. When asked, enter the password that you set in the previous step and press Y to continue with the download and installation process. execute the command apt-get install wget
  5. To get the install script, run the following command on your computer. wget
  6. Run the script that was downloaded by running the following commands. This stage will take an extremely long time to complete, and you will be required to answer certain questions concerning keyboard layout in the middle of the process. the command sudo sh xfce4.sh
  7. It is now necessary to start the xrdp server in order to be able to connect to the XFCE desktop manager through Remote Desktop. Run the following command and make a note of the port number that appears in the output of the program. /etc/init.d/xrdp start with sudo
  8. Open up Remote Desktop (mstsc) on your PC and connect to 127.0.0.1:3390, where 3390 is the port that was displayed in step 11
  9. After the xrdp server has been created, close it and restart it. Log in using the Unix credentials that were created in step 7
  10. After that, simply choose Use default configuration and you’re done.

The xrdp server should be shut down when you are through using Kali Linux by typing sudo /etc/init.d/xrdp stop at the Kali Linux Rolling prompt when you are finished with Kali Linux. Enjoy!

Kali on the Windows Subsystem for Linux

HOLDER LIGHTER DARKER This post has been updated to reflect current events. In order to get Kali Linux running on Windows 10, you should download and install it from the Microsoft Store. New and exciting possibilities have emerged with the introduction of the Windows Subsystem for Linux (WSL) in Windows 10, which has opened up a slew of new and interesting options for running Kali on the latest operating system.

It shouldn’t be too difficult to add another Debian-like distribution into the WSL, after all, if it can handle Ubuntu. This is especially true in the case of the Windows Subsystem for Linux Distribution Switcherutility, which is described below.

Kali on … Windows? Really?

However, even though this configuration of Kali on Windows is not optimal due to a variety of environmental restrictions (such as the lack of raw sockets and the lack of a customized Kali kernel), there are numerous situations in which having Kali Linux running alongside your Windows 10 machine can be beneficial. The consolidation of workspaces comes to mind as an example, which is especially useful if Windows is your primary computing environment. Others that sprang to mind included standardizing tools and scripts to operate across different platforms, rapid translation of penetration testing command line tools from the Linux environment to the Windows environment, amongst other things.

Setting up the Environment

While the setup is extensively documented in the WSL Distribution SwitcherREADMEfile, we’ve created a fast 4-minute video to lead you through the setup and installation procedure. Please see the video below for more information. The following are the fundamental measures to be followed in order to make copying and pasting easier: 1. Install the latest version of Windows 10 on your computer. Installing the Windows Subsystem is as simple as typing a single line of code in an administrator PowerShell window.

Enable -WindowsOptionalFeature -Online -FeatureName -WindowsOptionalFeature Microsoft-Windows-Subsystem-Linux2.

This will create the groundwork for the installation of Kali operating system.

Setup and install the WSL Switcher, then download and unpack the Kali base to your hard drive: git clonecd git clonecd WSL-Distribution-Switcher python get-prebuilt.py kalilinux/kali-linux-docker python install.py rootfs kalilinux kali-linux-docker latest.tar.gz WSL-Distribution-Switcher python get-prebuilt.py rootfs kalilinux kali-linux-docker latest.tar.gz lxrun /setdefaultuser root4 lxrun /setdefaultuser root4 The “bash” command will allow you to communicate with Kali once it has been installed on your Windows 10 computer: bash5.

Once inside Kali, you may use it in the same way that you would typically do so–install packages, utilize tools, and so on.

How to install Kali Linux on windows 10 subsystem (Step by step guide)

Are you considering running a Linux distribution on a Windows PC? Yes, it is doable with the most recent version of Windows 10. With the introduction of the Windows Subsystem for Linux, or WSL, Microsoft allows users to run their favorite Linux distributions directly from within the Windows 10 operating system, without the need for dual-booting or the usage of a virtual machine. It’s important to note that there are certain restrictions in place. Because not all of the built-in Linux commands are functional, you will be unable to run a desktop environment from within the application.

Interested? Steps to install Kali Linux (one of the greatest Linux distributions for security) on Windows 10 may be found here.

Install WSL on Windows 10

With the release of the Windows 10 Creators Update As an optional feature, Microsoft launched Windows Subsystem for Linux (WSL), which serves as a compatibility layer for executing Linux binary executables natively on a Windows 10 PC. WSL is available as a free download from the Microsoft website. This implies that the Enable WSL service offers a Linux-compatible kernel that can be used to run several Linux distributions on Windows 10, including Ubuntu, OpenSUSE, Debian, and Kali.

  • Let’s have a look at the control panel. Select programs and features from the applications and features drop-down menu. ‘Turn Windows features on or off’ may be found in the left-hand menu. After that, choose WSL and click OK to allow the download and installation of needed files from the Microsoft server. To make the modifications take effect, restart your computer.
You might be interested:  What Does Windows 10 Pro Include

Alternatively, you can use the commandEnable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linuxon the administrative PowerShell window to install WSL on Windows 10 by running the commandEnable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linuxon the administrative PowerShell window.

Enable the Virtual Machine Platform

Following that, we need to activate virtualization in the computer’s BIOS Setup, which may be accomplished by following the procedures outlined below.

  • Start the computer and enter the BIOS (by pressing the Del key)
  • Access system configuration by pressing the arrow keys on your keyboard. Allow Intel Virtualization Technology (also known as Intel VT or AMD-V, depending on the processor manufacturer) or AMD-V to be enabled. Make adjustments and then restart Windows normally by pressing F10 on your keyboard
  • Execute the following command in PowerShell as an administrator to complete the process.

Enable-WindowsOptionalFeature -Online -FeatureName Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform

Download Kali Linux app

  • Make a feature available to Windows users by using the command Enable-WindowsOptionalFeature -Online -FeatureName. VirtualMachinePlatform

The installation is complete when you receive a message and the opportunity to Launch, which you should take advantage of. You will then be prompted to establish a new user account and password before the rest of the Kali Linux installation can be completed from within the app. You will be greeted with the familiar Linux command line setup after you have created your account. The next step is to make sure that the Kali Linux system as a whole is up to date. If you want to do this, open the command prompt and type sudo apt-get updates.

InstallXfce Desktop Environment

The installation is complete when you receive a message with the option to Launch, which you should take advantage of. You will then be prompted to establish a new user account and password before the rest of the Kali Linux installation can be completed from within the software itself. You are greeted with the typical Linux command line setup after you have created your account. You must next verify that the core Kali Linux system is up to date as the following step. If you want to do so, open the command prompt and type sudo apt-get updates.

How to install Kali Linux with Windows 10 (Laptop & PC) Dual Boot

In this guide, I’ll teach you how to install Kali Linux on a laptop or a desktop computer running Microsoft Windows 10. Now let us suppose that you have an old laptop or desktop computer with Windows 10 installed on it, and you want to experiment with Kali Linux. However, you are concerned about the security of your existing Windows 10 operating system and your personal information and documents. A single error during the installation of Linux might cause your data to be erased in a fraction of a second, making it one of the most difficult operating systems to learn and master.

The simplest solution is to purchase a separate hard drive or solid state drive (SSD) for Kali Linux installation.

It is my goal in this tutorial to teach you precisely how you may create a bootable USB to install Kali Linux from a USB drive to a PC or Laptop, how to install a new SSD for the installation, and a step-by-step straightforward guide on how to install Kali Linux in a computer or laptop.

Also, I’d want to know how to install it on Windows 10, specifically how to dual boot Kali Linux and Windows 10. Let’s get started with the in-depth instruction.

Kali Linux Download and how to make Bootable USB

Running Linux with Windows 10 on a laptop or a desktop PC is the subject of this tutorial, which will be covered in detail. Now let us suppose that you have an old laptop or desktop computer with Windows 10 installed on it, and you want to experiment with Kali Linux on it. The only thing that concerns you is the security of your current Windows 10 operating system and your personal files. A single error during the installation of Linux may cause your data to be erased in a fraction of a second, making it one of the most dangerous operating systems to use.

It is straightforward to obtain a secondary hard drive or SSD for the purpose of installing Kali Linux on a computer.

In this video, I’ll teach you how to create a bootable USB to install Kali Linux from a USB drive to a PC or laptop, how to install a new SSD for the installation, and a step-by-step guide on how to install Kali Linux in an easy and straightforward manner.

The in-depth instruction will begin shortly.

How to write Kali Linux Image File to USB Drive

Step 3:Once you have downloaded the ISO file and etcher, run etcher to begin working with it. Step 4:Drag and drop the Kali Linux image file onto the + Icon to complete the installation. Step 5:Now, in the pick target button, choose the Pendrive as the destination. (Ensure that the USB is properly connected.) Step 6:At this point, click on the flash drive to transfer the Kali Linux image to the USB flash drive. Please keep in mind that this will format your Pendrive. (Be sure to make a backup of any vital files.) This will only take a few minutes, and your Kali Linux Bootable USB drive will be created successfully!

Kali Linux Bootable USB Drive(Other methods)

Remove the Pendrive from the computer once it has been successfully made. As a result, the bootable flash drive has been successfully built, allowing you to install the operating system on a laptop or PC directly from the USB drive.

Get Ready Laptop or PC for the Kali Linux Installation

In most cases, a laptop has only one hard drive, which is used to store the Windows 10 operating system, applications, and data. Due to the fact that some laptops have two hard drive bays, we install our operating system on the primary drive and save our data on the secondary disk. Even if your laptop only has one drive bay, you can still add a second hard drive to it by swapping out the DVD ROM with a second HDD Caddy. A second hard drive caddy will be required in order to successfully dual boot Kali Linux.

  • Take the Windows 10 HDD that is located on your laptop and remove it from the computer (if you have any other data drive in the laptop, take it as well).
  • To complete the installation of Kali Linux, purchase a second SSD for the purpose of doing so (any inexpensive SSD such as a Kingston 120GB SSD), and insert it in the 2nd HDD Caddy, replacing the present DVD ROM, which is obviously not in use.
  • If your laptop does not have an additional slot but does have a DVD ROM, you may simply purchase the Caddy and a SATA SSD and use them to replace the DVD ROM.
  • There is no need to purchase Caddy for Desktop.
  • Because the hard drives are not installed in the laptop, they should be left out until the operating system is loaded on the new SSD.
  • After that, insert the Kali Linux bootable USB drive into the Laptop or Desktop PC, switch it on for a few seconds, then immediately click the boot menu key to bring up the Kali Linux boot menu.

The new SSD and the bootable Pendrive will appear in the boot menu; pick the bootable Pendrive and you will be sent to the Kali Linux setup page on your computer. To install the operating system on the new SSD, follow the steps outlined below.

How to Install Kali Linux from USB Drive

The first step is to connect the bootable USB drive, then power on the computer and rapidly click the boot menu key. Step 2: From the boot menu, choose the bootable USB drive. Step 3:The Kali Linux setup will now be loaded from the USB drive; select Graphical installation. Step 4: Choose a language, a keyboard layout, and a location for your computer. Step 5: Select the wireless network adaptor and press the Enter key. (If you are connecting to a LAN, choose Ethernet.) Step 6: Select the home wifi network and input the network password.

  1. Step 8: Type in a domain name, such as “localhost,” or leave the field blank, and press enter.
  2. Step 10: Create a username in tiny letters with no spaces between the characters and continue to the next step.
  3. (Please keep in mind that this will be asked throughout the login process.) The time zone clock should be selected in step 12 of the process.
  4. Step 14: It will prompt you to insert partition disks.
  5. (Because the SSD is empty, we don’t have to be concerned about data loss.) Step 15:You will be presented with two disks from which to choose.
  6. Select the SSD and press the Enter key.
  7. Step 17:Kali Linux will now automatically create a Primary partition as well as a Swap partition.

18:Select Yes to confirm the modifications to the disk and then press Enter to proceed.

You can leave it at the default setting or tick the Gnome mode option.

Step 21:After a few minutes, it will prompt you to install the GRUB boot loader.

Step 22:At this point, it will prompt you to install the GRUB boot loader.

Step 23:After a few seconds, the setup will be completed and you will be prompted to reboot your computer.

That’s all there is to it!

Congratulations! You have successfully installed the Kali Linux operating system on the new solid-state drive. Following the reboot, the kali Linux login screen will be shown. Simply enter the password that you created throughout the installation process and enjoy your new Linux operating system.

How to Dual Boot Kali Linux with Windows 10

So, you’ve just finished installing Kali Linux on a new hard drive or solid state drive, and the installation process is now complete. Reconnect the Windows 10 hard drive to the laptop or desktop computer. Your machine now has two hard drives, each running a distinct operating system. When you power on the machine, the Windows 10 hard drive will be loaded as the default, and the Kali Linux disk will not appear in the Windows 10 drive list (Because of different types of partition). That is beneficial since no one will be able to see or meddle with the Kali Linux hard disk as a result.

Select it and press Enter; this will cause your Kali Linux operating system to be loaded.

Every time you boot into Kali Linux, it will load as the default.

If you have any questions, please view the in-depth video below, which will answer all of your questions.

How to install Kali Linux with Windows 10 (Dual Boot Video)

Please accept our thanks for reading and seeing our article on how to install Kali Linux alongside Windows 10 on a laptop or desktop computer. We hope your installation was successful and that you are enjoying the new Operating System. If you have any queries, please post them in the comments section below. Thank you for stopping by; please keep healthy and safe, and have a pleasant day.

Share this article with your friends

The Linux operating system is becoming increasingly popular in a number of businesses. There are a variety of distributions available, including Mint, Ubuntu, and Kali Linux. Kali is a Linux distribution that is widely used by penetration testers and is considered to be one of the most popular. Kali Linux is pre-installed with a wealth of free and open-source tools that makes it an excellent choice for penetration testing. In order to help security professionals and penetration testers, Kali Linux is presently available in the Microsoft App Store for Windows 10.

Windows 10 has a feature known as the “Windows Subsystem for Linux” (WSL), which allows users to execute Linux apps directly on the operating system itself.

We can run Kali Linux on top of Windows 10 if we like. The installation of Kali Linux on the Windows 10 Subsystem is a straightforward process. [source] In this guide, you will learn how to install Kali Linux on your Windows 10 operating system using the appropriate method.

System Requirements

Kali is really easy to get up and running. You must now double-check your hardware to ensure that it is in working order. The bare minimum in terms of hardware requirements is shown below. Higher gear, on the other hand, will result in better performance.

  • In order to install Kali Linux, you will want at least 20 GB of available hard disk space. RAM is recommended at 1 GB, with 2 GB or more being preferred.

Installation of Kali Linux on Windows 10

You will want at least 20 GB of disk space for the Kali Linux installation. One gigabyte of RAM is recommended; however, two gigabytes or more is recommended.

Conclusion

You will require at least 20 GB of free disk space for the Kali Linux installation. RAM is recommended at 1 GB, with 2 GB or more being recommended.

About the author

Dear Sir or Madam, I am a freelance writer who mostly focuses on Linux and other technology-related topics.

Install Kali Linux on VirtualBox [Quickest Method]

You have arrived to the following page: Home/Tutorial/Installing Kali Linux on VirtualBox: The Fastest and Most Secure Method This article will teach you how to install Kali Linux on Virtual Box in Windows and Linux in the quickest and most efficient manner possible. Kali Linux is one of the greatest Linux variants for hackers and security aficionados, and it is available for free. Because it deals with a sensitive subject matter such as hacking, it’s a bit of a double-edged sword. We have already addressed it in length in the thorough Kali Linux review, so I will spare you the repetition of the same information.

You might be interested:  How To Install Windows 10 On Ssd

By utilizing Virtual Box, you may run Kali Linux as if it were a regular application on your Windows or Linux operating system.

A virtual machine running Kali Linux is also a secure way to run the operating system.

your original Windows or Linux operating system).

How to install Kali Linux on VirtualBox

I’ll be utilizingVirtualBoxin this instance. You may also run Kali Linux on a virtual machine such as VMware. VirtualBox is an excellent open source virtualization solution that can be used by almost anyone (professional or personal use). It’s completely free of charge to use. However, you may install practically any other operating system if an ISO file or a pre-built virtual machine save file is available. In this article, we will focus on Kali Linux, but you can use almost any other operating system.

As previously stated, you have the option of installing either Windows or Linux on your host computer.

And the greatest thing is that the same techniques will be applicable even if you happen to be using a Linux distribution as your primary operating system! You might be wondering, how? Let’s have a look.

Step by Step Guide to install Kali Linux on VirtualBox

It will be VirtualBox that I will be utilizing. Installation of Kali Linux on Virtual Machines (VMware) is also an alternative. A superb open source virtualization solution for almost everyone, VirtualBox is a wonderful open source virtualization solution (professional or personal use). It’s completely free of charge to download. For the sake of this article, we will focus on Kali Linux in particular, but you may use this method to install practically any other operating system if an ISO file or a pre-built virtual machine save file is readily available.

  1. As previously stated, you have the option of installing either Windows or Linux as your host operating system.
  2. ), so please bear with me.
  3. What are you thinking about?
  4. Let’s find out.

1. Download and install VirtualBox

The first step is to download and install VirtualBox from Oracle’s official website, which you can accomplish by clicking here. Once you’ve downloaded the installer, all you have to do is double-click it to get VirtualBox up and running. Similarly, installing VirtualBox on Ubuntu/Fedora Linux is a straightforward process.

2. Download ready-to-use virtual image of Kali Linux

Following a successful installation, go to the Offensive Security download website to obtain the VM image for VirtualBox from the company. If you change your mind and decide to use VMware, that option is also accessible. Considering that the file size is considerably in excess of 3 GB, it is recommended that you utilize the torrent option or download it using a download manager.

3. Install Kali Linux on Virtual Box

Once you have installed VirtualBox and downloaded the Kali Linux image, all that remains is for you to import the image into VirtualBox in order for it to function properly. The following steps will guide you through the process of importing the VirtualBox image into Kali Linux: Step 1: Begin by launching VirtualBox. You will see anImportbutton – click on it to import your data. Select the Import option from the drop-down menu. Step 2: Make a list of all of the things you want to do. After that, navigate to the file you just downloaded and choose it to be imported (as you can see in the image below).

  1. Kali Linux image S is being imported.
  2. Step 3: You will now be presented with the configuration options for the virtual machine you are going to import.
  3. It is quite OK to leave the default settings in place.
  4. On Windows, I would never advocate using the C:drive.
  5. The hard drives are referred to as VDI in this context, which refers to virtualizing the hard drives by assigning the storage space set.
  6. Step 4:It will now be listed on your screen.
  7. You may receive an error at first when attempting to enable USB port 2.0 controller support; you may either deactivate it to remedy the issue or simply follow the on-screen instructions to install an extra package to resolve the issue.
  8. VirtualBox is used to run Kali Linux.
  9. However, as of January 2020, Kali Linux no longer makes use of the root account.
  10. It should be possible for you to log into the system using it.
  11. With any luck, this instruction will assist you in effortlessly installing Kali Linux on Virtual Box.

Tip: Both Kali Linux and Ubuntu are based on the Debian operating system. If you encounter any difficulties or errors when using Kali Linux, you can refer to the instructions designed for Ubuntu or Debian that are available on the internet.

Bonus: Free Kali Linux Guide Book

In order for Kali Linux to function properly, you must first install VirtualBox on your computer and then download and install the Kali Linux image. For Kali Linux, here’s how to import the VirtualBox image: Using the VirtualBox software, start the first step. On the right hand side of the screen, you will see anImportbutton; click it. The Import button may be found by searching for “Import.” Next, we’ll go through how to get started with your business plan. Following that, navigate to the file you just downloaded and choose it to be imported into the system (as you can see in the image below).

  • The Kali Linux image S is being imported.
  • You will now be presented with the configuration options for the virtual machine that you are about to import.
  • It is quite OK to leave the default settings in place for the time being.
  • When it comes to Windows, the C:drive is never a good thing.
  • The hard drives are referred to as VDI in this context, which refers to virtualizing the hard drives by assigning the available storage space on the hard drives.
  • To complete the process, go to Step 4 and look for the item.
  • The USB port 2.0 controller support may cause an error at first; you may either deactivate it to remedy the problem or simply follow the on-screen instructions to install an extra package to resolve the problem.

In VirtualBox, Kali Linux is being used.

Ali Linux, on the other hand, hasn’t used the root account since January of this year.

If everything is working properly, you should be able to log into the system using it.

I hope that this method has helped you to effortlessly install Kali Linux on Virtual Box without any difficulty.

As a reminder, both Kali Linux and Ubuntu are built on the Debian Linux distribution.

How To Dual Boot Kali Linux v2021.1 With Windows 10

It was recently announced that Offensive Security’s Kali Linux penetration testing platform has been updated to version 20211.1, which includes a number of new capabilities. In addition, Microsoft introduced Windows 10, the most recent and most powerful version of their Windows operating system. So, what will happen when these two deadly badass operating systems coexist in the same device? In this post, we will show you how to dual boot Kali Linux v2021.1 with Microsoft Windows 10 via a command line interface.

If you are not a fan of Windows 10, don’t panic, since this guide will show you how to dual boot Kali Linux with Windows 7/8/8.1 using a different method. To prepare for this lesson, review the list of 5 things to do before dual booting Linux and Windows.

Materials Required:

Before beginning this session, please review the items that will be required:

  • Of course, you’ll need a computer or laptop. haha
  • A 4GB pendrive (at the very least)
  • A computer with at least a dual-core processor (either Intel or AMD) and at least 1GB of RAM
  • Windows 10 or any other version of Windows already installed
  • Get Kali Linux (latest version) right now
  • Get Rufus right now
  • Have a little patience

A video instruction is given at the conclusion of this article. So let’s get this party started:

Dual Boot Kali Linux v2021.1 With Windows 10:

To begin, download the Kali Linux latest version ISO file from the link provided above and unzip it anywhere. You can choose between 32-bit and 64-bit versions of the software.

Step 2:

The first step is to obtain the most recent Kali Linux ISO file from the website mentioned above. Depending on your computer, you may choose between 32 and 64 bit.

Step 3:

Let’s get started on creating a bootable USB drive. To begin, connect your USB flash drive. As previously stated, we require a pen drive with a minimum storage capacity of 4GB. Run Rufus and follow the on-screen instructions to build a bootable USB drive.

Step 4:

After that, you’ll get a screen similar to the one seen below.

Step 5:

To begin, make sure your USB drive is chosen. Then, using the little CD drive icon (2) to the right, navigate to the Kali Linux iso file that you obtained from the Kali official website and install it. Finally, press the “Start” button and wait for the procedure to be completed.

Step 6:

After the operation is complete, click the close button to leave from the Rufus window, and, yep, you should now have a Kali Linux bootable USB stick in your hands. In addition to using this bootable USB to dual boot Kali Linux with Windows, you can also use it to live boot Kali — that is, operate Kali without installing it but with certain restricted capabilities and functionalities — by booting it from the USB drive.

Step 7:

Following that, we’ll establish a new partition just for the Kali Linux installation. So go to your Disk Management settings or use the “diskmgmt.msc” command in Windows to see what you have available. Reduce the size of an existing volume to create a new partition with a capacity of roughly 15-20GB at the bare minimum. This is where we create a new partition with a capacity of 17GB.

Step 8:

We will next establish a new partition for the Kali Linux installation, which will be discussed later. Start by opening Disk Management settings or by typing “diskmgmt.msc” into the Run box of the Windows command prompt. By decreasing an existing volume, you may create a new partition with a minimum size of 15-20 GB. There was a new partition of size 17GB created in this instance.

Step 9:

Select the language that will be used during the installation procedure. And then click on “Continue.”

Step 10:

Select your country and then proceed with the installation procedure.

Step 11:

After that, select the type of keyboard layout. Here I pick “American English”.

Step 12:

The following step is to configure IP configurations. You have the option of configuring your network either automatically or manually.

Step 13:

The installer will now prompt you choose a Hostname. You can use whatever name you wish. It’s similar to a username in several ways. Also see: The best Linux distribution for newcomers.

Step 14:

It is necessary to enter a password for the “root user” during this phase.

“Continue” should be selected after providing the administrator account password.

Step 15:

It is necessary to enter a password for the “root user” during this stage. After you’ve entered your administrator account password, click “Continue.”

Step 16:

Take your time with this step. All we have to do now is choose the partition that we prepared before for the Kali installation and click “Continue.”

Step 17:

Then pick “Delete the partition” from the drop-down menu and press “Continue.”

Step 18:

After completing the preceding step, you will notice that your Kali installation partition is now shown as “FREE SPACE.” Select the open space partition and then click “Continue.”

Step 19:

It will now inquire as to how we want to utilize the available space. “Automatically partition the open space” should be selected, and then the procedure should be “Continued.”

Step 20:

Following that, select the option “All files on one partition,” which is advised for novice users, and then click “Continue.”

Step 21:

Finally, choose the option “Finish partitioning and write changes to disk” from the drop-down menu.

Step 22:

It will request permission to make modifications to the disk at this point. Select “Yes” and “Continue” from the drop-down menu. The Kali will now begin the process of installing itself. Allow 10-15 minutes for the installation to be completed.

Step 23:

It will ask you if you want to use the network mirror in the midst of the installation; you may answer “Yes” or “No.” This setting is concerned with the choice to update. As a result, we urge that you select “No” right now. Later on, you may turn it on.

Step 24:

Following that, it will ask whether you want to install the GRUB boot loader; choose “Yes” and then “Continue.”

Step 25:

Following that, it will inquire as to where the Kali GRUB boot loader should be installed. Second, select your hard disk from the drop-down menu. Keep in mind that you can only pick your hard disk while installing GRUB. If you do not do so, your machine will not offer the option to select between the operating systems when it starts up following the installation of Kali Linux.

Step 26:

When it comes to installing the Kali GRUB boot loader, it will ask where you want to install it next. As the second option, select your hard drive. When installing GRUB, make sure to choose just your hard disk. If you do not do so, your system will not offer the option to pick between the operating systems when it first starts up after installing Kali Linux on your computer.

Step 27:

Now you may eject the USB disk and restart your computer. During Kali Linux’s starting process, you can observe the GRUB Loader in action. You may select “Kali GNU/Linux” to boot your PC/Laptop with the latest version ofKali Linux, or you can select “Windows Recovery Environment” to boot into the latest version of Windows 10. Here is your new hacking and penetration testing companion, which is great! Start breaking things like a pro right away. Also, be sure to check out our comprehensive A-Z list of Kali Linux commands.

If you have any questions or encounter any difficulties throughout the installation process, please email us or leave a comment below. We are available to assist you. And keep your eyes peeled for some new Kali Linux lessons. Furthermore, see:How to Uninstall Linux Or Windows From a Dual Boot System

Check outVideo Tutorial► Dual boot Kali Linux With Windows

Many customers have reported that they have been unable to connect into Kali Linux for the first time, even after a successful installation. It is authentication that is causing them difficulties. You may also encounter the same issue, in which case you are unable to log into Kali Linux even after providing the proper UsernamePassword (the one that was supplied during the installation). We have a solution for you, so don’t be concerned. Don’t use the Username you created during the installation when Kali Linux prompts you to do so for the first time.

You might be interested:  How To Turn Off Safe Mode Windows 10

Instead, just put “root” in the username field and the password “toor” in the password field.

Yes, this will take care of your situation.

– Missing GRUB in Kali Linux

Some of our users are claiming that after installing Kali Linux, they are unable to boot into Windows as a result of this difficulty. This is due to the absence of the GRUB loader. In order to resolve this issue, you must reload the GRUB menu in order for it to be able to recognise Windows. To accomplish this, boot into Kali, open a terminal window, and type the following commands: os-prober update-grubSolution is a command-line utility. Kali Forums is the source of this information.

– After Installing Kali, PC Directly Boots to Windows

Many users have reported that, even after successfully installing Kali, their PCs now immediately boot to Windows instead of displaying the GRUB bootloader screen. This is caused by a failed GRUB installation, which occurs when the Bootable flag option is turned off. Only when this option is enabled can GRUB be successfully installed. If you look at step 17, you will see that the bootable flag option has been enabled throughout the installation. Consequently, here is one possible solution to that problem:

  • Start by booting from your Kali USB drive. To boot into Kali Live mode, select the “Live” option from the boot menu. Activate the Terminal window

The command fdisk -l (First, we need to figure out which partition Kali is installed on (/dev/sda1, /dev/sda2, and so on). mount /dev/sda1 as a /mnt volume (Mount your kali partition) mount -bind /dev /mnt/dev /dev /mnt/dev (You’ll need to mount the /dev directory into the mnt directory first.) chroot /mnt /mnt (change the root to the mounted partition to be able to run the command from the mounted partition) Installation of grub on the sda drive, rather than sda1, sda2, etc., is accomplished by using the command grub-install -recheck /dev/sda.

  • The command fdisk -l (First, we need to figure out which partition Kali is installed on (/dev/sda1, /dev/sda2, and so on) is required. mount /dev/sda1 in the /mnt directory (Mount your kali partition) mounted with the —bind option binds a device to a mount point on the mount point’s mount point. If you want to use the /dev directory, you must first mount it into the mnt directory. set up a chroot directory in the mount directory (change the root to the mounted partition to be able to run the command from the mounted partition) Installation of grub on the sda drive, rather than sda1, sda2, etc., is accomplished by using the grub-install -recheck command.)

The command fdisk -l (First, we need to figure out which partition Kali is installed on (/dev/sda1, /dev/sda2, and so on). mount /dev/sda1 as a /mnt partition (Mount your kali partition) bind /dev /mnt/dev with mount -bind (You will have to mount the /dev directory into the mnt directory.) update the mount point to /mnt (change the root to the mounted partition to be able to run the command from the mounted partition) Installation of grub on the sda drive, rather than sda1, sda2, etc., is accomplished by running the command grub-install -recheck /dev/sda

– Adding Kali Linux to Windows Boot Manager using EasyBCD

As previously stated, Kali Linux may fail to boot after installation for a variety of reasons and instead launch Windows. And in the vast majority of cases, the above-mentioned solution resolves the Kali grub not showing up on Windows issue. If you have previously attempted the aforementioned technique and have not been successful, then this method will most likely assist you in adding the Kali Linux bootloader to your system. As an alternative to installing the GRUB bootloader, we will add a Kali Linux boot entry to our Windows boot manager using this technique.

As a result, download and install EasyBCD Community Edition, and then follow the instructions: Open EasyBCD and navigate to the ” Linux/BSD ” menu, where you will find the option to ” Add New Entry.” Following that, you must choose the sort of bootloader that will be used by your Linux distribution.

  • Then, change the name of the operating system to Kali Linux to complete the process.
  • You must now configure Windows 10 as the default operating system so that your machine will boot right into Windows when it first boots up.
  • Finally, restart your computer and boot into Kali Linux.
  • If that doesn’t work, try this alternative.
  • Additionally, if you are a Linux beginner who believes Kali Linux is too heavy and difficult to maneuver, you should try one of these selected Linux distributions for beginners.

If you have any questions or encounter any difficulties throughout the installation process, please do not hesitate to leave a remark below!

Install and use Kali Linux on Windows 10 using WSL

First and foremost, yes, this may not be the most popular way to use Kali Linux, but based on my personal experience, WSL2 (Windows Subsystem for Linux Version 2) is actually a surprisingly good way of using Linux tools on Windows without having to install a 3rd party Virtualization Tool such as Virtual Box or VMware Workstation. Secondly, WSL2 (Windows Subsystem for Linux Version 2) is actually a surprisingly good way of using Linux tools on Windows without having to install a 3rd party And let’s not get into a debate over whether to use Windows or not.

First things first – Prerequisites

  • Version 1903 or above, with Build 18362 or higher, is required for x64 platforms. Version 2004 or above, with Build 19041 or higher, is required for ARM64 platforms. WSL 2 is not supported by any builds older than 18362. Make use of the Windows Update Assistant to keep your Windows version up to date.

Get started

Version 1903 or above, with Build 18362 or higher, are required for x64 platforms. Version 2004 or above, with Build 19041 or higher, for ARM64 platforms; WSL 2 is not supported by builds older than 18362. Windows Update Assistant may be used to keep your operating system up to date.

Enable Virtual Machine feature

System requirements for x64 systems include: Version 1903 or above, together with Build 18362 or higher; The following requirements are required for ARM64 systems:Version 2004 or above, withBuild 19041 or higher; WSL 2 is not supported in builds older than 18362. Make use of theWindows Update Assistant to keep your Windows version up to date.

Download the Linux kernel update package

We are now going to install the Linux Kernel Update Package for WSL in order to avoid issues later on: Download the most recent version of the package:

  • Installing the Linux Kernel Update Package for WSL is now necessary in order to avoid issues later. Get the most recent version of the package by downloading it from here:

We are now going to install the Linux Kernel Update Package for WSL in order to prevent issues later on: Get the most recent version of the package by clicking here:

Set WSL2 as default Version

At long last, we’ll establish WSL Version 2 as the default by executing the following command from an elevated PowerShell prompt (PowerShell is running as Administrator): wsl -set-default-version 2 is a command line option.

Install Kali Linux from the Microsoft Store

All of our preparations and installation of WSL2 have now been completed, and we can now install Kali Linux, or any other supported Linux derivative, from the Microsoft Store. To do this, simply open the Microsoft Store and search for “Kali.” After clicking “Get” and then “Install,” you will be able to click “launch:” after the program has been installed. When you first start it, you will get the following message, which informs you that it is installing. You will be requested to create a user and assign a password to that user.

After that, you will be immediately signed in and prompted with the bash command in Kali.

Optional – Install Win-KeX for Graphical User Interface

This is optional, but quite beneficial; there are only two steps required. To begin, execute the following commands either as sudo or as rootsudo apt update. Install Win-Kex by executing sudo apt install -y kali-win-kex once the previous step has been completed.

Once the installation is complete, you can run Win-Kex in a variety of ways; for further information, please see the following link: We have completed our task and may now install whatever tools we choose on this Kali installation.

How to install Kali Linux on Windows (not dual-booting)

Photo courtesy of Nahel Abdul Hadion via Unsplash Over the years, Kali Linux (a Linux distribution) has established itself as the de facto operating system for penetration testing and hacking, despite the fact that it is not a pleasant operating system to use on a daily basis and is a little difficult to install and operate for a novice. It used to be that if you liked the Windows operating system but also wanted to learn ethical hacking and experience some of the Linux sweetness without having to leave the Windows operating system, there were three options:

  • The use of a virtual machine
  • The use of dual booting
  • The use of two different laptops

However, there is another option: installing a Kali subsystem on your Windows PC as a handy workaround to this problem. Windows subsystem for Linux, or WSL, is a new feature announced by Microsoft that allows users to run their preferred Linux distributions straight from Windows 10 without the need to dual-boot or utilize a virtual machine to do so. Because of the work of Offensive Security and the WSL team at Microsoft, Kali Linux has now become the most recent addition to the Microsoft Store’s collection of software.

  1. Because you don’t have any of these issues with the Windows subsystem, it is a wonderful thing.
  2. You will not have to partition it like you would if you were using a virtual machine.
  3. It is as simple as cracking open a clam shell.
  4. In particular, WSL does not accept AF PACKET, and this is due to the fact that Windows does not support it due to security constraints.
  5. Let’s go right to it without wasting any more time.
  6. Enable -WindowsOptionalFeature -Online -FeatureName -WindowsOptionalFeature Microsoft-Windows-Subsystem-Linux The computer will be restarted when you press Enter, and a loading bar will show for a few seconds while you wait for the computer to complete its task.
  7. The system will begin to restart as soon as it is turned on.
  8. Once your computer has been restarted, go to the Microsoft Store and purchase the item.
  9. From there, simply click “Get” to begin the installation process.

Your Unix username (the username you would want to use for the operating system) and a password will be requested of you throughout the installation process (choose wisely; I recommend you include signs and symbols) When you are finished, you will need to upgrade your Linux operating system (just in case) as well as your distribution.

moment it has finished loading Run the command apt-get dist-upgrade.

apt-get clean -y sudo The majority of Kali repositories will be flagged as viruses by Windows (for obvious reasons).

To begin, open File Explorer and type the following address into the address bar to locate the folder in question.

As soon as you have this information, search for “Windows Defender Security Center” in the Cortana search box, which is located in the bottom left of the screen.

Click on the “Add an exclusion” button, then on the folder, and then paste the directory of the Kali Linux folder that you copied earlier into the text box that appears.

It should be noted that the installation version does not include much.

For example, let’s install Metasploit.

Due to the limited amount of software included in this version, it is necessary to install any additional software from the Kali repository, as you would typically do with the apt-get command, before using it.

Metasploit Framework should be installed.

In the comments section below, please feel free to ask any questions you may have about setting up or using your new Kali Linux subsystem on Windows 10, as well as about what tools you should install on your computer.

Regularly published on myblogormedium, I write on backend programming, digital marketing strategies, and content management systems.

Please feel free to interact with me on social media platforms such as Twitter, Facebook, and Instagram.

Web |

If you like this post, please let us know by commenting below, sharing it with your friends, and subscribing to my expanding YouTube channel. It is better to share than to be selfish.

Leave a Comment

Your email address will not be published. Required fields are marked *