install Kali Linux 2024.1 & Metasploitable2 on VirtualBox 7 Step By Step : Cyber Security Lab 2024

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
in this video we are gonna install and set up the latest version of Kali Linux 2023 and metasploitable to step by step we are going to set up a complete ethical hacking lab step by step now you might be wondering what is metasploitable to why we are installing it along with Kali Linux to practice ethical hacking we need a hacking lab right where you can practice your ethical hacking skills Kali Linux is an attacking or hacking operating system right but you can't simply you know start testing Kali Linux tools on random systems or websites this is illegal so we need an environment where you can practice ethical hacking in a legal environment so metasploitable to exactly provides that meta splitable 2 is also an operating system it is built to test or practice ethical hacking it is left vulnerable intentionally so you can practice your hacking skills and your local environment so I'm gonna start with Kali Linux installation I'm gonna install Kali Linux on the latest version of virtual box which is 7.1 so guys if you are using old version of virtualbox then update it to the latest version then you will be able to follow along with me because installation steps are different on version 6 and below the latest virtualbox offers stability and a lot of new features as well it makes installation very easy and smooth now before installing virtualbox 7 we need to install visual C plus plus because virtualbox 7 needs visual C plus plus to work so open your web browser and type Microsoft Visual C plus plus and then visit this link this is the official link for downloading visual C plus plus scroll down and here we have download links for different architectures I have 64 64-bit operating system so I'm gonna click on this link to download visual C plus plus if you have a 32-bit system then click on here x86 once downloading is complete then install the file double click on the downloaded file then quickly install it the installation is complete now click on close now we need to download virtualbox so type virtual box and visit this website virtualbox.org and click on this download button and here you can download virtualbox for your different operating systems Windows Mac and Linux I am on windows so I'm gonna click on Windows host hosts so click on the appropriate link then your downloading will start immediately now let's install the virtual box right click on it run as administrator installation steps are very simple click on next next click on yes now click on install now installation is complete now click on finish I'm gonna go with no now next thing that we are gonna need is ISO image of Cali Linux so so go to the cali.org now click on download now click on installer images and scroll down and here we have ISO images for 32-bit and 64 bit you have to download ISO image according to your operating systems architecture and if you are not sure what your operating systems architecture is then open command prompt and type system info hit enter and scroll to the top and now locate the system type as you can see system type x64 basically denotes the 64-bit operating system and if you have a 32-bit system then you will see x86 so x86 means 32-bit system so once you identify the operating system architecture then download the appropriate image so I have a 64-bit operating system click on this download button You are downloading will start right away all right guys once downloading of iso image is complete then open your virtual box now go to the machine click on new and give a name to your virtual machine or Kelly Linux first I'm gonna give just Kali Linux and you can give whatever you like and this is the default location where Kali Linux will be installed in C drive but I don't have enough space in C drive so I'm gonna select another driver so click on this down arrow now click on other I basically keep all the virtual machines in a separate or dedicated folder so select the folder now click on select folder now we have to select the iso image of Kali Linux again click on this down arrow click on other now go to the location or folder where you have Kali Linux download data double click on the iso image of Kali Linux now click on next here we have to allocate the random access memory or Ram now your question might be how much RAM should I exactly allocate well if you have only 4GB RAM installed on your system then do not give more than 1800 MB 1800 is the maximum if you only have 4GB and if you have 8GB 16 or anything above that then you can give 4 GB or 5gb 4GB I think is enough for Cali linuxa so drag and drop this slider to to the the number that you want to allocate I'm gonna give a 3 GB so I'm gonna drop it here at 3 3000 MB as you can see guys we have two lines thin lines green and pink green line indicates the maximum RAM that you can allocate and pink means if you drop this slider on this pink line then it will be an invalid configuration your virtual machine will not start so make sure to keep your slider behind this green line now allocate the processors I'm gonna give two processors and Sam goes for processors as well do not drop this slider on this pink line okay so allocate two processors now click on next and select create a virtual hard disk now and here we have to allocate the hard disk space you need to allocate at least 20 GB hard disk space and anything above 20 GB is recommended so I'm gonna give 25 GB now click on next now click on finish as you can see the virtual machine has been created now click on the virtual machine that you just created now click on settings and click on system now here you can basically reconfigure your configurations right once you install Kali Linux you can come here and you know reallocate your resources again now click on display now allocate the video memory I'm gonna give one to 28 this is the maximum that I can give now click on ok now make sure that you have the virtual machine selected now click on start use down arrow key and select graphical installed press enter now select your language click on continue now select your country again click on continue and select your keyboard layout and click on continue again now give a name to your Kali Linux I'm gonna give Sunny now click on continue and leave this blank click on continue again now enter full username for the new user now click on continue now this field is important here we have to create the username so whatever username you enter here will be used to log in so make sure to remember whatever you enter here now click on continue now choose a password and re-enter the password click on continue again click on continue and here select guided use entire disk click on continue again click on continue now here by default it has selected all files in one partition so click on this and click on continue and click on this finish partitioning and write changes to disk and click on continue write changes to disks select yes and click on continue now from this window you don't have to select anything all the required or mandatory options have been selected you can optionally select these two desktop environments gnome and KDE plasma but for virtual machines it is not recommended to install you know additional desktop environments it will unnecessarily you know put additional load on your resources so let everything be default here and click on continue now Kali Linux is going to take some time to install and set up everything so wait patient day now here select yes install the grub bootload then click on continue now from here select the second option then click on continue now we are just a few minutes away from the complete installation now as you can see installation is complete now click on continue and Kali Linux is gonna automatically boot now here press enter this is the login panel here enter the username that you created during the installation enter username and password click on login and we have logged in successfully now let me maximize it now as you can see it is working in full screen mode automatically we don't need to install any external packages to get it working in full screen with virtualbox 7 so this is the Kali Linux 2023 and it is pretty much same like you know previous version there are no major changes right everything is same except Kelly has you know added a few more new tools have been added to the version 2023 now that we have Kali Linux installed it is time to install metasploitable do right metasploitable 2 will be used for testing the hacking tools that we have here in the Le Linux metasploitable 2 is equally important for you know setting up a ethical hacking or cyber security lab we need to download metasploitable to first so open your web browser and type metasploy Temple to download and visit this link Source Forge make sure that you you know download metisplay table from a valid link this is the valid link and once you are here scroll down and as you can see here we have the file metasploitable Linux dot zip click on the link and your downloading should start right away as you can see my downloading has started I'm Gonna Cancel it because I I already have it downloaded so once the downloading is complete then we need to unzip or extract the downloaded file right click on the file click on extract here and let me open the virtual box the file has been extracted as you can see here now back to the virtual box go to the machine click on new now give a name to your metasploitable machine meta splitable 2 and this is the default location where meta splitable 2 will be installed I'm gonna change this location to D drive so click on down arrow click on others sorry others VMS click on select now from type menu select Linux from version menu select Ubuntu 32 bit now click on next now assign the ram 1.5 gigabytes Ram is more than enough for meta splitable right so 1.5 now assign the processors to processors or CPUs assigned two CPUs click on next now select use an existing virtual disk disk file click on the button on your right side we have this icon click on this icon choose a virtual file hard disk file now click on ADD button now we need to select the file that we extracted here it is metasploitable to double click on it now double click on the this file metabolitable now click on choose now click on next finish the Virtual Machine metasploitable 2 has been created now click on the metasploitable tool now click on Cell settings and go to the network from this drop down select bridged adapter click on OK now we are almost there again click on the metasploitable tool click on start it is going to take just a few minutes maybe two or three minutes to complete the installation all right so setup is complete now as you can see metasploitable log in now to log in the default username is msf admin as you can see and password is msf admin as well so type msf admin username hit enter type msf admin password press enter now remember the password field will not be visible right so make sure that you type everything carefully now hit enter as you can see we have logged in successfully it is completely a command line operating system it does not have any GUI or graphical interface right now first thing that I'm gonna do is check whether I can you know connect to this machine from my Kali Linux or not so to do that first we have to figure out the IP address of the metasploitable machine so type if config and hit enter and this is the IP address inet address 192.2168.98213 now I'm gonna go back to the Kali Linux and open the virtual sorry terminal and type ping command and type the IP address of virtualbox 190.2.168.98.213 so you need to type the exact IP address of metasploitable 2 as it is shown here inet address right now let me send it four packets as you can see guys my Kali Linux machine sent four packets to to metasploitable 2 and received all the four packets it means the machine is up and running and I am able to communicate to it now whenever I have to connect to this machine or attack this machine all I have to do is use this IP address of metasploitable 2. now back to the Kali Linux again so open Firefox Firefox now type the IP address of metasploitable 2 into the web browser of Kali Linux so IP address is 192.168.98.213 now as you can see guys I am able to access the Met exploitable tool all right so for practicing web hacking we have dbwa so click on WWE and the the default username is admin and the password is password p a double s w o r d in lowercase press enter now as you can see we have logged in successfully to the dbwa and for weapon testing it has another inbuilt vulnerable web hacking application called multilide so click on it now you can test your web hacking skills here as well and apart from inbuilt vulnerable web applications metasploitable two has many other vulnerabilities
Info
Channel: Sunny Dimalu The Cyborg
Views: 16,235
Rating: undefined out of 5
Keywords: kali linux 2023.2, install, virtualbox, kali linux install, beginners, windows10, error free, kali full screen, kali linux 2023.2 download, kali linux tutorial, kali virtualbox, kali windows, kali windows10, Metasploitable2
Id: yf3jetn4tN8
Channel Id: undefined
Length: 18min 12sec (1092 seconds)
Published: Tue Mar 14 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.