- In this video, I'm gonna show you how to
download and install Kali or Kali Linux if you prefer
on a Windows computer. In this example, we're going to download a
prebuilt virtual machine and run Kali within VMware player. Now to get Kali up and
running on a Windows computer, we need to do various things. We need to install a hypervisor. VMware Workstation Player is what's called a type two hypervisor. We install an operating
system Windows on bare metal. So in other words, I've
installed Windows on this laptop, then we install VMware Workstation
Player on top of Windows. And then we run another
operating system in this case a Linux within VMware Workstation
Player on top of Windows. So we running an operating system within another operating system, that's called a type two hypervisor. ESXi is what's called
a type one hypervisor. That's where you install
the hypervisor software directly on hardware. Hypervisor software allows us to virtualize operating systems. So in other words, we
could run Windows or Linux on a Windows computer, or we
could run Windows on Mac OS or run Windows on Linux. So in this example, we are running Kali Linux within Windows. Windows is what's called
a host operating system, and then our guest operating system is Kali running within Windows. (upbeat ambient music) Now in this example, I'm installing Kali on
this Windows laptop. I'm controlling the laptop from my Mac, but all the installation work has been done on this Windows laptop. Now there are multiple ways
to use Kali these days. On the Kali.org website,
if you click "Download", you'll see that you can run
Kali directly on hardware. In other words, a bare metal installation, or you can use virtual machines, you can run it on a
Raspberry Pi as an example, you can run it on an Android phone, you can run it in the cloud,
you can use containers, you can boot off a USB drive so do a live boot or run
it within WSL version two. There are advantages and disadvantages of all of these methods. In this example, I'm gonna show you the download and installation
of a VMware virtual machine. Again, this is a prebuilt virtual machine that we can download
from the Kali website. I've pre downloaded it in case this takes a
long time to download, but I'll click "Save"
to save that, download, according to this, it'll
take six minutes to download. I've sometimes found that downloads take a long time from the Kali website, so I've pre downloaded the software. You can also run Kali within VirtualBox. I'll demonstrate that in a
separate video, in this video, I'm gonna concentrate on the installation of Kali within VMware player, again, there are advantages and disadvantages to each
of these installations. Okay, so while I'm waiting
for the Kali VM to download, I'll go to vmware.com. Go to workspace, scroll down
and select workstation player. Now VMware, like a lot of
companies changes their website on a regular basis, so what I'll do is I'll
put the download link below this video in case
their website changes again. VMware workstation plays free software that you can download
from VMware's website. So I'll click "Download Now", and then I'll click "Go To Downloads". And I wanna download VMware Workstation Player for Windows. In this example, at 16.1.2, when you watch this video,
it may be a later release, just download the latest
release that you see. I'm gonna click download
now to download the software and save that to my downloads directory. Now there's additional
software that you need. The Kali Virtual Machine
comes as a 7Z file, or 7Z file. So I'm gonna download the 7Zip software for Windows 64 bit. In my example, I'm using Microsoft
Windows 10, version 20H2. And this is a 64 bit version of Windows. In my example, I'm using an Intel
processor with 8GB of RAM. It's recommended that you
have at least 2GB of RAM for your Kali installation. I've got enough here, I've got 8G, you can increase the amount of RAM that you allocate to your virtual machine. That'll make it run
faster, but in my example, 2GB is fine for this demonstration. So I'll download the 7Z software
to my downloads directory. Okay, so going to my downloads directory, the first piece of software
that I need to download is VM-ware Player. So I'll double click
on the executable file, click "Run" to run the installation, click "Yes" to allow the app
to make changes to my device. And as you can see here, VMware workstation 16
installation is starting. Okay, so the wizard displays, it's a very simple installation. I'm basically just gonna
go with the defaults. You have to agree to
the license agreement. The software is free
for non-commercial use. So if you just wanting to study, perhaps you learning ethical hacking, then you can use the software. I'm gonna click "Next". Click next. I'm not gonna join the VMware Customer Experience
Improvement Program. Click next, click next again. And before I click "Install", I just wanna show you
that in control panel, under network and internet
network and sharing center, change adapter settings, there is no VM-ware network adapter. I do have a VirtualBox in network adapter, applications such as
VMware Workstation Player or VMware Workstation Pro or VirtualBox create these network adapters in control panel, that's normal behavior. So if I click install,
which I've done now, VMware will create a network adapters, which we'll hopefully see in a moment, you can see it's saying "installing virtual network adapters". And there you go, I've got
a VMware network adapter and another one. So that's normal
behavior, that's expected, that allows us for example to bridge to a physical network adapter or to net our virtual machine. Okay, installation is completed, so I'm gonna click "Finish". Okay, so I can see that VMware Workstation has been installed, I could double click on
that to run the software. I'm using VMware Workstation
Player for non-commercial use. So I'm gonna click "Continue"
and click "Finish". My installation has now completed. You can see that it says
non-commercial use only. Okay, so I've got VMA
Workstation Player installed, but now this becomes important, you need to have VTX or AMD-V enabled in the bias of your computer. On the Kali website, make sure that you look
at the documentation. For example, they tell you what
the default credentials are, Kali, Kali. They also have documentation for the installation
of Kali within VMware. So as an example, they tell you here in the guide that you need to enable Intel VTX or AMD-V in the bias of your computer. So you need to do that
before you import the Kali VM into VMware workstation
player and boot it up. Now, if you've already got that done, then jump to this timestamp in the video. I'm gonna show you now how
to do that for an Intel and AMD laptop. But again, if you've already done that to, then jump to this
timestamp to jump straight to the import of the VM
and booting up of the VM on your Windows computer. Now in this example,
I've got an ASUS laptop, it's got an Intel CPU
and I've got an HP laptop that's got an AMD CPU. The process that you follow will vary depending on the manufacturer. So on ASUS as an example, I need to reboot the laptop and press F2 to go into the bio settings. On HP, I need to use F10 to
go into the bio settings. So referred to the documentation
for your manufacturer to determine which key you need
to use to get into the bios, or just use Google to do a search to find out which key to use to get into the bios for your
specific laptop or computer. So I'll now show you how
to enable VTX on a laptop that has an Intel processor, as well as a laptop that
has an AMD processor. Okay, so the first thing I need to do is shut the laptop down. So I'm gonna click "Power", shut down to shut the computer done. Laptop has been shut down. Now because this is an ASUS laptop, I need to press power and F2, so F2 will take me to the bios. And as you can see, I'm now
in the bios of the computer. So they tell you which key strokes to use. So as an example, right arrow will take me
from one menu to the other. So I've gone from the
main menu to advanced. And what I wanna enable is "Intel Virtualization Technology." At the moment it's disabled. So I want to select that option, once again, using the arrow keys, go to Intel Virtualization Technology, press enter, and then specify enabled. So what I'm gonna do now
is use the right arrow key, go to save and exit, make sure that I've
selected save and exit, press enter, and then press enter again
to save the configuration and exit. Laptop is now rebooted. And now I can enter my pin and login. And there you go, I've
logged into the laptop. Okay, so I'll do something similar on this computer with an AMD processor, go to the start menu, I'll
select "Power Options", and I'll select "Shutdown"
to shut down the computer. Computer's now shutting down. Okay, this is a HP laptop,
so I need to use F10. So I'll start the laptop, press F10. Okay, so something similar
needs to be done here. I'm gonna go to "System Configuration", "Virtualization Technology". So Virtualization Technology
is currently disabled. What I need to do is press
enter, select enabled, press enter, and then I need to exit. So save my configuration and exit. Press enter to save the changes,
the laptop is now rebooted. We can see that to the
HP laptop is booting up. This is an older laptop,
so it's quite slow. Okay, I need to put my password
in, press enter to login. I've now successfully logged in. Okay, so you've got VTX enabled in
the bios of your computer. Next step is to install the 7Z software. So again, I've run the
VMware installation, I've got the Kali 7 Z file. Now I need to extract that file, so I'm gonna run the 7Z software, Say yes to run the application,
click install to install it. And now that I've done that I can right click on the 7Z file, and extract the files
to say this directory. The files are now being extracted. You basically just need to
wait for that to complete. So steps we've done thus far is install VMware Workstation player. We've enabled VTX in the
bios of our computer. We've installed the 7Z software. Once we've done that, we can simply import the virtual machine into
VMware Workstation Player. Okay, so that's now completed. Here is the extracted directory. There are the VMware files. So what I could do is take
that extracted directory and move it to my virtual
machines directory. I have other virtual
machines in this directory, but our uninstalled
VMware Workstation player before doing this demonstration so that I could show you the full process. It's a simple meadow of
importing these virtual machines, but for the moment, let me show you how to import the Kali 2021.2 Virtual Machine. So in VMware Workstation Player, go to "Player", "File", "Open", "Documents", "Virtual Machines". I want Kali 2021.2. Select the VMX file, click "Open". A virtual machine has now been imported into VMware Workstation Player. If I click "Edit Machine Settings", I can change various
parameters, including the RAM. I could allocate more RAM
to this virtual machine. I'll leave it as 2G for the moment. I could change the number of processes. If your PC doesn't support for processes, you may need to reduce that. Hard disk space is 80GB, that's fine. Auto detect the CD ROM. In my example, I wanna bridge
this to my network adapter. So in other words, under
configure adapters, I wanna bridge this to for
instance my Wi-Fi adapter. So I'm not gonna bridge
it to other adapters, I'm gonna bridge it to my
Wi-Fi adapter and click "Okay". That allows me to SSH
directly to Kali if I'd like. It's as if this virtual
machine is on the network rather than being netted to the network. Okay, everything else looks
good, so I'm gonna click okay. And then I'm gonna play
the virtual machine, in other words start it up. I copied it, so I'm
gonna click, I copied it. I'm going to download and install new VMware tools for Linux. So while Kali is booting up, I'll simply download and
install the new tools. Okay, that's done, so
I'm gonna click "Close". And there you go, I've now got Kali running
within VMware Workstation Player on my Windows laptop. Default username is Kali,
default password is Kali, click "Login". And I can log in to my virtual machine. If I click on the terminal,
I'll make that a bit bigger. IP address will show me my IP address. As you can see, I'll do that again. As you can see here, IP
address is thus on my Mac. I should be able to ping
192.168.136, which I can. So I'm pinging from this Mac book to the virtual machine
running on the Windows laptop. Okay. So there you go, I've
now got Kali up and running within VMware Workstation
Player on a Windows laptop. Now something a lot of people wanna do is get Wi-Fi working. So here I've got an alpha network adapter. This is one of my favorite Wi-Fi adapters, it does have the restriction
that it only supports 2.4 GHz but it works out of the box with Kali, in this video, I explained a
whole bunch of Wi-Fi adapters so you can have a look at that video if you wanna look at
various Wi-Fi adapters. But what I'm gonna do now is plug this into that Windows laptop. (Windows 10 notification ding) Okay, so VMware picks that up. I need to select, do I wanna connect it to the
host or to the virtual machine? In my example, I wanna connect
it to the virtual machine. Click okay. And if I type IP address, I
now see Wi-Fi and network. If I type "iwconfig", I see that I have a Wi-Fi
interface connected to Kali. I'll clear the screen, and
then I can run an application like Wi-Fight to sniff for Wi-Fi networks. So I'll put in my pseudo
password, which is Kali, and as you can see there, monitor mode has been
enabled on the Wi-Fi adapter and it starts sniffing
various Wi-Fi networks. And I could attack a Wi-Fi
network if I wanted to. As always, only attack
networks that you either own or have permission to attack
or press Ctrl-C to stop that and I'll close that down. Okay, so there you go. Start to finish, how to get
Kali 2021.2 up and running on a Windows computer using
VMware Workstation Player. In separate videos. I'll show you how to get
this working in VirtualBox or within WSL version
two and other options. Now if you enjoyed this video, please consider subscribing
to my YouTube channel. Please like this video and click on the bell
to get notifications, that really does help me
with the YouTube robots. I'm David Bombal, I wanna
wish you all the very best.