Welcome to part four of this module.
In this video we're going to be looking at how to download and setup Cally Linux on our newly installed
Oracle virtual box.
If you have not yet installed virtual box please see the prior module.
So to begin we're going to open up our browser of choice and we're going to navigate to the Web site
for Kelly Linux and click on Download Kelly and here we're presented with a number of download options.
We're going to scroll all the way to the bottom and we're going to click on one of these two files.
Linux 64 bit v box or Cally Linux 32 bit v box.
Most users will probably use the 64 bit version of the operating system.
However if you have an older computer 32 bit version is available there's really only very slight differences
between the two versions.
However this tutorial will assume that you're using 64 bit this version of Kali Linux is specifically
optimized to run on virtual box.
You could scroll up and download either the 64 bit or 32 bit ISO files and install those.
However these files require a lot of jury rigging with virtual box to get them operating correctly.
For more detailed instructions on how to install Cally Linux from an iso file either to a USB stick
or a dedicated partition please see the subsequent modules in this section but for right now we're going
to download one of these two.
In this case the 64 bit version by clicking on the offensive security downloads page link.
We're going to scroll down
and here we have the option to download either directly by clicking on the file itself or you may torrent
the file using a third party programs such as you torrent or BitTorrent.
It is your choice and this is a fairly large file at three gigabytes and may be larger in the future
as Kelly isn't operating system which is always being updated and improved.
This is a legal download.
The creators have given universal permission allowing it to be downloaded so there is no concern about
taunting.
However I am going to use the direct download link.
Go ahead and save the file once the download is complete.
You'll have a zip file.
Go ahead and right click it.
And then select extract all
you may extract the files anywhere you wish.
I will be placing them on the desktop once the files are extracted we can go ahead and open them and
have a look
and now please open Oracle virtual box.
We're going to select new and we're going to name our new system.
Kelly Linux and click next and here were presented with the option to allocate memory to our virtual
system.
This is not a permanent choice.
You may alter how much you allocate at a later time for instructions on how to do this.
Please see one of the following modules in this section.
For the moment I recommend allocating half of your total system ram or just under half.
You may not allocate more than half as this would destabilize your system.
Virtual Box will not run properly.
You can allocate far less if you wish your performance will suffer if you don't allocate enough RAM
for the virtual operating system.
However it may be advantageous to allocate less if you wish to run multiple virtualize systems simultaneously
perhaps for testing purposes.
For the moment I recommend allocating half remember that this is not a permanent choice.
And when you've decided how much to allocate click the next button and now we're going to select.
Use an existing virtual hard disk file and we're going to browse to where we extracted our files which
in this case it is on my desktop
and we're going to select the first Kylie Linux image that we see in the list.
This will have to kill a bytes worth of data and by doing this we are effectively selecting all of them.
Click open
click Create
and now we can start our virtual system.
This is the grub bootloader.
Go ahead and select Kelly G giant you slash Linux press enter
upon reaching the screen.
We're going to need to enter our user name and password since we haven't set a user name and password.
We're going to have to use the defaults that Kelly Linux provides.
Until we change these properties.
So for the moment enter the user name route
and the default password for Kelly Linux.
Going all the way back to the earliest editions of backtrack five is Tau t o o.
That's route spelled backwards as you can imagine this is a terrible security practice.
Everyone who has any familiarity with this operating system knows this default password so you will
wish to change it at some point.
For right now we'll sign in.
This is the Cali Linux desktop all of our tools for penetration testing hacking open source intelligence
and so forth are contained within this operating system.
This side panel allows you to set your favorites.
Several have been set by default if we wish to see more.
We would simply click show applications.
Or we could click on the upper menu for applications.
Everything is neatly organized into the appropriate categories and many of these tools and files will
be covered in successive modules in the advanced and intermediate sections.
For the moment however our first order of business is to make sure that our internet connection is working
properly.
So we're going to open up the Firefox browser which comes default with Cally linux.
You are free to change this later and we're going to attempt to navigate to any web page and make sure
that it comes up.
So to start out I'm just going to go to Google and please forgive me if the system is a little slow
virtualize systems tend to be slower than your primary operating system due to its limited resources
Google seems to be coming up.
Now I wish to point out that if your internet connection is not working then it will be necessary to
perform the following step.
If it is working go ahead and skip this
I'm going to close the web browser.
It's doesn't need to be open click on machine click on settings go down to network and again only do
this if your connection is not functional where it says attached to.
We're going to drag down this menu and change the net option to bridge adapter and from there you can
specifically select your adapter.
This is not necessary in my case but if you do this select your adapter and click ok
then repeat the test with Firefox to make sure that your connection is functioning.
This icon up here of two plugs together will indicate that your connection is from your primary computer
is being routed through to the virtualizing machine once we're sure that our connection is functioning
properly.
It's going to be necessary to update our operating system.
You may have noticed that Carly is operating in a windowed mode currently within our primary operating
system.
If we try to make Carly full screen by either pressing the host key and F simultaneously the host key
is the right control key by default or if we go up to view and click on full screen mode we'll notice
that it's not really full screen mode.
The aspect ratio is wrong.
We have these black bars on the sides of our screen and it doesn't look very appealing.
So I'm going to exit full screen mode back into windowed mode now to fix this.
We're going to need to update our operating system.
Experienced users a virtual box will know that with most operating systems.
It's possible to achieve full screen mode shared folders and other key functions by using the virtual
box guest CB which would involve going to devices and clicking insert guest additions.
CB image.
However I'm not going to do this with Cally Linux on virtual box.
The reason is that there is a bug with the current iterations of Cally in as it relates to virtual box
where the guest editions CDE will essentially not work it will tell you that the kernel is either incorrect
or that the headers are out of date or it just won't tell you anything.
And the installation process will fail.
Now the header is actually fine.
It is up to date and when you try to update it you will be very confused because everything will work
properly but the guest editions will not function.
The simple solution is to update the operating system once this is done.
We will be able to easily install manually the files that we need to as the update will correct the
bug.
So we're going to open up our terminal window by clicking on the terminal icon in the left favorites
menu and we're going to need to run three commands back to back.
You can do these one at a time or you can do them in the way that I'm going to present them.
And they are apt dash get update
pardon me two ampersand is apt.
Dash get upgrade.
Two more ampersand is apt.
Dash get dissed dash upgrade.
Now the ampersand I mean they tell Cali to run the successive command after the first one finishes.
In other words doing it this way all three of these commands will run one after another though as I
said you could dispense with the ampersand and just run them one at a time.
It's your choice.
Now please keep in mind that this update process is unfortunately very long and I'm not going to show
the whole process but when we press enter
the process will begin
and we will be prompted.
Whether or not we wish to continue this is going to install and update a lot of tools.
It will also fix the inherent problems I mentioned.
So we're going to say yes now as I said this is a very long process and I'm not going to record at all
I will pause the recording for efficiency sake.
I recommend that you devote quite a bit of time to this process at least an hour possibly more depending
on your system specifications your connection speed and so forth unfortunately as much as I'd like to
say that you can just get up and let this process run it may prompt you again at various points during
the process to confirm the installation of a particular tool or the updating of a particular file.
I'm afraid there's just no way around this.
So how will pause the recording here and resume when the update is complete and here is a rather annoying
example of why you can't just need this process to run in the background the process has been interrupted
by the need for user input specifically.
This is telling you well it doesn't really matter what it's saying.
Just use the down arrow to scroll down to the very bottom
and then we can press Q And this will resume the process.
As I said there may be moments during this procedure when you are prompted for either user input or
to confirm the installation of a file.
It is irritating
once the updates are complete.
The last step is to reboot the virtual machine.
This is absolutely necessary or the next step will not work.
Once you've rebooted and you're back on the Kelly Linux desktop there's one last thing that needs to
be done.
We're going to go over and we're going to open up our terminal file and we're going to input the following
command apt.
Dash get install dash why virtual box dash guest dash x eleven and press enter
and now with virtual box guest editions finally installed it will be necessary to reboot the system
one final time
all right.
Once back on the desktop we'll know that the installation of the guest editions and all of the updates
have been successful because we should be able to enter full screen mode without any difficulty.
Remember that to do this we press the right to control key and f or we can go up to view and click Fullscreen
and there we go.
Kelly Linux is now in the proper aspect ratio which means that all of the other updates were successful
and that Kelly Linux is has been successfully installed on virtual box thank you.