Instructor: In this lecture,
I'm going to show you how to install Kali Linux
as a virtual machine on Apple Mac OS.
Skip this lecture,
if you already have Kali and VMware installed,
or if you want to install it on Linux,
I will cover installing it on Linux in the next lecture.
Anyway, I already have this downloaded in my downloads.
And as you can see in here, we have the virtual image,
but it is inside an archive.
So you can see the file type is 7z and it's an archive.
And we did this to compress the actual virtual image
so that it takes less time to download.
So in order to use this virtual image,
we have to uncompress this archive.
And to do that on Apple Mac OS it's very easy.
All we have to do is simply double-click this file.
Give it its time, this might take some time.
Once done you're going to get a directory.
As you can see in here,
dot vmwarevm, using the right software
we can use it to run Kali Linux
inside our current operating system.
To do this we're going to need to use
a virtualization software.
As mentioned, virtualization software allow us
to run a number of operating systems
as virtual machines within our current operating system
and the virtualization software that we're going to use
to run this virtual image is called VMware.
So I have it's download page open here already.
I'm going to include it in the resources of this lecture,
and don't worry about the buy now button.
It's actually free for educational and non-commercial use.
So we're simply going to click on download now.
We're going to scroll down and we're going to download
the Fusion player.
This is the free one.
So we're going to click on register for a personal license.
I'm going to click on create a new account.
I'm going to put my first name and last name, put my email.
And we're going to say, no, we're not a partner,
and we're going to continue.
It's going to ask us for more information.
So you want to verify your email, put a password,
fill company details, if you have any,
if you don't, you can fill blank stuff.
We're going to agree to the terms.
We're going to fill the Captcha and register.
Perfect.
Now it's telling me that a verification email
has been sent to my email.
So I'm already logged in here to my email.
We're just going to refresh it.
We have a message there from them,
and we can click on this link to activate my account.
I'm going to input my password that I just set.
We're going to continue to the customer connect and perfect.
We have my license in here that I can use
to use the program for free.
And we can also download the program from here.
So I'm going to click on download
and give it it's time to download.
And perfect, now the download is complete,
so we can go back to our downloads directory
and we can see VMware Fusion downloaded in here.
So to install it,
we're simply going to double-click it,
just like installing any other application.
We're going to double-click the installer.
We're going to say yes, we want to open it.
Put the password.
We're going to allow it to access my system events.
And perfect, now it is installed
and we're getting a wizard
that will help us install a virtual machine
for the first time.
So I'm going to click on cancel to get rid of this
and close this installer.
We're done with everything.
And if you notice here on the top right,
you'll see that we have a little icon
to indicate that VMware is working on this machine.
So what I'm actually going to do is if I go in here,
we'll see it running.
I'm going to right click and quit
because I want to show you how to actually use it from zero,
from scratch.
So let's assume this is a new machine
and you want to use it.
We're going to go to launchpad.
We have VMware in here,
we're going to click on it to start it.
Now you'll notice we got the same window,
but when that happens,
you'll see that this virtual machine file
now has the icon of VMware Fusion.
So now we can simply double click this file,
the dot vmwarevm file.
And you'll see that it'll automatically run inside VMware.
Now we're going to say, okay, for this warning message,
we're going to say that we copied it.
And perfect, now we are ready to use this virtual machine.
And as you can see,
it's actually automatically starting Kali Linux for me.
Now it's asking us to log in.
The default username is root, R O O T.
And the default password is toor, T O O R.
I'm going to hit enter.
And perfect, right now I am running Kali Linux
as a virtual machine inside my main operating system,
which is this Mac OS computer.
Now to view this in full screen,
you're simply going to have to click on the green button
for the full screen.
And it will automatically resize, as you can see,
and you'll be able to use this virtual machine,
like I said, inside your main operating system.
I know this might look a little bit scary,
but don't worry about it.
I'm going to walk you through it step by step
throughout the course and you will learn how to use it,
and you'll see how easy it is to use it for hacking.
For now, if you wanted to exit the full screen,
you can simply just go to the top and keep the mouse there
and then click on the green button again,
to exit the full screen.
And to turn off Kali,
you can simply click here, go to power off and power off,
click on power off one more time
and the machine will shut down.
Now in here on the top right,
you can see we have the VMware icon, like I said,
and if you click on it, the first time you click on it,
you'll actually be asked to give it permissions.
We're going to say that's okay and let's click on it again.
And as you can see,
you're going to have a list of all of the virtual machines
that you installed in here.
But right now we only have one, which is the Kali machine.
You can also click on the virtual machine library
to see a list of all of the virtual machines in here
laid out nicely.
And if you want to edit the settings
of any of these machines, we're going to click on it,
one click, and we're going to right click it
and go to settings in here.
Now, as I mentioned,
this machine is already configured to run well.
So you don't really need to modify any of this,
but I'm just showing you how to modify the settings
because modifying the settings for virtual machines
is always the same.
So it's good to know.
The main settings that you want to know,
is the processor and memory.
Here you can adjust the amount of memory
that you're giving to the virtual machine
by moving the slider.
And you can adjust the amount of processors
given to the virtual machine again in here,
but that's both set to two processors
and two gigabytes of memory.
It's enough to run Kali smoothly.
If you go back to everything else,
we have the network settings in here
for this specific virtual machine.
And as you can see, this is set to use a NAT network.
This setting will basically create a virtual network
where my host machine is going to be the router
for this network.
And then all the virtual machines are going to be clients
connected to this network.
So they're going to get internet connection
from my host machine.
And at the same time,
all of my virtual machines will be connected
to the same virtual network.
This is very handy because my virtual machines
will be able to communicate with each other.
And therefore we'll be able to use the Kali machine
to hack into the others.
We'll be able to test network attacks and do much more.
So this setting will first allow my virtual machines
to have internet connection,
and it will also allow them to communicate with each other
through this virtual NAT network.
Now this virtual network will rely on the connection
of your host computer.
So it will not need any extra interfaces.
It will not need any extra adapters.
And as far as the virtual machines are concerned,
they are connected to an internet network,
but in reality, they are connected through the host machine.
Again, you can click on show all
to see the rest of the settings,
but like I said, you don't really need to modify anything.
Everything should be configured properly for this to run
with no issues at all.
If you face any issues,
then check out the featured questions.
And if you don't find your answer,
feel free to ask us and we will respond to you
within a maximum of 15 hours.
And like I said, don't worry about using Kali.
I will cover that in details in the next lectures.