Okay, let's get things set up.
Now I've got my VM workstation player open.
I actually use VMware Pro.
So I'm using an older version of VMware
Player, it should look pretty much the same.
What you're going to do is you're going
to say, hey, I want to open a virtual machine, because this is actually going
to be an existing virtual machine.
So we're going to go ahead and just say
open one.
Okay, and then I have a Kali folder right here.
So I'm just going to click into this Kali folder.
Remember, we were supposed to extract our zip.
So I come in here and I open this and it's going to start opening this here.
So now we have the ability to go in and edit our virtual machine settings.
This is going to be true for both.
I'm going to just kind of show you as I go.
So here, it's the same concept.
I didn't download one for VirtualBox, but
you would just hit add and add your machine.
And then once your machine is added,
we're going to go ahead and edit the settings.
So we'd go edit virtual machine settings here.
And then same thing on here, I've got tails right here, but we could just right
click and say, hey, settings, same concept, okay, what we want to focus on
are two things, we want to focus on memory.
So depending on how much memory your
device has, for example, I have a lot of memory on my computer, I have something
like 500 plus gigabytes of memory, you probably don't have that.
But if you have eight gigabytes of memory, maybe you only allocate two
gigabytes, if you have 16, maybe you come in here and you allocate four, if you've
got 32, maybe you allocate eight, okay, I'll let you choose how much memory you
want to allocate.
But the more memory you allocate, the
slower your actual machine is going to go because this is going to be eating up a
lot of resources.
And the less you allocate to your virtual
machine, the slower your virtual machine is going to go.
So you want to make sure that you find that balance there.
I'm going to give it eight because I have enough memory here, I can give it as much
as I really want.
But doesn't matter, eight should be
plenty to it will be okay, it'll be a little bit slow doesn't really matter too much.
Now the other thing we want to concern ourselves with is this network adapter here.
I like to go if I'm only running one machine, we can do bridge mode or NAT
mode, I prefer to do NAT, sometimes NAT does not work.
Okay, so if NAT does not work, that's okay, we'll figure it out.
But you can always try bridge.
So the first thing I want you to do is
NAT, come in here, say okay, and we'll run this with NAT, I'm going to go ahead
and say play virtual machine.
On this one, same concept, you can just
click through here.
And it says, Hey, network, for example,
do I want to bridge adapter or NAT adapter?
If you're bridging, what are we bridging
off of?
What adapter here do we want to bridge
off of?
So if you're connected to an ethernet
versus connected to Wi Fi, need to make that decision.
Same thing if we come in here with general and system, how much memory do I
want to give this if I'm running this with VirtualBox?
Okay, so same concept, once you're there, just go ahead and hit start.
Same idea.
So here we are, we're at the login screen now.
And if you're not here, feel free to just pause.
But once you get to the login screen,
we're just going to come in and type in the username and password, which is going
to be Kali, K -A -L -I, for both username and password by default.
I'll also put that in the description below just in case you need it.
And this will boot up for the first time for you here.
And you'll get this nice background Kali Linux, blah, blah, blah, okay.
What you need to do is you can come into a command prompt.
If this is your first time ever using a command prompt, that's okay.
What I want to make sure is that we actually have an IP address, let me make
this even bigger.
And so we can come in here and just say
IPA, just like this.
Okay, and so with IPA, we're just doing
an IP address of all, we're looking at our IP addresses.
I've got a 192 .168 .138 .144.
That looks good to me.
What we can also do is just go out to the interwebs and just open up Firefox,
that's right here.
And just try to go to Google, just say
google .com, something like this.
And it should open up Google.
That means we are resolving that's good, right?
We actually are working on our machine,
we're connected to the internet, that's all we need for right now.
So make sure you're connected to the internet.
If you're not, go ahead and try switching
to bridge mode.
So all you would do is shut this down,
switch to bridge mode, and then power it back on.
Same concept here.
Okay.
The other thing I want to make you aware of is sometimes we're going to use what
is called the sudo or sudo command, depending on how you pronounce it.
I'm a sudo type person.
But let's say you wanted to run a
specific tool.
And a good example of this, actually,
I'll just show you, you do not have to do this at all, don't have to follow along.
Let's say I want to go to Google, and I wanted to download a tool, which we might
do in some of the later videos, I might come in here and there's an awesome tool
called pimp my Kali that is written by DeWalt.
We use this in the practical ethical
hacking course.
So we come here and he's got this awesome
tool that we need to run and we want to install it.
Well, I want to clone this tool.
So I'm gonna go ahead and copy this.
And if you're not familiar, don't worry, I'm just showing you the permissions and
how this all works.
I'm going to cd to this opt folder here.
And I'm going to install this tool.
Now to install the tool, I would just say
get clone.
And then in order to download it, I would
just put that link that it gave me.
And it would say, hey, permission denied,
we can't actually do that here.
Well, because I don't have the
permissions, I'm running as a low level user, I do have what is called sudo permission.
So I can run this as a root user.
So I could say sudo get clone in here and
actually paste this, hit enter and then type in my password for Kali, which is k
a l i, hit enter.
Okay, and then now if I ls here, and I
look I have a pimp my Kali folder.
So it actually installed it worked, it
did everything.
So you may see me use this command.
And if you're not familiar with Linux, that's okay, highly recommend that you
check out our Linux course.
Or if you're going through the PMPT or
pjbt, or any of those, you might want to start with the practical ethical hacking
Linux section first before you just dive into this if you're very unfamiliar,
you're comfortable, don't worry about that.
Now, this is going to be important
because we're going to need to do this to install tools, everything else.
One other thing, if we need to switch user, you shouldn't have to.
But if you need to, just to prove concept, we could say, hey, I want to
switch user and just do a switch user dash, that's going to put me into root.
Okay.
And then now I'm root.
And so if I wanted to run a git clone, again, of that command, I totally could,
I don't need to.
But this is how I would run that elevated
without running the sudo.
My preference is to actually use sudo nowadays.
Back in the day, it used to be that route was the default login for Kali.
And so a lot of us are backtrack even a lot of us are used to the route took a
bit to convert over but security best practice and being a security engineer,
really, we should be using sudo.
So let's do that.
Okay.
And so you can just Ctrl C or just exit out.
And that will exit back here, just exit, not Ctrl C, sorry.
Excellent.
We'll get you right back to your Kali user.
So that is it for this video.
That's it for this section, we have
successfully installed our Kali Linux, that's all we needed to do for now.
So the next section, we're going to start working with this.
Now this is an update, and we're updating the next section.
So if you're watching this portion of the course, and the VM looks a little bit
different in some of the later videos from here, that's just because we're
still in the process of getting this course updated.
But outside of that you are good to go, you've got your ready new lab set up and
you should be ready to get on with the rest of the course and the lab.
So go ahead and see you over in the next video.
Transcribed by https://otter .ai