How to Set up Kali Linux as windows 10 subsystem
Awesome news for hackers.
Presently you can download and introduce Kali Linux straight forwardly from the Microsoft App Store on Windows 10 simply like some other application.
I know it sounds insane, however it’s valid!
Kali Linux, an extremely well known, free, and open-source Linux-based working framework broadly utilized for hacking and infiltration testing, is currently locally accessible on Windows 10, without requiring double boot or virtualization….follow 5 step.
STEP 1:Install the Windows Subsystem for Linux
First, run PowerShell as the administrator by pressing Windows + X and clicking on “Windows PowerShell (Admin).” Then enable this optional Windows feature by running the following command.
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Once you press Enter, a loading bar will appear for a few seconds, then you will be prompted to restart the computer. Press Y and Enter to reboot. The system will immediately begin to restart.
STEP 2:Download the ‘Kali Linux’ Application
Once your system has rebooted and you’ve logged back into your account, navigate to the Microsoft Store by searching for it in the Cortana search bar in the bottom-left corner of your screen. Once there, search for “Kali Linux” or simply follow the link below to open the Kali page in the Microsoft Store. From there, click “Get” to begin installing.
- Install Kali Linux from the Microsoft Store for Windows 10
- Other ubiquitous Linux distributions, such as Ubuntu, are also available so you may want to spend a few minutes looking around the Microsoft Store before you leave.
STEP 3:Launch Kali for the First Time
Before you launch the “Kali Linux” app for the first time, I recommend clicking “Pin to Start” or, better yet, click the ellipsis (…) just to the right of it and then “Pin to Taskbar” to make it quick and simple to launch Kali in the future.
With that done, you’ll be prompted to create a Unix username and password. Congratulations, you’re all set up and running a Kali Linux subsystem on your Windows machine! Don’t forget to update it regularly just like any Linux system:
sudo apt-get update sudo apt-get dist-upgrade
If hard drive space is a concern, then don’t forget to clean up the apt directory.
sudo apt-get clean
STEP 4:Add Windows Defender Exclusion
Unfortunately, Windows Defender doesn’t always like to play nice with the tools in the Kali repository. Sometimes, it detects them as viruses and/or malware and blocks some portion of the program. To prevent these errors, it’s a good idea to go ahead and add a Windows Defender exclusion for the Kali Linux folder.
First, find that folder by opening File Explorer and entering the following location in the address bar. Don’t forget to replace “yourusername” with your actual username!
Now, open the Kali Linux folder which should look something like “KaliLinux.54290C8133FEE_,” and copy the folder location.
STEP :5 Install Penetration Testing Tools
With the Windows Defender exclusion in place, you’re ready to get started with your ethical hacking. Not much comes preinstalled in this version, so install tools you wish to use from the Kali repository as you normally would with the apt-getcommand. For example, to install Metasploit:
sudo apt-get update sudo apt-get install metasploit-framework
Thanks for reading! If you have any questions on setting up or using your new Kali Linux subsystem on Windows 10, or on what tools you should be installing, ask away in the comments below ..