In the past, I have written guides on how to set up VMs (Virtual Machines) using both VMware and VirtualBox programs, but what if youâre looking to take your hacking on the go? For this you need something more portable. VirtualBox does have the ability to be installed on a thumb-drive or external hard drive, but another way you can achieve this is with a bootable USB.
An operating system can be placed onto a thumb-drive, and it can then temporarily replace the PCs operating system. This can have a variety of uses: from being used to help diagnose problems and fixing the computer, to just taking OSâs for a âtest driveâ.
The drive is inserted into the computer while it is turned off, and then when it is turned on, it boots from the USB instead, allowing you to use the OS on the drive.
How to Create a Live USB?
To create a live USB, you need three things:
A USB stick (at least 4GB)
Rufus (download from here)
Kali live iso (download from here. Make sure you download the live version)
The Rufus download shouldnât take so long, but the iso file will take some time to download. Sit back, and relax. Maybe read a little, or watch a movie, This tutorial can wait.
After downloading the iso, you can check the hash of the file against the hash against the website to confirm that the file hasnât been corrupted. There are a variety of methods to do this, so you can find one that suits you.
If the hash that you calculated matches the hash of the file listed on the website, then your version of the file is the same as the one on the server and itâs not been corrupted. We can see here that the SHA256 hash I computed does match, so the files are the same.
To create the USB, the first step is to insert the USB thumb-drive you want to make bootable, and start up Rufus. It is important to note that part of the process is to format the drive, which will delete every file on it. DO NOT KEEP ANY IMPORTANT FILES ON THE DRIVE, BACK UP ANY FILE YOU WANT TO KEEP.
Next you click âSELECTâ, and navigate to the live .iso file you downloaded. After doing so, options for your live drive will be available. Most of these are advanced option, so for now you can ignore them, but you can change the name of the drive if you want.
After pressing START, you may receive some pop-ups. You can click through these, as the recommended options work. After clicking through the pop-ups, Rufus will start writing to the drive. You can now wait until it is finished, so read some more of your book or watch another film.
Once it is finished, you can eject the drive. Your Live USB is now ready.
To use your live USB, first insert it into the computer while it is turned off. When it turns in, it should boot to a screen where you can select boot options.
(sorry the quality isnât great)
For basic use, you can select âLive systemâ, but there are more advanced modes that you can use. You can do some research to see what each mode involves, and which is best for a scenario.
After selecting out boot mode, our computer then boots to Kali.
You may find, however, that when you try booting with the USB it boots to your native OS instead of Kali. This may mean that your BIOS (Basic Input Output System) is not configured to boot from the USB. This means that you will have to change your boot order from the BIOS. This is different for every motherboard, so you may have to look up how to do it for yours. Make sure that your BIOS boots from the USB before the hard drive.