Video and Lab - Create a Virtual Install of Kali Linux

Lab-Creating-an-Virtual-Install-of-Kali-Using-VirtualBox.pdf

Description

Greetings I'm professor K. And in this short video presentation, we're going to show you how we go about creating a virtual install of Kali Linux using virtual box.

Most recently for 2020 offensive security has done major upgrades for Kali Linux.

And that's why we're going to go ahead and redo the lab and the video for this new.

This new version of county linings is a major upgrade.

It has an all new user interface.

The desktop is completely different, and there's a lot of things done to the hood that have been updated as well.

This lab will require an install of Oracle virtual box, the latest edition, and that would be 61.4, which is the version that I'm currently using on my host machine.

They'll also need to download the free download manager so that you can get this large download and not have it interrupted.

And if it is interrupted with a download manager, you'll be able to pick up right where you left off all the links for any of this open source and free software that I am demonstrating is available to you inside of the.

So you can open up the lab file and you can click on those links that are presented to you in the lab file and get access to these three pieces of software.

Now it's important that you get the right version of Cali linings for the particular hypervisor that you're using.

So I'm using virtual box.

So I want to make sure that I use the ova file that is built for virtual box.

So I'm up inside of the download page for Kali Linux and the virtual box ova file.

I'm going to go ahead and I'm going to click on the torrent file and I'm going to say open with, and it's already associated with free download manager.

I'm going to say okay to that.

And now the free download manager pops up and I'm going to go ahead and accept the default download location.

Or I can choose it to another location if I so choose now, if you want to save your particular ova file or OSA files to a particular partition, you can do so just by clicking here and I'm going to go into my F drive and then I'm going to save this to my F partition.

I'm going to go ahead and say okay to that.

And now I'm going to just click on.

Wants to download settles down.

You'll notice that the time starts to drop dramatically.

Now, once your download is complete, just browse on over to where you saved that download find the ova file for Kali Linux dash 21.1.

And all you have to do is just double clicking.

It's going to associate itself inside a virtual box.

So as long as you have virtual box installed, you can now just double-click the ova file.

It will find virtual box and begin the installation for you.

Now you can go ahead and read all this.

If you like, it just tells you everything that is configured inside of the ova file for this particular virtual installation.

Go ahead and click on import and you have to agree to the new offensive security terms of.

Go ahead and click on the green and the installation will begin.

And now that the ova file for Kelly linings has been imported into my virtual box.

All I have to do is highlight that installation over in their left window pane.

And then I can click on the green start arrow above, inside of the task bar.

And the installation begins.

You can go ahead and press enter.

If you want to speed up the process.

You noticed that it has a new dragon and some other new features that you will see as we get closer to the desktop.

And once Kali has completed his boot up, you have to type in the new username, which has Kali, all lower case and the password, which is Kali, all or case.

And then you just press.

So the first time you probably want to do is stop Kali from logging us off.

After five minutes of inactivity to do this, we're going to go up here to this icon.

Looks like a lightning bolt.

This is the settings for the virtual machine. Just click on that.

And now you can scroll down to come to power manager settings, going click on that here.

You can go ahead and click on display.

What you want to do is just move everything over.

To the left so that it won't log you off or go to sleep after 10 minutes next underneath security.

You want to make sure that you uncheck the lock screen was system is going to sleep on, check that and over here, pull down this window and you're going to select never automatically lock the session.

Never. Now you can go ahead and close.

And now Kali will not log you off after five minutes of inactivity.

The next thing we need to discuss is how to properly power off or restart this virtual machine of Kali to do this.

You're just going to go all the way over here to the left and click on this start button.

This brings up the start menu and you have log out, restart shutdown, and some other offers.

This is the only way you should be restarting or shutting down your installation of Kali.

This is an actual operating system.

And if you try to shut it down, just by going up here and clicking on the X and the task bar, it's no different than pulling out the power cord in the back of your host machine and powering down your machine and properly that way.

Go ahead and click on. Now, the next time we want to do is update this version of Kali Linux.

So we're going to go ahead and open up a terminal and we can access a terminal up here in his quick launch bar, over to the left of our Kali desktop.

It's going click on, on that.

All these commands that I'm about to show you can be gotten from inside of the lab file.

I'm going to go ahead and paste in the command from my left.

And that is app space, update space, ampersand app, or sign space, app space, dash Y the dash Y answers the question, are you sure you want to proceed? And I want to do a full upgrade.

I'm going to go ahead and hit enter.

Now. It tells you that you don't have permission.

This is the one that we want to watch right here, and we don't have permission because we're logged on as a normal user now, and this is one of the new features. Of Kali Linux with the 2020-1 version.

We're no longer allowed to log on by default as the route.

So we have to make a root account, start this process.

I'm going to go ahead and clear my screen.

And the next command that I'm going to type in is pseudo space as Shu, which stands for super user.

So I want to log on currently as super user.

With my default account that I'm currently using and you get a warning here about what's going to happen and what could happen if you abuse this type of power.

All right. So the current password for my user, which is named Kali is Kali.

So I'm gonna go ahead and type in Kali.

Now you're not going to be able to see the password when you type it in.

So just go ahead and hit enter, and you'll notice that your prompt chain.

The let you know that you are currently now logged on as root.

Now, the next thing we have to do is add our current account as a route and type in a root password.

Now to do this, I'm going to type in password route.

Now, the next thing we have to do is configure our account, which is logged on as route with a root password.

So I'm going to go ahead and type in password route and wants me to type in a new password.

So I'm now going to get back to the old Kali and I'm going to log on his route and I'm going to use the old password of tour.

So I'm just going to type in T O O R. I'm going to type it in again. And remember, you cannot see the password as you type it.

And it says that my password was updated successfully.

So I'm going to go ahead and close this out.

And I'm going to log off and log back in.

But this time I'm going to log back in as route and I'm going to enter that password for root, which was tour I'll hit enter.

And now when I'm inside of the desktop, I will be the root user or the super-user route.

And we can see this just by opening up a terminal prompt.

And you'll see, now that I am logged on as.

And we're now ready to proceed with our upgrade.

So again, I've typed in that command to perform the update and the upgrade. I'm going to go ahead and hit enter, and you'll notice that this time it actually works.

If you're not familiar with updating a Linux machine or Kali Linux, then you must learn to be patient and allow the update process to complete on interim.

If you're running into issues, trying to perform an upgrade with your Kali Linux, check the lab file.

There are additional steps for troubleshooting.

Now, some virus scanners are going to detect that the Kali now loading process is a malware attack, and it's going to alert you that it has stopped the connection.

If that happens, you're going to have to go into your virus scanner, and you're going to have to stop the Avastin.

You can either stop it prominently or you can stop.

And until your computer is restarted, now that your Kali Linux has completed, it's updating and upgrading.

You want to go ahead and make a snapshot so that you can have this as a fallback in case something happens to your installation of Kali and you need to roll back to a previous time.

So I'm going to go ahead and show you how to make a snap. And this is real easy.

I've got my Kali powered off and I'm just going to go ahead and select it.

And then I'm going to go up here up in the task bar where it says take, and I'm going to take a snapshot and I'm just gonna give it a user-friendly name.

I'm going to call it clean install with upgrade, just like that.

And I'm going to click okay.

And now when I start Kali, the first thing it's going to do, it's going to create this snapshot of the current configuration with the upgrade that we just completed.

So let's go ahead and start it.

Go ahead and hit, enter and go ahead and log on as route.

So to create a snapshot, we have to power on Kali now to restore Kali to a previous state, we need to power Kali off.

So I'm going to go ahead and shut down gracefully.

Once your Kali has completely shut down, you can go back inside your virtual box, left window pane, highlight the machine that you want to restore.

And then just select from the task bar. The restore option.

At that time, you can create a snapshot of the current machine state if you so desire.

And if you don't just uncheck the box and then just go ahead and click on restore now for the restore to complete, you must restart Kali.

And when you restart Kali, it will begin the process of rolling you back to that current snap.

Inside of the lab file are some additional steps for Mac users on how to configure their network settings.

So if you have a problem with your Aero net wireless adapter, not being compatible with virtual box, look at the lab file and follow the steps on how to install a virtual box virtual adapter for your Mac.

And that's going to conclude this short video presentation on how we go about creating a virtual install of Kali Linux using virtual box.

So if you have any questions or concerns about anything that was presented to you in this short video presentation, don't hesitate to reach out, contact your instructor, and I'll see you in my next video.

Complete and Continue  

Become a Member and Get Unlimited Access to 340+ Top Cyber Security Courses.