Throughout the course we're going to use a number of hacking tools.
You can install each of these tools manually or you can do what most hackers do including myself and
save time and effort and use an operating system designed for hacking.
We're going to use an operating system called Kali Linux.
It's the next distro based on Debian and the only difference between Cali and the actual original Debian
Linux distro is the fact that Cali has a lot of hacking and penetration testing tools pre installed
and pre configured in it.
Therefore once you install Cali you will have access to so many hacking tools without the need to install
or configure any of them which will save you a lot of time and a lot of effort.
Now just like any other operating system you can install it as a main machine or as a virtual machine.
Now I'm going to install it as a virtual machine because like I explained in the previous lecture we
will not lose any functionality by using operating systems as virtual machines.
And it comes with a lot of benefits because it's completely isolated from our computer that we always
use.
So if we break the virtual machine or if you want to delete it and reset it it will not affect our main
operating system.
Now as mentioned in the previous lecture before creating and using virtual machines you will have to
install virtual box.
And I showed you how to install it on Windows then X and OS X.
So once you have virtual box installed you can go ahead and follow the steps that I'm going to show
you right now to install color Linux.
Now keep in mind I'm doing these steps from an OS X computer but you can follow the exact same steps
on any operating system you have whether you have Linux or Windows.
As long as you have installed virtual box on your system as shown in the previous lecture now the first
thing that you want to do is download the virtual box image of Kelly Linux so you can download it from
the resources of this lecture to access the resources of the current lecture.
We're going to scroll down to the lecture.
We're going to click on the resources icon and then we're going to click on the resource that we want.
And in this case we want the candy to any to any download page.
So we're going to click on it now.
This is a custom color image that I made for my courses.
It is smoother and faster than the original one.
It fixes a number of bugs and it contains a number of extra programs that we need for this course and
are not included in the original release.
You can see the full list of changes that I made here and on the left.
You can also follow us on YouTube if you want from here.
But the main reason we're here on this page is to download Carly.
So if you have a 64 bit computer downloaded from one of these links or if you have a 32 bit computer
then download the 32 bits version from here.
Now this is a big operating system.
So I've actually already downloaded this before recording this lecture and I already have it right here
so as you can see you should get a file with a dot or be a extension so you have the file name followed
by dot all the way to import this in virtual box.
All we have to do is literally double click the file as you can see this will automatically run the
file in virtual box and you'll get a window which you can use to modify the settings of this virtual
machine.
For now I'm going to keep everything the same.
And I'm just going to click on import.
Give it some time.
And as you can see now this is imported into my virtual box.
And we can go ahead and try to start it.
But before doing that I want to modify some settings.
So we're going to click on the virtual machine that we want to modify its settings which is called Linux.
In this case and then I'm going to click on the settings icon.
Now depending on the host operating system that you're using the layout of the settings menu in here
might be slightly different but using it is exactly the same.
So make sure you follow the steps that I'm going to show you right now.
And it should work on all operating systems whether you're using Windows Linux or OSX.
So the first thing that I want to modify is the system settings.
So I'm going to click on system and in here you can first of all modify the amount of RAM or memory
that will be allocated for the virtual machine.
Now dependent on how much RAM you have in total you can give this more or less to gigabyte is enough.
You can get away with one gigabyte but it might be a little bit slow.
So I'm going to leave it at two.
I have 16 gigs so too will not cause any pressure on my host operating system next.
I'm going to click on the processors and as you can see by default it's only given to course.
Again you can give it more or less.
You can get away with one core.
It will be too slow.
Two is good enough.
The more the better.
Again it all depends on how much resources you have and can't afford to give to virtual machines.
I have ACP use.
So given it too will not put too much pressure on my operating system next I'm gonna go to the network
settings and I'm going to set this to use and not network.
Now sometimes when you select an ad network you will not see a network name in here.
If you don't then don't worry about it.
This is a common issue and I had the solution for you in the resources of this lecture.
Just click on it.
Follow it and you'll see how to fix this issue.
Now for me as you can see I already have an ad network in here so I'm going to keep it on this one.
And this setting will basically create a virtual network where my host machine which is my Mac OS X
computer is going to be the router for this network and then all the virtual machines are going to be
client connected to this network.
So they're going to get Internet connection from my host machine.
And at the same time all of my virtual machines will be connected to the same virtual network.
This is very handy because my virtual machines will be able to communicate with each other and therefore
will be able to use the Kelly machine to hack into the other's will be able to test network attacks
and do much more.
So this setting will first allow my virtual machines to have Internet connection and it'll also allow
them to communicate with each other through this virtual not network.
Now this virtual network will rely on the connection of your host computer.
So it will not need any extra interfaces.
It will not need any extra adapters.
And as far as the virtual machines are concerned they are connected to on either net network but in
reality they are connected through the host machine.
Now if you're on virtual box six and have a screen with high resolution you'll need to go to display
and set the scale factor to 200 percent otherwise the virtual machine screen will be too small but only
do this if you have a screen with a high resolution.
And if you're using virtual box six otherwise do not modify this option now I'm done here.
So I'm going to click on okay and we can start the virtual machine like any other virtual machine.
We're just gonna click it and then click on start.
Now if you followed everything that I did so far and faced a black screen or got an error please check
out the links in the resources of this lecture as they cover the most common issues that you could face
when starting college if you got an issue that is not covered there.
Don't worry.
Please ask us in the Q and A section and we will respond to you within 15 hours and help you fix this
issue now I'm going to click inside the virtual machine and hit enter and as you can see we have the
log and screen for Cali Linux so right now it's asking me for the user name and the default user name
is Root r o o t.
I'm going to hit enter and then it's asking us for the password which is the reverse of the user name.
So it is t o r and enter that's it.
Now we're inside the virtual installation of Kali Linux.
Now don't worry about how this operating system looks different and if you don't know how to use it
we will cover all of that and will cover its basics as we go through the course.
But for now if you just look at the top right in here you'll see that this virtual machine thinks that
it is connected using a wire so you can see wire connected.
So Kali thinks that it is connected to an Ethernet network and that's because like I said we set it
to use in our network.
So if I just go to my web browser
as you can see we have Internet access and Kelly Linux and this is provided from the host computer.
So Carly is connected to the Internet through the host computer.
And as far as Carly is concerned the host computer is a router and it is connected to this router through
an Internet cable if Carly feels a little bit too slow or laggy please give it a few minutes.
If this is the first time you're on it because when you started for the first time it will automatically
check for updates.
Once this process is done the system will start running a little bit smoother.
Also it goes without saying if your computer is not powerful enough then close any unused applications
before starting Carly to free up resources.
But as you'll see throughout the course two gigabytes of RAM and to use are enough to run Carly smoothly.