Kali Linux 2022.4 and VirtualBox Installation | Complete Walk through

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey everyone and welcome back to another Nielsen networking video as you may or may not have heard a brand new version of Kali Linux was just released on December 6th this release includes new tools a few bug fixes and some performance enhancements that said I am going to show you in this video how to download and install this new release of Kai Linux as I guess virtual machine inside of virtualbox now to make sure we get the most out of the new release of Cali I will first be showing you how to quickly download and install the latest version of virtualbox so that we will have both the latest version of virtualbox and the latest version of Cali installed and once we get both virtualbox and Cali installed I will then show you how to make some configuration changes and install a few additional pieces of software to make virtualbox and Cali work together to create not only the best performance but the best possible experience for you so with that said let's get to it alright first thing we're going to do is open up a web browser doesn't matter which one and we're going to head over to virtualbox.org we're going to hit the download Virtual box button we are then going to select Windows hosts and we're going to download it now if you're on a Mac you could obviously click Mac here or if you are using Linux you could go in here and select your distribution and we're going to wait for this to download all right download is complete we're going to go ahead and show it in folder we're going to right click on and do run as admin okay we are going to at the first box we are going to hit next we are going to leave the defaults here with the only exception being if you wanted to change the install location now would be the time to do it I'm not going to but if you did now would be the time to do it everything else default hit next and this is just warning you that there may be a blip in your network connection while installing this this is due to virtualbox installing its own virtual switches virtual network cards and things like that so go ahead and hit yes you won't really experience anything at least I never have this is saying um do you want to install python core and the win32 API dependencies if you have these installed this would be my only warning if if you did have these already installed be be careful downloading the version virtualbox once because it may overwrite your existing installation versions and if you have other software that's dependent on those release versions of python or 132 API you might end up breaking those so just be worn there we're going to go ahead and hit install and it goes pretty quick and we are done and that is why I wanted to get this done before we went and installed Kali Linux because it's so quick it's kind of a no-brainer just to get a fresh clean install so now we're going to move on to getting uh Kali Linux installed let's go ahead and close out of here close out of here and what we're going to now do is head over to cali.org once the page loads hit download and you're given two recommended options out of the other eight we want to go with the one on the left that is labeled installer images this is an ISO image that will give us direct access to the hardware and no overhead and overall much better performance versus this pre-built machine that is more tailored for you want a quick installation we're actually going to do this from scratch as if we were installing this on a physical piece of Hardware so we get the best possible performance out of virtualbox and Kali Linux so we're going to click on it and you're going to go down here and you are going to have a few options here you want to make sure you select the 64-bit option that is the weekly release and you're going to go ahead and click the download Arrow right here and then you're going to have to wait and I will come back to you when that is done okay looks like the download finished so let's get this installed shall we we're going to open virtualbox we're going to go to new and you're going to name this whatever makes sense to you for your Kali Linux box I'm going to go with Kali linux2022.4 so I can tell what it is here folder option this is going to be where the actual virtual machine is going to live meaning whatever size hard drive you have and however many snapshots you take and whatever config files there are it's going to need that much space wherever you put this I'm going to leave it the default because I only have one drive here but you may want to relocate this to a different volume if you are low on space or if you just wanted to Silo all your virtual machines in one you know hard drive or at least a different folder off somewhere else the iso image this is going to be the installer so we're going to go ahead and browse and we're going to go do downloads because when you go wherever you downloaded yours do mine is going to be download which is the default for Chrome I'm going to go ahead and hit open and there's nothing else to do on this screen so we're going to hit next this screen memory I'm going to leave it at two gigs for me because I'm in a lab if you have the available resources I would bump this up to four if you had a lot of extra Ram to spare you could go ahead and bump this up to eight and remember since you're in virtualbox you're only going to be using this memory when you have Kali Linux open within your Windows machine so if you're just sitting and you're not even in virtualbox or Kali Linux it's not going to take up any of your memory so just an FYI on that same with your processors I'm going to bump this up to two and again this won't take any resources unless you're actively using this virtual machine now this gets a little different this will actively take up the hard drive space so there's you're not going to get whatever you put here back so that's why we do not check pre-allocate and I'll tell you about that in a minute I'm going to leave this at 25 gigs this is a good size for Kylie Linux if you plan to do a lot of downloading um you may want to bump it up but you can always expand this later so I figure um keep it low because you can always expand later and that is exactly why we don't click pre-allocate full size because when you pre-allocate it actually allocates that whole 25 gigs or whatever you um allocated there immediately whereas if you don't click it it only expands it as needed so if we only take up 10 gigs it's only going to take up 10 gigs but it has a maximum expandability of 25 as of now you can go in and change that later like I said we're going to leave all the other options unchecked we're going to hit next we're going to look there just make sure everything's good and then we're going to hit finish and there is our virtual machine well I should say there's our virtual machine virtual Hardware we haven't installed the operating system which is now what we're going to do all right to start the install real quick we're going to check and verify that our ISO is loaded here this would be the equivalent of if you were doing this on a physical machine you would have put the DVD installer in the DVD player that's what we just hid we are now going to start it up and we will see the splash screen which is the virtualbox equivalence of a bio screen if you will there we go and now we're going to get the install menu for Cali and first things first first time you use you do this and you click Into the Blue menu here you may get a prompt that says we've captured your mouse blah blah blah basically what it's telling you is to get out of this window because right now my mouse is captured there you see you can see it move around a little bit but up here I can't click on anything as soon as I hit the right control key it frees the mouse and now the menu is open to if you wanted to get out of here you know you could minimize down so it is annoying because if you didn't know any better there's really no way you can get out of here uh so again that's uh write control so we're going to continue now we're going to hit graphical install so hit enter and now we're going to get a few Mount errors that's normal Linux does this it's looking for um like the SDA is uh the first Hardware it's just it's finding looking for all the mount points that aren't there so that's why it throws up those errors nothing to worry about there and now we are at the uh language selection select whatever language you want I'm English so I'm going to go with English and then your location wherever you're located it's like that and then this is your keyboard or key map layout I am again going to use American English hit continue and we're going to get a couple screens here and we're waiting for it to get where it's going to ask us for our host name and shortly okay go ahead and name this whatever you want to do it I'm just going to go ahead and do all right actually you know what I'm just gonna go and just go with Cali shorter the better right Dot N N that will be my domain if you wanted uh the domain you would just put it after your host name go ahead and hit continue and now you're going to select a username that you will log in with you obviously have the root username built in but this is going to be another user account that's not root for security purposes you can always ask you to root or sudo I'm sorry um no you could ask you too but you could use sudo instead with this user because it will be added to What's called the sudo grouping Kali Linux so you will be able to get root rights with it but this is just for security measures you want to go ahead and have a non-root user as your default I'm going to go ahead and do you do whatever you do uh and then I'm going to hit continue and we're going to have to put a password in here go ahead and select your favorite password and we're going to hit continue and now it just wants to narrow down you picked where you were not wants to know like a little more where you are so I'm going to go ahead and keep it on Eastern and now we're going to get to the partitioning of the hard drive it's going to want to set up two partition ones for one for Swap and one for uh our main drive I'm going to go ahead and do guided and I'm going to say use the whole disk or use the entire disk the only reason you wouldn't want to use the entire disk is if you were using an actual disk that you selected that you were sharing another virtual machine with we didn't do that because we created a brand new one from scratch so we should be good as long as we all click the right buttons along the way so far so go ahead and hit continue and you're going to want to leave that on this the reason it's a little more than 25 is because again that swap partition is going to be in there that's going to be about a gig probably we'll find out in a second I would go ahead and leave this selection all files in one partition no need to change them at this point and there you go and that's why you're going to see it because we're getting the primary is going to be 25 gigs and that's going to be right here on the root directory and then the swap file the swap file is the equivalent of a page file in Windows it's virtual um virtual memory if you will so it will take up a gig of space but you know that's minimal you could bump this up a little bit if you if you selected eight gigs of memory as your install you would want to do four if you did two or uh four you'd want to do two it's half of whatever you picked um as the actual uh physical resource for virtualbox to use earlier on when we picked uh two gigs hope that makes sense go ahead and hit continue and then what you're going to want to do is you're going to want to select swap use that swap area sorry go ahead and hit continue and then how do you want to use this partition you need to go down to swap area hit continue and then you need to do with done setting up this partition and then you can see a tappy now primary is going to be on the ext4 um file system that's what you want and you want swap to be on swap these are the mount points and what you can do is then click finish partitioning and write changes to disk and the final warning is just letting you know that hey uh we're going to do this anything on this will be blown out you hit continue and then at this point it's going to do the install of the base system and once that's done I'll come back and grab you all right the base install is done and now we are at the menu where we are going to select our desktop and our tool selection I'm going to go ahead and leave it as it is if you wanted to install gnome or KDE now would be the time to do it and then I would leave the tools as they are so we're just going to go ahead and hit continue and then it's going to do its final thing where it's going to retrieve 2412 packages and then install them so once again I will come back to you when this is done okay it finished with the install it is now at the grub bootloader and this is kind of something we don't have to worry about because we're installing on our own hard drive that we just created what a grub bootloader is is it's asking you if you were dual booting like Windows and this on the same hard drive usually a physical hard drive um do you really want to install this because what happens is once grub installs it's going to overwrite the master boot record and it's only going to show Kali Linux so that you will have no way to unless you go back in and you know how to edit the partition table you won't be able to get back into that Windows box that is what this warning is for you don't have to worry about it you can go ahead and hit continue and what you're going to want to do here is just go ahead and select this option here we do not want to do anything manually and hit continue and it's going to finalize the install and we're about ready to reboot and boot up Cali for the first time all right it's finished and we are good to go so what it's telling you here is to remove the um bootable media as if you still had a CD in the CD player I'm pretty sure virtualbox is smart enough to remove it after it's installed but to check if you want to go if you went ahead and booted it and it kept loading the install screen like it was trying to reinstall like you actually had a CD and a physical machine and it was booting off of it you could go and check you'd go to settings storage and you can see it's empty here so we're good virtualbox nowadays should be smart enough to take that out after the install if not that's where you would go so we're going to go ahead and hit continue and we're going to go ahead and reboot and boot into Cali for the first time here you're going to go ahead and just let it do boot the default and you can see the Cali splash screen and pretty soon we should be at the login prompt all right logins up we're going to go ahead and log in using that user you created earlier in the process and the password you created go ahead and log in and first thing I'm going to do is I'm going to open up a terminal and I'm going to do a few ping tests just to see and I'm going to go ahead and ping that to our buddies at uh Google all right so we're getting name resolution because it it uh translated Google into an IP so let's just go ahead and do Google the other way all right so we're looking sharp there um Let's do an NS lookup to tesla.com for Googles too many of us all right so we're getting that so we're looking really good here on the network side of things we're getting out of the virtual box infrastructure and then we are actually getting out through our default gateway on our actual Windows machine and getting out on the internet so we're looking sharp there what I want to do next is is change the display because this is way too tiny for me and to do that we're going to go to the Cali menu upper left corner and we're going to type in display go ahead and hit OK and just pick whatever works for you that fits within your screens I'm normally on a 1920 by 1080. and that's just if I do if I do the same size as my normal native resolution it just it gives me a scroll bar and it's kind of obnoxious so what I'm going to do is I'm going to go to 1440 by 900 and see how that looks okay I'm happy with that I don't like a scroll bar and it gives me enough real estate to work with so that's how you're going to change your display settings and let me think I think we're good to do the next part that I wanted to do and so to do that we're actually going to go ahead and shut down this Kylie Linux machine real quick and make the change in virtualbox that will allow future virtual machines we create to see each other so we're going to create a Nat network and to do that we're going to go into virtualbox we are going to click on tools we're going to click this little menu here and we're going to go to network we're going to go to Nat Network and we are going to click create and then you can rename this whatever you want I'm just going to name it nnat Network I'm going to leave the subnet and range alone I'm good with that and I'm going to leave DHCP enabled I'm not going to enable IPv6 and I'm going to hit apply and really the only thing I would suggest you change is the network name and then the last thing we're going to need to do is we're going to need to go to the Kelly Linux box we're going to need to go to settings we're going to need to go to network and we're going to need to change this well it looks like it already did it for so that's great so it already changed if yours was set on the default which it should you're going to want to go ahead and change it to Nat Network and then the network name you selected hit OK and you'll need to do that for all future machines you create in order for them to see each other so that's the networking thing you need to do in here and there's one other thing I want to do in here which I'll show you now and that is going to be a quality of life Improvement and to do that we're going to right click on our Kali Linux box go to setting and we're going to go to General and we're going to go to Advanced and we are going to enable shared clipboard which will allow you to for the most part drag and drop files between Kali Linux and your Windows host operating system so that's why I said it's quality of life it allows you to cut and paste between Kali Linux and this Windows machine and the other thing we want to do is back in settings and it's going to be to set up a shared folder that will allow you to copy files but instead of having to cut and paste them you can just have them live there so instead of having to move let's say you have like a two gig file you needed to move you didn't want to cut and paste it you could just put it there and then both machines can live with or can work with it at the same time so I'm going to go ahead and click new and I already created a folder that I want to share and I put it on my desktop so you what you would do is you would need to do the same and browse to it at this point this is going to be the windows folder so remember that so I'm going to select shared and I'm just going to leave the name as shared I'm okay with that again that's what it's going to look like on my desktop which you can see right here I'll show you in a minute okay apparently you can't see it right there uh and then I'm going to use the mount point of Slash MNT and then shared and I'm going to hit Auto Mount and hit OK hit OK again and I just wanted to show you that that's what I was trying to show you earlier here's the shared folder obviously we can see it in Windows but now we'll go ahead and boot up Cali and make sure it's there all right let's go ahead and make this full screen here and we're going to go ahead and log in with and Cali user you would log in with whoever you are obviously I'm going to go back in here and there we go and one thing to note I have noticed even when we change the display size if for whatever reason it decides to not cooperate with you you can actually just go ahead and minimize it down and Cali will readjust so if you were to like make it right here it will readjust so but but you just what you should be able to click it on full screen and have it look like this so you might need to uh adjust it even when we went over to the displays I forgot that you could actually do this so just an FYI um and let's go ahead and look here and let's see if our shared folders are there so if we do a we have a shared folder there so let's go to it and we're in it now and so let's just if I could type let's touch the test and now if we go out to Windows see if we have a folder or a file in there we do let's go ahead and put a file here and we'll go backward we'll just put a folder here and now we go back to Cali and let's see what we got there you go two-way transferring pretty cool and let's just get rid of all the junk in here and there you go so that is the two quality alive settings I would suggest you enable for um virtualbox and Kali Linux now let's move on to the few pieces of uh software I want to show you how to install and to do one or two minor configuration changes and we'll be good and the first thing I want you to change is going to be your root login uh the reason that is because obviously you go out and on the internet and you Google Kelly Linux root password default it's going to be all over the Internet so we're going to change it and to do that we're going to do a sudo password root and you're going to go ahead and hit enter and you're going to go ahead and change well actually first it wants the password of the user that we did during the setup so go ahead and hit enter and I bet I typed it wrong so hopefully you have better luck than me and now it's asking you for the new password for root remember so whatever you make this make sure you write it down or keep it somewhere safe because without this you won't be able to ask you to root or log in with root so that's the first important thing you need to do second thing is check for any available updates and you're going to do a sudo apt update hit enter and it's going to let us know that it has none it has 107 available packages but those are not for Cali so we can ignore that and the next thing we want to do is install a terminal multiplexer known as tillex or Telex I'm not exactly how to pronounce or 100 sure how to pronounce it to each their own I call it Telex so what you're going to do is you're just going to type in Telex and it's going to say hey you don't have it but you want to install it and you're going to hit yes and then it's going to go ahead and install and what Telex is is a terminal multiplexer where if you type it in I can get rid of this guy check it out we can go ahead and maximize it let's say we wanted to run a top over here but you're like you know what I need to do something else instead of having to consistently open another terminal you could go ahead and just click the either plus button here and then it would actually show up under here or better yet you could just say Okay I want one underneath it and look there's you could have a top down here and up here you could be you know you wanted to you wanted to notice out going on what processes are running so you get the point and you can also have them on the side you can have them as many as you want so it is nice I can't give you a great example right now because I'm not really doing anything um but you get the point it can be very helpful so you can exit out of all of them or you could just hit the X over here and that's good there so let's go ahead and cancel out of this last thing I want to show you is it actually lines up perfectly with what I was showing here is a better version of top this is top top is a kind of like a task manager for Windows but I want to show you something known as h-top which is a newer more graphical uh friendly I shouldn't say graphical friendly or more eye pleasing if you will so what we're going to do is we're going to type h stop and it's going to say you do not have it do you want to install it that's the theme of the day today hit yes sudo password hit that it's going to go ahead and install it and then we're going to clear it out and we're going to do h-top again and look at the difference here and it not only does it look better it also has a lot more functionality like you can search by hitting F3 you can filter you could sort by if you hit F6 you know and it gives you different options let's say you wanted to sort by user and now they're sorted by you know you can see who's running what then you hit F6 again and you want to go buy a let's just say you wanted to go by percent CPU who's using the most CPU so you get the point there's a lot of other options you could do F9 and if you knew the process you could kill it I'm going to hit Escape because I don't have anything and then you just do F10 to quit so it's a lot more um please into the eye and it does have a lot more user-friendly functionality so I think we've met all of our objectives we've installed virtualbox we've installed Kali Linux we made the custom configuration changes we made some quality of life improvements and overall I think this has been a successful video so if you have enjoyed it please like And subscribe we have a lot of content coming out check out our other videos on the channel and uh have a great experience with your new uh Kali Linux box have a great day thank you
Info
Channel: Nielsen Networking
Views: 4,015
Rating: undefined out of 5
Keywords: kali linux install, virtualbox windows 10, how to, kali linux, kali linux for beginners, virtualbox installation, virtualbox tutorial, virtualbox kali linux
Id: 6WKuY43Zel8
Channel Id: undefined
Length: 23min 36sec (1416 seconds)
Published: Wed Dec 07 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.