How to Installing Kali Linux on Windows 10 ?

How to Installing Kali Linux on Windows 10 ?


– [Instructor] Once we
have the Windows Subsystem for Linux installed we can install distros like Kali within Windows through the Windows Store. I’ll click on the search
box and type Kali. The first result here is Kali Linux, so I’ll click on that. Then I’ll click Get. This will download a very
small Kali Linux environment for us to use in Windows
Subsystem for Linux. I mentioned earlier that we
need to add the Kali directory to the exceptions list in Windows Defender or an anti-virus program to prevent that software
from detecting tools installed within Kali as threats. I’ll open up the Windows
Defender settings here and I’ll go to the Virus &
threat protection settings. Then I’ll click on Virus &
threat projection settings, scroll down to Exclusions, and click on Add or remove exclusions. Then I’ll click Add an
exclusion for a Folder and here in the path
bar I’ll type the path to my users app data folder, c:Users, my username, AppData. Then I’ll open up Local, Packages, and I’ll find the folder
that starts with KaliLinux. On your system what you
see after KaliLinux here will be different than
what’s on my screen. Then I’ll choose Select Folder. And I’ll close out of here. Now when we install tools
that have a malware signature the anti-virus software won’t freak out. Okay, let’s go to the Start
menu and load up Kali. It’s been recently added, so it’s here at the top of my list. I need to wait for the software to go through a setup process as it unpacks its file system. And then I’m prompted for a
username and password to create. And here I am at the Bash
prompt for my Kali installation. If you’ve used Kali before this may look different
than what you’re used to. A full distribution of Kali
starts up with the GNOME desktop with windows and menu bars and a desktop with a cool dragon logo. But here in the Windows
Subsystem for Linux we start at a Bash prompt. From this point forward
I’m going to assume you’re familiar with working at the Linux Command Line using Bash. If you’re not familiar with that take some time to go look at my course Learning Linux Command Line and come back when you’re more comfortable with the Command Line environment. I’m going to click on
the application icon here and choose Properties. I’ll increase the size of the font on my screen to 24 points. And I’ll maximize my window. Let’s check out the release files. I can see that I have
Kali Linux version 2018.3. Out of the box one of the
most distinguishable features of Kali is even though
it’s based on Debian it has only the software
repository offered by Kali enabled. That repository offers
the tools we can install. Usually on a Linux system you
can add other repositories to the list as you need them, but the maintainers of Kali
recommend not doing this, because it can result in
misconfigured packages. Again, this isn’t a
general purpose distro, it’s a focused environment for a particular set of tools and tasks. The Kali that we get
from the Windows Store is a very small version. It’s really just the distribution itself without the tools and features
that are commonly associated with the full install of Kali. This can be a little bit annoying, because we still have
some configuration to do in order to get to a point where we can start using the tools, but it can also be nice, because this minimal
installation doesn’t take up a huge amount of space, so we can also install tools individually. Kali provides a one-stop
shop of these tools to get started using them quickly. There’s a full listing of
what tools are available in the Kali repository at
tools.kali.org/tools-listing. I’ll open that up over here. And we can explore individual tools and click on the name of one
to find out what it does. Each of these names here are something we can request to install and then something we can
run once it’s installed. These are organized into
a few different groupings. Kali also offers what
are called Metapackages or groupings of tools
for specific purposes. We’ll install this full
package in a moment to get the full suite of tools
we need for security testing. Take some time to explore
this tools listing to explore what tools are available and what comes with the metapackages. Notice that the full install metapackage also includes the base metapackage and other metapackages, in addition to dozens of
other commonly used tools. We can list what’s installed on our system with apt list installed. This looks like a lot of packages, but most of them are system support stuff that comes with the
distribution, not tools. Before we install anything it’s important to make sure the list of software we have is up to date and that the software
that’s already installed is updated too. To do that I’ll write apt update. And I’ll enter my password
when I’m prompted to. Okay, now let’s install one of
those tools from the listing. I browsed the list earlier and whatweb looked interesting. I’ll install WhatWeb
with apt install whatweb. That’s installed and we can run it by typing the name of the program and seeing what we get back. Whatweb is a tool that tries to identify what kind of web service is
running on a particular host. We’ll use it by typing the name and the options and then
URLs that we want to explore. So I’ll write whatweb
https://wordpress.com. And it turns out wordpress.com
probably runs WordPress and it’s hosted on nginx. Okay, we’ll see more about
individual tools later on. That’s one tool and to get the full tool set we can use the metapackages we saw earlier to bring down the full suite of tools that come with a normal
installation of Kali. This will take a while, possibly even up to 1/2 an hour or more, depending on the speed of
your internet connection and the speed of your hardware. Installing packages on
a system is a process that shouldn’t be interrupted, so make sure you have a
solid internet connection and a reasonable amount of time to let the process complete. Don’t start this process
until you’re ready for that. To start installing the rest of the tools I’ll install the Kali
Linux full metapackage with apt install kali-linux-full. This will install a whole lot
of packages, 2073 of them. Downloading two gigabytes of archives and then taking up 6.3 gigabytes of space. I’ll type y to continue. We’ll speed up the video here, but remember, this will take some time and shouldn’t be interrupted. During the installation
part of the process after everything has been downloaded there will be a few setup
screens for various tools. Take a moment to read through them. I’ll just choose the
recommended responses here, but if you know you want a particular tool to work differently go
ahead and change it. We can get back to these setup screens for particular tools with D
package reconfigure later. So if you choose an option and you might wanna revisit it write down the name of the tool and then look at it again
with D package reconfigure. Okay, when that process finishes we’re closer to a
regular Kali installation and we’re ready to use some tools.

4 Comments

  • Sleqy says:

    My think wen I let it download the things it needs just sits here it doesn’t do anything

  • Sleqy says:

    It’s says Kali Linux Rolling that’s it then nothing else

  • Marti van Lin says:

    Or simply install Oracle VM VirtualBox and Kali on top of that. Just to keep things simple stupid 😉

  • Vic Thor says:

    this is the most comprehensive set up tutorial for kali from window 10 app store l I have encountered so far. Having spent a few days and sifted through few dozen videos that either give incomplete instructions, fail to mention key points, do not explain actions performed in the slightest way.
    Thank you for your time and effort creating and posting this tutorial. Excited to check the rest of your videos

Leave a Reply

Your email address will not be published. Required fields are marked *