What is the default password for Kali on Windows 10 via Windows Subsystem for Linux?
3 Answers
Traditional Kali
Searching for this via Google it appears to be toor
for the root
user. Notice it's just the name root
backwards which is a typical hacker thing to do on compromised systems, as an insider's joke.
If you happened to provide a password during the installation, then this would be the password to use here instead of the default toor
.
Kali on WSL
NOTE: WSL = Windows Subsystem for Linux. In this particular flavor of Kali the root password appears to be randomly generated for the root user. To get into root you simply use sudo su
instead.
Reference: Thread: Unable to 'su root' in kali on WSL
I'm sure the root password is randomly generated in WSL. It's irrelevant though, just type
Code:
sudo su
What's WSL?
So there are various flavors to Kali. You can download it and install it natively as a bare OS, you can also go into the Window's App Store and install it as an addon.
For the past few weeks, we’ve been working with the Microsoft WSL team to get Kali Linux introduced into the Microsoft App Store as an official WSL distribution and today we’re happy to announce the availability of the “Kali Linux” Windows application. For Windows 10 users, this means you can simply enable WSL, search for Kali in the Windows store, and install it with a single click. This is especially exciting news for penetration testers and security professionals who have limited toolsets due to enterprise compliance standards.
For an overview of what limitations there are in WSL see this U&L Q&A titled: Attempting to run a regular tunnel in Debian version 9.5 Linux.
References

- 369,824
Searching specifically for Kali on Windows Subsystem for Linux (WSL):
This kali forum post suggests the root password may be randomly created for WSL's root user. You could just use sudo
.
This askubuntu Q+A suggests using sudo passwd
to change the WSL root password.

- 378
If you setup a default user while installing Kali Linux on Win 10, then that user becomes superuser. I did a sudo apt-get update and entering the password of that default user gave me the right permissions. This should allow you to perform most admin related functions on this install

- 1
sudo su
for "root" – Rui F Ribeiro Aug 14 '18 at 22:27