21 hours 43 minutes
module three kelly Lennox basics setting up the Cali Lennox BM
are running objectives are to understand the types of virtual machines software available to run Cali Lennox no, to download Cali Lennox and run it in virtual box and then explain Cali Linux KVM best practices.
So hopefully if you're watching this course, you already have some Familiarization with virtualization software.
Um if you use things like joan hub, what you're gonna need to do is use something like virtual box or VM where to load these virtual machines in. So virtualization is kind of like inception. It's a computer within a computer. You have your host operating system whether you have a Mac or you have Windows
and then you have a computer within that using this virtualization software which is really just a file, but it's a whole operating system contained within your computer. For example,
people who analyze malware will do so in a virtual machine because the malware will infect the virtual machine but not the host operating system or or hopefully it won't um
they're the software that's available is Oracle's virtual box. There's also a VM ware workstation player for Windows. Um there's also pro version, so there's a VM ware fusion for Mac and VM ware. VM ware workstation Pro for Windows, because I do a lot of virtualization. Um I do pay for those pro the pro version of fusion and workstation.
So I started learning on oracle virtual box just because it's free and it runs on every platform. It runs on Windows, Lennox and Mac.
Uh and VM ware workstation player only runs on Windows and Lennox VM ware fusion is for max.
So what you're gonna do is you're gonna want to download your an ISO file from the Cali download web page now, you're not only going to use this for for these exercises, but you'll need these for things like um hack the box or for bone hub
or for try hack me. That's where you'll run your open VPN software from and and do everything within your virtual machine. Most modern computers are 64 bit. So you'll want to use the 64 bit version of Cali there still is a 32 bit. You'll notice that if you have a Windows uh Windows. Os that
you need to enable virtualization to run the 64 bit VMS. Otherwise you can only run 32 bit so make sure you look at your bios and you ensure that um that virtualization is enabled.
So that's the hard way to do. It is to download this is a file. The easy way to do it is to download custom images for virtual box in vM ware from the Cali Lennox website.
So again you may need to enable virtualization um you know google that if if you're having issues on how to go through the bios or U. F. I.
To enable virtualization on your machine, you're gonna need two gigabytes of RAM. Um The virtualization software will share uh will share the memory of your computer. So the VM is gonna be using two gigabytes of RAM. Um and then however many gigabytes you have for your host os it will borrow from that.
You also need 80 GB of disk space.
So I'm gonna walk through how to do this, how to download the ISO file and how to install it.
So here we are on the Cali Lennox download site
You can see here is the Cali leading 64 bit installer.
And what you want to do is download that is 4.1 GB.
And that's going to take you some time to download.
But once you're ready you're going to click new, you're gonna name it Callie Lennox,
you're gonna click continue.
You don't want this to be 2GB of RAM. So do 2048
create a virtual disk, hard disk. Now
we don't want to select the D. I. Virtual box disk image
dynamically allocated for the hard drive.
I don't want this to be 80 GB.
Now we're gonna want to go into settings
an advanced we want to enable bi directional shared clipboard that will allow us to put things from our clipboard into and out of our VM as well as dragon drop, bi directional so we can pull files into and out of the VM
For video memory boost that all the way up to 128 MB. Make sure enable three D acceleration is off.
now we're gonna want to make sure we enable in processor would enable P A N x
And now we're gonna hit click start.
So you're gonna want to select the eye so file that you downloaded from the calisthenics website and click start.
And when prompted. We wanted to use the graphical install.
Now we're installing a whole operating system. So this is gonna take a while, make sure you have about 15 minutes of free time to download this for me. I'm gonna make sure my my language is English,
United States for my location.
That might be different for you
to click out of this warning message.
Now by default the host name is callie in this case. List name. It cyber very
don't worry about domain name. Just click continue.
And for my user name I'm gonna use my hacker name. cyber, ninja.
Last for it again.
I'm going to enter my password.
I'm not going to tell you that one.
Eastern us. Of course. This may be different for you.
Use guided use entire disk.
discuss the one
All files in one partition.
finish partitioning and write changes to disk.
Right? The changes to disk. I'm gonna go yes. And click continue
now. It's gonna install the base system. This might take a while. Someone to pause the video
for software selection. I'm gonna use these defaults and click continue.
And again. This is going to take awhile. Someone to pause the video again.
All right. So install the grub boot loader. We will
make sure we have Yes click continue.
Go down to DEv sda. Click continue
now is finishing the installation.
I want to click continue.
Installation is complete
now for lucky we should see our Cali Vm buddha.
It's always nice seeing that. Callie Dragon.
Okay, so our user name is going to be what we said before. Mine was cyber ninja.
Hopefully you remember your password
now. You should be able to resize your window because we the guest edition should be installed by default um in virtual box so you can resize your window. You can maximize it. But here we are with successfully installing Cali Lennox in virtual box.
That's the more difficult way to do it. I want to show you the easier way now.
Some of the download Catalans virtual images. These are custom images. I want to make sure I go to Cali Lennox Virtual box images. There's also a VM where I chose the 64 bit O. V. A. And we'll go back in here to oracle virtual box manager and what we would want to do is import that image.
So I'll import the appliance.
I'm going to go to the Ova that I downloaded,
and you'll see it already uh adds all the configuration details here, click import,
And as opposed to the other, install this one takes a lot less time but I'm gonna pause the video here.
All right now if we click start here
we'll see we get an error. So let's read. Why?
So implementation of the USB 2.0 controller was not found.
If we go into settings
You can go into ports and USB you can see it's 2.0 let's make that 1.1
and let's start this again, see what happens
and you can see that fixed the air.
So these images have user Cali and password Cali as default as opposed to the other installation where you've got to set your user name and password.
So if I enter Cali
we should be able to log in
now. We're gonna mess with virtual machines a lot more so I'm gonna save a lot more detail until later. But you can see those are basically the two ways to install the Cali Lennox Vm.
Another good practice is to make a snapshot of your VM. This just basically allows you if something happens to your VM to go back in time and go back to that snapshot it does take up some memory so be careful with how many snapshots you make. But if you successfully install your kelly Vm you might want to go ahead and make a snapshot
just in case if something breaks later on.
So some best practices take frequent snapshots of your VM. So you can revert if something happens, you're gonna want to update because this is Lennox, you're gonna want to update and upgrade your VM frequently your Cali VM
decide if you want to use the root user. Um the users that we saw back there with callie and cyber ninja, those are non root users, so you have to use Sudo a lot to do with super user permissions.
Um the older Cali VMS had route by default. So that's how I have mine configured is just using Root. It can be riskier because there's a lot more at stake running things as the root user um make sure the guest edition is installed. It does that by default with the eye so um and the ov a file
And you also want to make sure you set your shell, your terminal to infinite scroll. I think it sets it at 1000 by default. But a lot of these tools that will be running um will be lines and lines and lines and lines in the terminal and we'll cut off. So it's always a good idea to set your terminal shell to an infinite scroll.
So in summary,
we covered understand the types of virtual machine software that's available to run Cali Lennox uh now you should know how to download Cali Lennox and run it in a in virtual box. And we also explained some of the Cali Lennox best practices.
Introduction to IT & Cybersecurity
Are you new to IT & cybersecurity and wondering which role might suit you best? ...
2 CEU/CPE Hours Available
Certificate of Completion Offered
Penetration Testing and Ethical Hacking
To assess the strength of your organization’s cybersecurity posture, you need to gather information, perform ...
7 CEU/CPE Hours Available
Certificate of Completion Offered