Skip to content

Instantly share code, notes, and snippets.

@AlphaIru
Last active September 28, 2023 20:50
Show Gist options
  • Save AlphaIru/ec99742bd25a72bf78282218d4397f92 to your computer and use it in GitHub Desktop.
Save AlphaIru/ec99742bd25a72bf78282218d4397f92 to your computer and use it in GitHub Desktop.
Things that I was able to run with Kali-linux in WSL

Things that I tested and can do with Kali on WSL

Note: Windows 11
WSL version: 1.2.5.0
Kernel version: 5.15.90.1
WSLg version: 1.0.51
MSRDC version: 1.2.3770
Direct3D version: 1.608.2-61064218
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22621.2283

The thing is, Kali "kind of" works in WSL. Kali in WSL is not perfect still because it was originally designed for CLI interface, not for GUI. Windows has been working on WSLg to fix this issue and it actually works out pretty well than expected. Although it is fairly well emulated with clean graphics on most softwares, it requires decent amount of memory. I personally do not suggest running if you have less than 8GB of RAM and low-end CPU cores (personally at least a performace of 10th-gen Intel Core CPUs or higher). Still, I think it is worthy enough to run Kali on Windows, eventhough Windows defeat Kali OS's purpose of being security based OS.

Link to the Kali-OS: https://apps.microsoft.com/store/detail/kali-linux/9PKR34TNCV07?hl=en-us&gl=us

Run these commands:

sudo apt update && sudo apt full-upgrade -y
sudo apt install kali-linux-default -y  ({sudo apt install kali-linux-arm -y} for arm CPU)

Note: When you see prompts on install/update: just press enter; it should be fine.

Key:

◎ Works totally fine
◯ Works fine, but requires some features
? Unknown, i.e. not checked yet

Table:

Program Preinstalled? WSLg requied? Usefulness Comments
john
hashcat
diit slightly clunky graphics but usable
SOF ELK ? not sure how to install it...
firefox sudo apt install firefox-esr to install
wireshark sudo wireshark (or else it won't find eth0)
aircrack-ng
nmap
binwalk
burpsuite
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment