In this video. We are going to cover how to set
up a hypervisor and virtual Networks.
Before proceeding there's a few system and
Technical requirements.
First and foremost, we need a hypervisor the hypervisor
will simply allow us to create virtual
machines on our existing whole system.
So therefore we don't need to spend any
additional money to purchase physical Hardware
components. We can use our existing computer
what it's a desktop computer or
even a laptop computer and hosts on run
multiple virtual machines. Therefore we
can build our own painstation Testing Lab environment
or no computers.
Additionally, we'll be using Oracle VM
virtualbox as our preferred hypervisor, simply
because it's easy to use on it
3.
We will also use a virtualbox extension pack
to allow us to use additional features within
a virtualbox hypervisor.
In terms of technical requirements. I highly recommend that
your computer has approximately 8 gigs
of RAM or greeter.
The reason for all of this Ram is because we'll be
running multiple virtual machines at the
same time sometime. We may be running two three virtual
machines and each virtual machine will need
some sort of memory location.
Having equal CPU is excellent. If
you have a dual core system, it's still
fine. It can definitely weak but we need to manage the
available resources that we have on our computers.
I highly recommend having at least 200 gigabytes free
on your hard drive or your solicide drive.
If you have less, it's totally okay,
but to be on the safe side 200 gigs
of free space is definitely ideal.
And of course, we need an interaction. We need
to connect our Carly Lux machine to the internet to actually
download additional software packages and even
update the operating system.
For the virtual machines will be setting up both the
windows version under Linux version of
metasploitable tree will also be implementing metasloidable
to which is the older
version but there are some things that we need from metasoitable
to so we'll also set it up within our
lab environment.
Lastly we'll be installing Kali Linux
as our preferred Lenox penetration
testing distribution.
To get an idea on our lab environment that
we are going to build on our computer. This topology will
give you a better idea.
Everything you see within a diagram will be
running on your personal computer. For example, Kali
Lenox will be installed as a
virtual machine on your computer and will
configure two virtual networks one
virtual Network. It will be cool the pen
test net and this will be on the
network of 17230 /
24.
However, we'll also create a hit Network which
will call hit net. And on this
headnet. We'll put one virtual machine, which is metisplatable 3,
but it lock solution.
So the objective is Kali lalux will
be directly connected to pen test.net will perform
various types of active reconnaissance
to the two men the type of operating systems
on these machines. The IP
addresses of these machines plus will
do a basic vulnerability assessment
to determine any sort of security weaknesses.
The cool thing is let's say we are able to compromise the
metasploitable 3 Windows base
machine, then most likely we'll be able to
Pivot our attack true on a Json Network
and even attempt to compromise or even
scan metasploitable tree, which is entirely on
a different IP subnet.
And of course, we'll Bridge our network adapter
on our computer to provide inter connectivity
to our Kali language machine.
So I hope you are excited. So let's go.
So now that we are on our host system, which is a Windows
V system, but you can also use Linux or
even Mac and even Windows
11, so it's totally up to you. However, we
firstly need to download uninstall or
hypervisor application.
So let's head over to our web browser.
And we're using Google so you can simply search for Oracle.
Virtualbox, like so hit enter
and we are going to use all we actually
click on this first link right
here.
Once it is that we click on this link. We'll
head over to the virtualbox official website.
One of the cool things we can do is we can simply click right here.
That will carry us to the download page. So let's
click it.
And now we can see all the binaries that are
available for Oracle virtualbox.
For example, these are the binary software packages.
since I'm running on a Windows based system, I can
simply click on this hyperlinker right
here to download the software package from
my computer like so
and you can see it's already been downloaded.
additionally I will need to get
the virtualbox extension package, which
is found right beneath here. So you
can simply click this link to start a download.
And there we go.
I have the extension pack.
So now that I have my hypervised application
and extension pack, let's her
head over to the downloads directory to start
installation.
So, for example, I can double
click.
like so on the virtualbox application
and now Windows is asking me to verify and provide
administrative privileges to
execute this obligation. I'm going to Simply
click on yes.
Then I'm going to click on next next again
click on yes, because I want the virtual
network interfaces to be installed.
That I will click on yes to install any sort of missing dependencies
on my operating system.
And finally, I'm going to click on install.
And this should and this process should take a few seconds.
So perhaps a minute to two to complete.
Once this is completed I can simply click on finish.
And here we can have the virtualbox manager interface.
Next I can simply close this on to
install extension back. I can right click
on extension back select open width.
And simply use the virtualbox manager
application to open this extension pack.
I'm going to click on OK.
And now I have a new Option that's asking
me. Do I want to install a virtualbox extension back simply
click on the install button like so
simply scroll down but ensure that you read a
license agreement and finally click on I agree.
And of course we need to click ESO one more time.
You can see the incision process happened very quickly.
Once installation process is completed. We have our
hypervisor ready to set up a virtual machines.
But before we proceed to do so, let us
create all virtual Networks.
The virtual networks will be used to interconnect our different virtual
machines together and ensure we have an isolated Network
within our whole separating system. So
therefore if we are launching any type of attacks or
doing a sort of intrusive scanning, it
will not harm any other systems that we do not own.
So I'm gonna close the virtualbox manager. I'm
going to close this window. Now, I'm gonna
open a command prompt on Windows simply by clicking
the Windows start icon.
I'm going to type CMD to search quickly for
the command prompt on Windows and I'm going
to select run as administrator go to select
yes to provide the necessary
privileges.
And here we go. We have the Windows
command prompt with administrative privileges.
Next we need to change our working directory to
the program files Oracle and virtualbox
sub Fuller.
So you can simply use this command CD with specifies to
change directory and we specify
the directory.
Once it enter we can see now that our working directory
is now within the C drive
program files Oracle and virtualbox subfolder.
Next we are going to set up a DHCP server
Dynamic host configuration protocol silver
using virtualbox. Also create
a pen test Network set a
range of IP addresses Network mask and even an evil
the silver.
You can simply use this command which says
vbox manage we use a
DHCP server odd command to actually create a DTV
server and add our Network which is
called pen testnet. We set our IEP
address ranges as you can see using the
server IP Command to specify
the dcbc IP, but most importantly the
lower IP Command together with the
upper IP Command. So therefore any virtual
machine that we assigned to the pen test net. They will
get an IV address within the 172 TT
Wonder 20 2.50 reach
Additionally, we have our Network mask and
we are using the enabled command to automatically activate
this DCP server
and create a network Force. I'm going to
enter and once everything goes well this network
should be automatically created.
Next let's create another network. But this
other network will be the hidden network. That
is based on our Network topology.
So what we can do we can press the up button on
our keyboard to get a history and let's
change a few things.
so let's go all the way back to network equal
and let's change this to
Hidden net like so
let's change the CP servers
IP address. So we'll change the
10.11.12.1.
Let's change the lower IP address.
so it will be
lower IP address sorry lower IP equal 10
Dot 11.12.20
Let's change the upper IP address range.
to 10 Dot 11.12.50
and we're keeping the same subnet mask and
let's use an evil command to ensure that
this DHCP service activated.
So I'm going to hit enter once everything goes well, we have
our second Network created.
Now that we have created all virtual Networks.
We have concluded the end of this video. So during
this video you have learned how to download uninstall the
hypervisor. You have also learned how to create virtual
networks using Oracle virtualbox.
In the next video, we will take a look at setting up
Kali Lennox as a virtual machine with an all
hypervisor.