Welcome to part three of this module.
Today we're going to be looking at how to install Cally Linux with persistence onto a USP device such
as for example a small thumb drive.
This approach can be advantageous because having your operating system on a small thumb drive is very
portable.
You won't have to haul a laptop computer around with you everywhere you go from job site to job site
you if there's going to be a computer present.
You can simply use the USP device and boot from it.
And because we will be installing the operating system with persistence any changes we make to it such
as updating it or downloading new tools will persist even after we reboot the system.
There is also an advantage for privacy conscious individuals or individuals who wish to keep customer
data very safe between pin tests by USP device is logistically a bit easier to wipe than a computer
hard drive.
And of course if it's absolutely necessary it is psychologically much easier to smash such a device
into little bits.
If you really needed to and of course the cost of doing so would be relatively light since these devices
tend to be very cheap.
Certainly a great deal cheaper than disposing of an old laptop hard drive that after a great many pen
tests has seen too much sensitive information to be left intact.
Of course there are downsides to this your performance for your operating system will be somewhat limited
to the rewrite speed of your U.S. be device and it will not be realistic to run virtualizing environments
within the life boot.
It just won't work well so to begin with we're going to be downloading two programs.
So go ahead and open up your browser and the first program we're going to download is called mini partition
wizard.
There is a free version as of the time of this recording.
Any partition tool that you would like to use will suffice.
There are a great many pretty much any one of them will do the job.
So feel free to use a different one if you prefer.
I've selected this one because at the time of the recording it is free and will therefore be available
to most students.
When you have downloaded the program of your choice you will also need to download universal USP installer
simply navigate down and click the download button.
I've already done this.
There is one more step you may need to complete and that is to download the Cally Linux iso file that
we will be installing to our USP device so click on Download Kelly.
And here you may select the version of your choice.
Carly 64 bit is appropriate for most users older computers that can't run a 64 bit operating system
will need the 32 bit version.
However the 32 bit version may lack certain tools that the 64 bit version is able to run.
I do not have extensive experience with 32 bit version and this tutorial will assume that you are using
the 64 bit.
So when you have selected your version of choice you may click each TTP for a direct download or if
you have a third party software that is appropriate for taunting you may torrent the file.
Keep in mind this is a fairly large file and the download will take some time once the download is complete.
We'll have a file that looks like this.
This is the iso file for Kali Linux.
This is what we are going to install to our little USP device so go ahead and open up your Downloads
folder and here will find universal USP installer provided of course that this is where you downloaded
it to.
And we're going to open it
click agree
and now from the drop down menu we're going to scroll all the way towards the bottom until we find Kelly
Linux
and select it.
And now we will browse for our iso file which in my case it's located on the desktop.
Yours will be wherever you chose to store it.
And finally we all need to select our USP device.
If you have not already done so make certain that you have plugged in the USP drive that you're planning
to install Cally Linux to.
It may not show up on this menu until you restart USP installer.
If it's not plugged in at the time that you load the program keep in mind that when you click Create
this will delete all data stored on that USP device.
So make absolutely certain that there is nothing important on that device and if there is be sure to
back it up before proceeding to the next step when you're sure you wish to proceed click the create
button.
And this will simply warn you of what I just told you.
All data on the device will be lost click.
Yes and this will begin the installation process.
This process will take quite some time so I'm going to pause the recording here expect that this will
take about 5 to 10 minutes for most operating systems
now at the installation process complete we're going to open up our partition program once again I'd
like to stress that you don't have to use mini partition tools or many tools partition you can use any
program you wish that will do the job.
From here we're going to click on our USP device.
Make absolutely sure that it is selected and we're going to click move resize partition and we're going
to drag this bar all the way back as far as it will go and click ok.
Now click on the unallocated space and click the create partition button.
Select yes make sure that the partition is selected as primary file system we're going to use x t for
and for the partition label we will put in
persistence
click OK.
I would like to insert a quick footnote here.
The USP device that I'm using is a 15 gigabyte thumb drive.
This is just something that I had lying around the office for demonstration purposes.
However I strongly recommend that if you use this method your device have at least 30 gigabytes of space
free in the unallocated partition that will become our storage area.
So for example a 36 gigabyte device would be more than adequate.
It is up to you.
You can go with less if you want.
However once we fully update our installation of Kali Linux a great deal of the space will be eaten
up and you may wish to download more tools in the future but it is up to you when done.
Press the Apply button to write the changes to the USP device.
I've already done this once so the partition tool has less to do in my case.
This will take a bit longer for you if it is your first time.
I'm going to pause the recording here and resume when this process is complete.
The process done.
Click Okay.
And now we can close out of this.
Now it will be necessary to reboot your computer and to life boot off the USP device that you have just
created.
Instructions for doing this will vary from system to system so I cannot give you a demonstration.
Some systems you will be able to open up a boot menu by simply pressing the F 12 key after your bio
screen first appears very early in the boot process.
Some systems will automatically recognize a USP device and boot from it.
If it's plugged in other systems will require you to enter your bios and adjust your boot order.
If you're still not clear on how to boot from USP and none of the options I've presented work for you
it may be necessary to look up your individual system model and find out the correct procedure when
you're ready.
Go ahead and reboot the system and boot from the USP device
when you reach this screen.
Select live USP persistence and press the enter button once you have completed the boot process you
should now be seeing the Cally Linux desktop and please let me begin by apologizing for the unusual
aspect ratio it's not up to your Demi standards but until we achieve persistence and are able to update
the system drivers X render was simply not willing to cooperate and display the screen in any mode other
than the one you're seeing.
You may have this problem as well but don't worry.
Once the drivers are updated and the system has been brought up to spec this problem should disappear.
So let's begin by opening up the terminal in the left console window and from here we will type the
following commands
f disk space dash L and then we're going to highlight the second partition on the list which is usually
s d b to and we're going to copy it
from here.
You'll just need to type in the commands as you see me type them on screen one at a time.
M K D I R which is short for make directory space dash P space forward slash M N T forward slash USP
enter
mount then go ahead and paste in the partition information press center
echo
quotation forward slash space union good quotation space greater than sine forward slash
M and T forward slash USP forward slash persistence dot c o and F and press enter
new mount and then paste in the drive the partition excuse me space forward slash M.A. forward slash
USP and you may need to do this twice and you'll know that you've been successful when the small icon
in the upper left corner that says persistence disappears.
I'm really not sure why this had to be done twice.
So if the command does not succeed on the first try tried again and it will succeed.
There we go.
The icon has now disappeared in the upper left hand corner.
So all that is left now is to reboot and follow the normal procedure for booting from your USP.
Remember to select USP persistence from the boot menu and you'll be ready for the next step.
Now that we've rebooted let's go ahead and make a folder on the desktop and we'll call it test
in a moment we're going to reboot the system.
If the folder is present when the reboot completes we'll know that we have successfully installed persistence
if the folder is still present after the reboot.
It means that the process has been successful if it is not present.
You may have missed a step along the way and now it is prudent to update our operating system.
This is a lengthy process so you may wish to postpone it.
Go ahead and connect to the Internet.
If you're not already and open the terminal then type the following three commands at dash get.
UPDATE 2 ampersand is apt dash get upgrade to more ampersand is apt dash get dist dashed upgrade it
is not necessary to run these three commands back to back you could do them one at a time rather than
consecutively and this might be wise as this will be a very lengthy process.
The updates should correct any display problems you may be having such as the resolution issues I ran
into while recording this video.
If everything went well Kelly Linux is now installed with persistence.