Hey what's up guys this is Dan Duran I hope you're doing fantastic. At the end of this
video you're going to be able to do this. You're going to be able to run a Kali Operating System
side by side two Windows machines in a completely enclosed environment
for penetration testing and ethical hacking. The best part about this is that you're going to be
using software that you already have. Pretty cool right so now get your coffee and let's get going.
All right so the first thing we're going to do is to make sure that you have the right edition of
Windows 10 or 11 installed on your computer let's do that so right here on your documents just click
go to this pc right click properties
and then on the second tab you'll see windows specifications
and this is the addition that you're running if you're running the home edition make sure you
click on the link below to install virtualbox instead the second thing you need to do is go
into your search bar type in control panel like that once you see the screen here type in features
you'll see turn windows features on and off click on that link
once you see the features box go all the way down to hyper-v and make sure this is selected
then click ok
once you apply the changes all you have to do is restart your computer now this process might
take probably three to five minutes so don't worry just wait until your computer restarts
and i'll see you in a bit all right i'm back so now what you have to do is go into your search
and type in hyper v manager click on hyper b manager
like so you see this window here click on action click create and then from here
i want you to install the windows 11 development environment
like so and click on create virtual machine there you go
in the meantime what you can do is go into your browser
and let's download the kali machine type in cali downloads
and go to kali.org get cali from here click on bare metal
go all the way down to 64 bit and click on the installer like this and now we just wait
all right perfect so now it's just verifying the image and now it's creating the virtual
machine for you so once you're done with this then you'll see this little screen that says
virtual machine created successfully as you can see i already have a few machines in here
so what i'm going to do now is install the kali linux machine go to actions once again
click on quick create and then in here i want you to click on local installation source
and then from here unclick this virtual machine will run on windows
click on change installation source and from here i want you to
go to downloads and click on the kali linux iso and then create virtual machine
so now the virtual machine was created successfully once this is done click on settings
and let's walk through the settings
just leave everything the way it is on firmware security in memory make sure this is 2 gigabytes
of ram and then in here if you want you can type in 4096 on processor i'm going to put four
processors as opposed to eight and then in hard drive i leave everything the way it is
and then in network adapter leave it as
default switch i'll show you how to create a new network after we're done apply this and click ok
and now click on connect
click on start
and click on graphical install
english united states american english
here the host name is going to be kelly the domain name is going to be kelly
the user is going to be kali as well
and the password is going to be kali
eastern
click on guided continue all files in one partition
and finished click on yes
okay from here just click on continue
all right once it's finished click on continue
and the kali system is going to start booting up
there's a couple more things that we need to do in here all right get into the kali system
like that
now open a terminal
type in sudo su
enter your password
and from here what we're going to do is make your screen the same size as your monitor so 1920
by 1080. type in nano etc default grub in here go to grab cmd line linux default and after quiet
type in splash video hyper-v underscore fb colon 1920 by 1080
like this then type control x to exit and then y for saving from here type in update dash grub
to update the grub and then type reboot
and now your kali system is going to be the size of your entire monitor we have this done now let's
set up the windows machine so we already installed the windows machining here so click on settings
like this let's rename it to whatever you want to rename it so windows 11 1 for me and firmware
leave this the way it is same with security same with memory and then let's change this to 4096
processor i'm going to change this to four processors
leave everything the way it is
and click apply now okay and then double click on your windows machine like this click on start
and here you can make the size of the resolution for your windows machine
as big or small as you want in my case i'm going to bring it down to the smallest click on connect
and there you go you're actually on your windows 11 environment
now let's look at the ip addresses and if we have connection to the internet go into search type cmd
type trace rtgoogle.com
as you can see we do have access to the internet
cls to clear the screen now type in ipconfig
now this is your ip address now let's go back to the kali machine
and let's repeat the same process click on terminal in here do a trace route
google.com
as you can see we already have access to the internet ctrl l to clear the screen type in ipa
as you can see your ip address is different in a different subnet than your windows machine
so this one here is 156.49
and this one over here is 148. so now we're gonna create a new network for this two computers
so let's shut off these machines both of them make sure that they're completely off
in the meantime i'm just going to rename this machine
kylie new there you go all right so let's create a new virtual switch right click on your computer
click on virtual switch manager
from here click on external and create a virtual switch just name it
i'm going to name it network 3 and here in vlan id enable virtual lan identification
from here you can select your controller in my case i'm going to select controller 2
and click on apply
click ok now you have to apply the settings to your new virtual machines on my kali new i'm going
to go into settings and right here in network adapter i'm going to choose network 3 like that
apply and same with my windows machine go to settings
network adapter network 3 and apply
now let's start up this machines double click on kali new
and let's double click on the windows machine
okay i'm going to log into my kali
maximize let's go to the terminal
ipa
and you see that my ip address has changed do the same with your windows vm
search cmd
ipconfig
now you'll see that the machine is on the same subnet
now all you have to do is just repeat the process for creating another vm
thank you so much for joining me i hope you have fun if you have any questions or any comments
make sure you post them down below and i hope to see you next time stay safe stay secure oh