Okay.
Now it's time to prepare the environment.
The first thing we want to download and install virtual box.
So from Google.
Download VirtualBox.
Go to the download and from here.
Choose the version you want regarding the platform you want.
So Windows host OS X for Mac, Linux Distribution, Solaris and so on.
In my case I am using Ubuntu, so I will choose a linux distribution.
And I would have open to.
20, which is this one.
And then after you install it, just follow the instruction, as you can see from here and you can just
install it as simple as that.
The same thing for OS X the mac on the Mac and the same thing for Windows OC.
Now this is the first thing.
Now the second thing we want clearly Linux OC.
Now by the way, we can install and map for Windows or for Mac or for Ubuntu by the way.
But actually for you as a hacker, it's better to have Linux because Linux is an operating system used
for penetration testers and it can hackers.
So yeah, it is better to have Linux installed.
So from here you can go to the Linux download and from here I want to choose a lifeboat, just this
one.
And here you can download it which is 3.7 gigabytes, which is Linux 2021 OC or torrent torrent.
And you have the sum just in case to make sure that you have the right distribution or the right ISO
file OC.
Now the second thing or the third thing, actually not the second we want to have.
An environment to test the map on.
So we want to scan the board, the host vulnerability and so on.
So actually it's better to have a local machine or a testing machine for that purpose, not to test
on a live targets like Google, Dotcom or Amazon or whatever.
No, actually, this is bad.
So we will have Metasploit.
So from here Metasploit table, you can download it from SourceForge or you can have it from Rabbit
seven, which is this one.
Okay.
But of course you need to provide information, name, email the company are working with.
You can put arbitrary values by the way OC.
So you don't need to register and all of that.
Now, after VirtualBox is downloaded and installed.
Now we want to have clinics operating system.
Now, you may ask me, but why we need clinics?
Because by default it has the map already there.
And by the way, again, we are as an ethical hackers, we have to learn the right way, which is using
a clinics, because this is used mainly by, if you can, hackers or hackers generally.
So from here up in the virtual box new and let's name it Kelly or Kelly Linux.
And here you can choose Linux and its choose other 64 OC and you can choose next.
Put it as much as you want.
By the way, 512 megabyte will be enough, but in my case I have a lot of ram on my laptop so I can
put to a no problem.
And here you can create a hard disk.
Next, next, next.
I in my case, I will put it as 50 gigabyte or no.
Actually, it's better to have it as 20.
Now depends on your hardware again, because I have a lot.
Okay.
Now, this is the first thing.
Now here, let's go to the sitting.
While I'm choosing Kelly Lennox, let's go to the network, make sure it is a bridge adapter and make
sure you are using the adapter.
Do you want?
In my case, this is the wi fi, not the Ethernet.
And then go to the storage.
So here choose the empty and choose the disk file and choose Kelly Linux OC which is this one and press.
Okay.
Now after this is done, let's click on Start.
And as you can see, it will select we want to select the Kallenius 2021, which is this one.
Let's start.
And here in my case, I want I can put life.
You can just run it as life or you can just start the installer, which is this one.
I would choose English.
Continue.
United State.
Continue.
Now for the hostname.
Choose, carry or whatever you want.
Domain name.
Leave it as empty.
The full name for the new user because by default, Kari doesn't support the route by default.
So you need to put a user here.
So in my case, I can put Kelly.
Username for your account.
Kelly It will be.
And it will be Kelly.
Kelly one, two, three, four, five, six.
Now, I know it's simple.
Just this is for the sake of discourse.
Okay.
This is the best word.
By the way, you need to provide a secure password.
This is just arbitrary password for the SEC for this course.
Okay.
Now if you got stuck on the configure the network but make sure that you have the network from here,
from the sitting.
Let's turn it back to the net.
Then after it is done, you can return it back to the bridge.
Now why we need the bridge, not the net.
Because we want to be on the same network.
So the Linux will be will have an IP address on the same network of the Metasploit machine, which is
that we want to use for testing.
Don't worry, we will handle that right away.
Continue.
And you can choose either separate or all funds in one.
Now, in our case, we don't.
It doesn't matter.
So continue.
And finish.
Just and.
Yes, Quentin.
Okay.
Now you will see.
You see this?
Use a network mirror and choose.
Yes.
Continue, continue.
Now you will see that.
Install the drop bootloader.
Yes.
And you can choose this device, which is the main device, which is our main device.
Continue.
Now the installation is complete.
Now let's select the first one.
Here's what the user that we created previously.
Kelly.
And the password is.
Kelly.
One, two, three, four, five, six.
Now we have the Kleenex is ready.
So from here, let's go to the full screen.
Yeah.
I think this is better.
And from here, if I click on it.
So here if I type I f config, you can see that this is the IP address which is inside the net network.
So from here, from the machine sitting.
To the network and select bridge a data place OC.
If I type a f config again, you will notice that it is still the same problem.
So for for that I have config.
Down to the F zero.
Or actually it's at zero down.
And of course, you need a pseudo permission.
So to do this.
And Kerry one, two, three, four, five, six.
So you can notice that if I type I have config again.
For this, you can see that the network is down.
So you'll notice that here.
So again a pseudo I have config.
I actually I think I must yeah.
I think it's better to increase the font size.
So sudo I have config at zero up like that.
So so do I have config.
You can see that now we have the IP address which is this one which is inside the network and this is
what we want.
By the way, you can see that end map is here, right?
As you can see and map is here.
And by the way, if you don't like the opacity like this, just from here, from the file, the preferences
from the cat here, from here, from the application, transparency, but to zero and apply.
You can see that now there are no transparency at all and you can change.
And by the way, you can change the.
So from here, green on black, if you like this.
Actually, I prefer this because it is.
It's not just like I am talking.
I am hack or something.
No, no.
The field like that.
No, actually it is better for your life.
Or at least for my eyes.
I think this is better.
Comfortable for my life.
Okay, now the next step.
We want to prepare the environment.
We want to download and install the Metasploit table, or we already download it.
So we want to install it so we can test and map against it in the next lectures.
Okay.
Now, after we prepare the Kali Linux, we want to prepare the Metasploit, which is the machine that
we want to run the map against.
To test what scans vulnerability, discovery and and all of that.
So from the Metasploit, we actually downloaded the valuable tool, which is you already downloaded.
Now from here, new name, anything.
So let's name it meta exploit or Metasploit Build.
Who?
And choose Linux TOS other Linux 64.
512 megabytes will be enough.
Be it next.
Next?
Yes, it is enough.
Or more than enough, actually.
Now, click on the setting for this machine.
Make sure it is a bridge adapter and from the storage here.
So actually, we want to remove this and we add we want to add a new hard disk.
So from here added add.
So let's choose it.
Yeah.
The VMD k fine.
Here, choose it and click choose.
So you can see that we only have this one and the empty.
So we have this one and as a primary device zero click.
Okay.
And just started as simple as that.
Now after it is booted, we can see that it is only c a lie command line or a terminal and it will be
asked for a log in.
Username and password, by the way.
You can find them on the same rapid7, which is the RMS f admin, which is this one.
So if I go here MSF admin and again MSF admin, you can see that now we are log then as MSF admin and
if you type I have config, you can see that.
Yeah, we are inside the same network.
Which is what we want.
Now, here, the environment is ready.
Now we have the virtual box inside it.
We have Kali Linux, the attacking machine or the the machine that has a map that we want to run, the
scanning techniques and all of that.
We will handle it right away in the next lectures.
And we have the test machine or the fact machines that we want to run and map against it to test scan,
check the vulnerability or discovery and all of that.
So you will not run that on a live machines or or live targets, which is bad practice or bad thing.
You may get in trouble.
Okay.
Thanks for watching.
I will see you in the next lecture.
We will start handling the map scanning.