Kali Linux installation on Windows 10

Follow these simple steps to install the security-focused Linux distro from the Microsoft Store

Ethical hackers got a real treat last month, when Kali Linux officially became available on the Microsoft Store, running on Windows Subsystem for Linux (WSL).

Kali Linux is a security-focused Linux distro based on Debian and is designed primarily for 'offensive security', which is a branch of cyber security that involves ethical hackers attacking businesses in order to expose flaws in their networks that can then be fixed, a process known as penetration testing.

The software comes pre-packaged with a variety of different command line hacking tools, including password crackers, packet sniffers and exploit tools. But you need to install it before you can make use of these pen-test treasures. Luckily, it's fairly simply to do that. Following the steps laid out on Kali Linux's open source project page, maintained and funded by Offensive Security, you can set up your machine with all the tools you need to perform a comprehensive pen test.

Update Windows 10

Firstly, if this is your first time using WSL, you'll need to update your Windows 10 machine to install it. You can do this by navigating to the Control Panel and go to 'Apps and Features', select 'Programs and Features' from the right panel and click 'Turn Windows features on or off' from the left menu. Select WSL and save it. 

Advertisement
Advertisement - Article continues below

Alternatively you can open an administrative PowerShell window and install WSL by running the following command: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux.

Whichever method you choose, Windows 10 will then reboot and you'll be able to then find, download and install the Kali Linux app in the Microsoft Store.

Install Kali Linux

One you have launched the application, you'll need to create a default UNIX account as part of the installation process, and add a password. Once you do so, WSL will automatically complete the installation and open a new console window.

Kali Linux's open source creators advise users to run an upgrade to keep up with the latest packages, and to clean up the apt-cache to save space on your drive.

The official page also points out that due to the tools' pen-test nature, some antivirus software will identify them as malware. To whitelist Kali tools, Offensive Security recommends allowing antivirus exceptions on the directory Kali sits in.

Offensive Security's explainer has plenty more troubleshooting advice for running Kali Linux on Windows 10 if you experience any issues once you have it installed and running.

Featured Resources

The IT Pro guide to Windows 10 migration

Everything you need to know for a successful transition

Download now

Managing security risk and compliance in a challenging landscape

How key technology partners grow with your organisation

Download now

Software-defined storage for dummies

Control storage costs, eliminate storage bottlenecks and solve storage management challenges

Download now

6 best practices for escaping ransomware

A complete guide to tackling ransomware attacks

Download now
Advertisement

Recommended

Visit/open-source/34540/view-from-the-airport-linux-open-networking-summit-2019
open source

View from the airport: Linux Open Networking Summit 2019

1 Oct 2019
Visit/software/28109/what-is-open-source
Software

What is open source?

13 Sep 2019
Visit/operating-systems/28025/best-linux-distros-2019-the-finest-open-source-operating-systems-around
operating systems

Best Linux distros 2019

18 Jun 2019

Most Popular

Visit/security/identity-and-access-management-iam/354289/44-million-microsoft-customers-found-using
identity and access management (IAM)

44 million Microsoft customers found using compromised passwords

6 Dec 2019
Visit/cloud/microsoft-azure/354230/microsoft-not-amazon-is-going-to-win-the-cloud-wars
Microsoft Azure

Microsoft, not Amazon, is going to win the cloud wars

30 Nov 2019
Visit/network-internet/wifi-hotspots/354283/industrial-wi-fi-6-trial-reveals-blistering-speeds
wifi & hotspots

Industrial Wi-Fi 6 trial reveals blistering speeds

5 Dec 2019
Visit/hardware/354237/five-signs-that-its-time-to-retire-it-kit
Sponsored

Five signs that it’s time to retire IT kit

29 Nov 2019