Would you like to learn how to install VirtualBox for Kali Linux because this will be the first step to start your ethical hacking setup?
VirtualBox Installation Tutorial for Ethical Hacking Setup in 2019!
If you will enjoy reading and contributing to the discussion for this post, will you please join us on the YouTube video above and leave a comment there because I read and respond to most comments on YouTube?
If you find anything helpful in this video or funny, will you please leave a like because you will feel great helping other people find it?
When you would like more free tutorials and you want to see the latest of everything I am making to help you online, I trust you will go to jerrybanfield.com and you will follow me on Facebook, YouTube, and Twitter where you can see all of the free tutorials and previews and courses there.
You may be interested to read our first tutorial: “Master Ethical Hacking in 2019!“
VirtualBox Installation Tutorial
In this post I’m going to show you how to download the VirtualBox program and the Kali Linux distribution that we need in order to start hacking.
First, just open up your Google Chrome or Firefox and type “Virtualbox” in the search bar.
It should lead you to this page where you just click on the first link, which is virtualbox.org and basically as you can see right here, we have this green button that says: “Download VirtualBox 6.0.”
At this time, the version is currently 6.0, but it might be a higher version when you start this tutorial depending on whether they upgrade the version or not.
So, just click on the green button to download VirtualBox 6.0 and it will lead us to this site where we can choose our platform.
I am running this on Windows 10, so I will click on the “Windows host.” If you are running this on Linux, which I honestly doubt, you can click here on the Linux distributions, and we also have “OS X hosts” and “Solaris hosts.”
It started downloading the setup program for the VirtualBox and it is 210 megabytes large, which will take me some time because my Internet is not that fast. It is around one megabyte per second, so this will take around three minutes.
Now, while this is downloading, we will go to the Kali Linux page, which you can find by simply typing “Kali Linux” in your search engine. This will lead you to this first link right here, which says, “Kali Linux, penetration testing and ethical hacking on Linux distribution.”
Here we can see the developer Offensive Security. The initial release was on 13 March 2013, which was five years ago.
We just click on the first link and it will lead us to the official site of Kali Linux.
Now, what we want to do is download the distribution. So we just click on the “Downloads” menu and select “Download Kali Linux.”
Basically it will give us a bunch of these options, a bunch of these different versions of Kali Linux.
Now, the two versions that you will be interested in are these two: Kali Linux 64 Bit and Kali Linux 32 Bit.
My machine is a 64-bit machine, so I will be downloading the 64-bit Kali Linux, but if you are running this on a 32-bit machine, you can download the Kali Linux 32-bit version.
They are basically both around the same size. The 32 Bit is a little bit larger. I don’t know why, but both are around three gigabytes large. The current version of the Kali Linux is 2018.4, and at the time you are downloading, this might be a higher version.
We will just click here on HTTP, you can download over Torrent if you want to, but I will download through my browser and I will just click the link and it should start the download for me.
As I said earlier, my Internet is really slow, so this will take around 6 hours for me.
We won’t be waiting that much, so I will just cut the tutorial until this download finishes and we can continue from there.
As you can see right here, we got the two files that we need, the VirtualBox setup program and the Kali Linux ISO file, which is our operating system that we will install.
First of all, we will install the VirtualBox.
So, just double click on the file that you downloaded and it should start up a welcome box first that says, “Welcome to the Oracle VM VirtualBox.”
Basically, this is just a welcome message for you and we will just click “Next” right here, and it will lead us to this setup window.
Now, if you want to, you can change your things, but I really don’t like to mess with this stuff. It’s basically already configured as you will need it, so I won’t change here anything.
I will just go to “Next.”
Here on this window, you can just check if you want to make a desktop shortcut or if you want to create Start menu entries.
Basically, I just leave all of these checked. If you do not want a desktop shortcut, just uncheck it, simple as that, and we can proceed to the next step.
Now, this is a warning that pops up every time you install the VirtualBox. It basically says that while installing you might be disconnected from the Internet, which hasn’t happened to me and I installed this like a lot of times.
It might happen to you, so if you are running this or if you are running anything important in the background over the Internet, you might want to wait until that download or anything you are doing finishes before you press “Yes” right here.
Since I’m not running anything at the moment, I will just click “Yes” and we can click “Install” to begin the installation.
Now, this might take a few minutes, around 5 minutes I believe. That’s how long it took me last time.
So I will just wait until this finishes and I will get back to you as soon as this is done.
Here we are.
It finished the installation process of the VirtualBox.
Now, in the point of installation it asked me for the administrator password, so it probably asked you as well. Just type in your administrator password and it will continue the installation.
We want to check here to start Oracle VirtualBox after installation and we just click here “Finish.”
So right now, it should open up a window for your VirtualBox.
Note that you won’t be having any of these machines right here.
These are just my machines that I previously made even before the installation in the previous version.
You won’t be having any of these Kali, Kali Linux, win7, and any of these machines right here.
This will all be empty for you.
What we want to do basically is to create a new machine together.
So, just find wherever on your version of your VirtualBox is this blue button which says “New.”
Click on it and it will open this little window right here where it will ask you for the name and the operating system you want to install.
So, basically, I will just name this “ethical hacking machine.”
You can change the machine folder if you want to. It is saved right here for me, and we want to install Linux. For me, it automatically puts Oracle (64-bit), which I want to change since Kali Linux is a Debian based distribution.
I will just find Debian (64-bit) since I installed the Kali Linux 64-bit version. Once you check all of this and once you make sure it is Debian 64-bit, we can continue on the next step.
Right here it will ask you for your memory size that you want to use. Basically, RAM memory which you want to give to this machine.
So, for example, I have 8 gigabytes of RAM memory and I will give around 4 gigabytes for this machine, which means that I will be leaving the rest of the 4 gigabytes for my main machine to run.
Now, be careful here. You do not want to over give the RAM memory because it might make your PC a lot slower and it might make the virtual machine unusable. Basically, it might even crash your PC if you just put in all the RAM memory for your VirtualBox machine.
If you have around 4 gigabytes of RAM, 2 gigabytes will be more than enough for your virtual machine, but just in case I would put here 4 since I can leave the other 4 for my main machine.
So, right now I will click on “Next” after putting 4 gigabytes of RAM and it will lead us to this window where it will basically ask us for our hard disk.
Now, it says here that the recommended size of the hard disk is 8 gigabytes, but later when it gives us that option we want to change that. We want to increase the size of the hard disk for this virtual machine.
Here it asks us if we want to create a virtual hard disk now or do not add a virtual hard disk. You want to check “Create a virtual hard disk now” and proceed with the installation.
So, here we click “Create.”
It asks now for the hard disk file type. We want the VirtualBox disk image to be checked, so just check the dot here and click on “Next.”
Basically, here it asks if you want to make your hard disk dynamically allocated or fixed size.
It depends on what you want.
“Fixed size” will already use the entire memory you gave to the hard disk. So if I give 20 gigabytes of memory from my hard disk, it will already mark those in those gigabytes as used while if you pick “dynamically allocated,” it will just fill in as the time goes. This means it won’t allocate any memory for your hard disk, it will just dynamically fill in while you install some of the files on your VirtualBox machine.
So because “fixed size” takes a little bit more time to create, we will just click “dynamically allocated,” but you can put here “fixed size” as it will make your machine a little bit faster.
Right now, I will just click on “dynamically allocated” and click on “Next.”
Here it asks us for the size of our hard disk, which is preset with 8 gigabytes. The recommended size is at least 8 gigabytes.
I will put here around 30 gigabytes for this virtual machine, but around 15 or 20 will be more than enough for you since the files of Linux are not that big and we won’t be downloading any major files, possibly around a few megabytes big files.
So I will just click here on 30. Let’s see 30 or we can leave on 29.9 and click on “Create.”
Now, as you can see right here, it created the “ethical hacking machine” for us or whatever name you put it, and it is currently in the state of powered off.
What we want to do before powering on the machine is to give it the Kali Linux ISO file that we previously installed from the Kali Linux page.
We want to plug in our operating system, and how do we do that?
We will basically just click on the machine, which in my case is “ethical hacking machine” and go here on “Settings.”
It will open up this window with a bunch of different settings as you can see: General, System, Display and Storage.
Let’s go through all of this.
Here, in “General,” is what we set at the beginning.
So, Linux Debian 64.
The “Advanced” tab with “Snapshot folder, Shared clipboard, Drag and drop.”
Well, basically these options right here allow you to drag files from your main machine to your virtual machine. You can just take a folder and drag it onto the desktop of your virtual machine, which I will show later. We do not care about this now.
Then, “Disk Encryption.”
We did not put any disk encryption and we won’t until the advanced section. Basically what “disk encryption” means is that you will encrypt your entire hard disk of the virtual machine, so even if someone knows your login password, they won’t be able to log in unless they know the password of the encryption.
The encryption I believe that is used is AES 256-bit. I’m not really sure. It basically encrypts your entire operating system and all of the files you have on your PC or in this case on your virtual machine.
We will be covering the disk encryption in the advanced section when we will be installing Kali Linux again just with the disk encryption enabled.
So now we go to the “System” and here we can see our base memory, which I set on 4 gigabytes of RAM.
You might have set on 2 gigabytes, which is also enough.
The “Processor” part.
I have 4 cores on my CPU and here it gave only one core automatically to my virtual machine, which is more than enough, but I like to put 2 because it makes it work a little bit faster and it might help in some use of other programs later on.
Down here on the “Execution Cap” is the amount percentage that you want each CPU to use. If I put here 1 CPU and 53%, it will only use the 53% of one of the cores of my quad-core CPU.
So I will just put here a 100% and 2 CPUs right here.
You do not need this much, one core is more than enough for this, but if you want and if you have more cores to spare, you can set here 2.
On the “Display,” we don’t really care about this and here on the “Storage,” we want to insert our Kali Linux ISO file.
Now, under the “Controller IDE,” we want to go to this “Empty” here and right click to then click “Remove Attachment.”
It will ask you if you are sure you want to delete.
Yes, we are.
Now, under the “Controller IDE,” you click on the disk with the “+” sign and you click here on “Choose disk.”
It will basically open this up and it will ask you to search for the Kali Linux ISO file.
For me, it is right here on the desktop. For you, wherever you set it.
So, I will just select this file and click on “Choose.”
Right now, we have set our operating system and we are good to go.
So, for this time all of this and the other settings don’t really matter for us.
We will be covering, after the installation, the network part of the settings, but for now, we are good to go.
So if you have this set right here, just click “OK” and you are ready to start the machine.
Thank you very much for finishing this tutorial.
What you have watched is a part of our “Master Ethical Hacking in 2019“ course which I, Jerry Banfield, I am the executive producer where I’ve hired your instructor to teach this course for you. I pay to make the videos and we are building this out as a massive course for you.
They will have the very best up-to-date information in 2019. By the time you see this, we intend to have at least 10 hours of video in the course and by the end of 2019, we are planning to have a 20-hour video course here for you that goes from absolute zero knowing nothing, all the way to an advanced level of coding your own hacking tools.
When you buy this course on my website Uthena.com, you will in addition to getting access to all the videos, watching ad-free, supporting the instructor creating additional videos, you also get access to our Facebook group and Discord server where you can get answers to questions.
If you would like to get this and all the other courses I both make as the teacher and executive produce like this one for life, will you please get the “Jerry Banfield Forever All Course Bundle“ because I imagine you watching hundreds of courses with me together over a lifetime and all that for one price today?
I imagine the cost of the bundle will eventually go under $1 a course and I’m very grateful we are here together today.
If you found this helpful, I imagine you will leave a like on it and feel good about helping more of us enjoy this.
Thank you for watching for like the third time, and I imagine I will see you again soon.
While I’m asking you to do all these things, I might as well just keep asking things, see how many of you will go for it, right?
So let’s ask you now, will you please follow on Twitter because I think you will love getting to see everything at one place?
On Jerrybanfield.com I’ve got tons of blog posts, books and YouTube videos, and you can see all of those. Everything will be right in your Twitter feed so that when you follow me, there will be so much stuff you won’t even hardly be able to see anything else.
Edits from video transcript by Michel Gerard at www.michelgerardonline.com.