0% found this document useful (0 votes)
109 views6 pages

Install and Use Kali Linux On Windows 10 Using WSL

WSIL kali linux guide

Uploaded by

immemelord9000
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
109 views6 pages

Install and Use Kali Linux On Windows 10 Using WSL

WSIL kali linux guide

Uploaded by

immemelord9000
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Sigmund B.

Install and use Kali Linux on Windows 10 using


WSL
Sigmund B.
Head of Service Delivery / Engineering at Ion Management Solutions Inc. + Follow
Published Apr 3, 2021

First of all, yes, this may not be your most popular way to use Kali Linux, but based on
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 like Virtual Box or VMware Workstation. And let's not have a
discussion around Windows or not Windows 😂

What do we need to get started, well, that is easy


First things first - Prerequisites
Sigmund B.

For x64 systems: Version 1903 or higher, with Build 18362 or higher.

For ARM64 systems: Version 2004 or higher, with Build 19041 or higher.

Builds lower than 18362 do not support WSL 2. Use the Windows Update Assistant to
update your version of Windows.

Get started

Enable the Windows Subsystem for Linux

First we go ahead and enable the WSL by using the following command in an elevated
PowerShell prompt (PowerShell run as Administrator):

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all


/norestart

No alt text provided for this image

No alt text provided for this image

Enable Virtual Machine feature

Since we are going to use WSL 2, you must enable the Virtual Machine
Platform optional feature.

Once again, we will need to execute an command in an elevated PowerShell prompt


(PowerShell run as Administrator):

dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /nore


Sigmund B.

No alt text provided for this image

No alt text provided for this image

Download the Linux kernel update package

To avoid errors later on, we are now going to install the Linux Kernel Update Package for
WSL:

Download the latest package:

WSL2 Linux kernel update package for x64 machines

After all this, reboot your Windows 10 Machine

Set WSL2 as default Version

Lastly, let's set WSL Version 2 as default by running the following command in an
elevated PowerShell prompt (PowerShell run as Administrator):

wsl --set-default-version 2

Install Kali Linux from the Microsoft Store

After all these preparations and installing WSL2, we can now install Kali Linux, or any
other Supported Linux derivate, from the Microsoft Store, for this, simply open the
Microsoft store and search for "Kali"
No alt text provided for this image
Sigmund B.

Klick "Get" and then "Install" - once installed, you can then klick "launch:

No alt text provided for this image

Once you launch it, you will get the following prompt telling you that it is installing

No alt text provided for this image

You will be prompted to create a user and give that user a password, remember that user
and password as you will use it to login to Kali

No alt text provided for this image

That's it, you will be automatically logged in and will be prompted with a bash in Kali

No alt text provided for this image

Optional - Install Win-KeX for Graphical User Interface

This is optional but very useful, just 2 steps needed

First, run the following either via sudo or as root

sudo apt update

No alt text provided for this image


After this is complete, install Win-Kex by running
Sigmund B.

sudo apt install -y kali-win-kex

Once the install is complete, you can run Win-Kex in several options, please read here for
more info: https://www.kali.org/docs/wsl/win-kex/

We are now done, and can install any tools we want to on this Kali install.

Like Comment Share

To view or add a comment, sign in

More articles by this author See all

Setting up your own VPN Setup a T-POT Honeypot on Installing Docker on Kali
server on Azure using Azure in less than 30 minutes Linux 2020.4
OpenVPN

Setting up your own Setup a T-POT Installing Docker on


VPN server on Azure… Honeypot on Azure i… Kali Linux 2020.4
Feb 25, 2021 Feb 21, 2021 Dec 25, 2020

© 2021 About

Accessibility User Agreement

Privacy Policy Cookie Policy

Copyright Policy Brand Policy

Guest Controls Community Guidelines


y

Language
Sigmund B.

You might also like