Install kali linux from usb
OurВ favourite way, and the fastest method, forВ getting up and running with Kali Linux is to run it “live” from a USB drive. This method has several advantages:
- It’s non-destructive — it makes no changes to the host system’s hard drive or installed OS, and to go back to normal operations, you simply remove the “Kali Live” USB drive and restart the system.
- It’s portable — you can carry Kali Linux in your pocket and have it running in minutes on an available system
- It’s customizable — you can roll your own custom Kali Linux ISO image and put it onto a USB drive using the same procedures
- It’s potentially persistent — with a bit of extra effort, you can configure your Kali Linux “live” USB drive to have persistent storage, so the data you collect is saved across reboots
In order to do this, we first need to create a bootableВ USB drive which has been set up from an ISO image of Kali Linux.
What You’ll Need
A verified copy of the appropriate ISO image of the latest Kali build image for the system you’ll be running it on: see the details onВ downloading official Kali Linux images.
If you’re running under Linux, you can use the dd command, which is pre-installed, or use Etcher.
A USB thumb drive, 4GB or larger. (Systems with a direct SD card slot can use an SD card with similar capacity. The procedure is identical.)
Kali Linux Live USB Install Procedure
The specifics of this procedure will vary depending on whether you’re doing it on a Windows, Linux, or macOS/OS X system.
Creating a BootableВ Kali USB Drive onВ Linux (DD)
Creating a bootable Kali Linux USB key in a Linux environment is easy. Once you’ve downloaded and verified your Kali ISO file, you can use the dd command to copy it over to your USB stick using the following procedure. Note that you’ll need to be running as root, or to execute the dd command with sudo. The following example assumes a Linux Mint 17.1 desktop — depending on the distro you’re using, a few specifics may vary slightly, but the general idea should be very similar. If you would prefer to use Etcher, then follow the same directions as a Windows user. Note that the USB drive will have a path similar to /dev/sdb.
WARNING: Although the process of imaging Kali Linux onto a USB drive is very easy,В you can just as easily overwrite a disk drive you didn’t intend to with dd if you do not understand what you are doing, or if you specify an incorrect output path. Double-check what you’re doing before you do it, it’ll be too late afterwards. Consider yourself warned.
- First, you’ll need to identify the device path to use to write the image to your USB drive. Without the USB drive inserted into a port, execute the command sudo fdisk -l at a command prompt in a terminal window (if you don’t use elevated privileges with fdisk, you won’t get any output). You’ll get output that will look something (not exactly) like this, showing a single drive — “/dev/sda” — containing three partitions (/dev/sda1, /dev/sda2, and /dev/sda5):
2. Now, plug your USB drive into an available USB port on your system, and run the same command, “sudo fdisk -l” a second time. Now, the output will look something (again, not exactly) like this, showing an additional device which wasn’t there previously, in this example “/dev/sdb”, a 16GB USB drive:
3. Proceed to (carefully!) image the Kali ISO file on the USB device. The example command below assumes that the ISO image you’re writing is named “kali-linux-2020.3-live-amd64.iso” and is in your current working directory. The blocksize parameter can be increased, and while it may speed up the operation of the dd command, it can occasionally produce unbootable USB drives, depending on your system and a lot of different factors. The recommended value, “bs=4M”, is conservative and reliable.
Imaging the USB drive can take a good amount of time, over ten minutes or more is not unusual, as the sample output below shows. Be patient!
The dd command provides no feedback until it’s completed, but if your drive has an access indicator,В you’ll probably see it flickering from time to time. The time to dd the image across will depend on the speed of the system used, USB drive itself, and USB port it’s inserted into. Once dd has finished imaging the drive, it will output something that looks like this:
Creating a BootableВ Kali USB Drive onВ Linux (DD with status)
Alternatively there are a few other options available for imaging.
The first option is dd with a status indicator. This is only available on newer systems however. To do this, we simply add the status flag.
Another option is to use pv . We can also use the size flag here to get an approximate timer. Change the size depending on the image being used.
Creating a BootableВ Kali USB Drive onВ Linux (Etcher)
Download and run Etcher.
Choose the Kali Linux ISO file to be imaged with “select image” and verify that the USB drive to be overwritten is the correct one. Click the “Flash!” button once ready.
3. Once Etcher alerts you that the image has been flashed, you can safely remove the USB drive.
You can now boot into a Kali Live / Installer environment using the USB device.
Updated on: 2020-Mar-07
Author: g0tmi1k
Install kali linux from usb
OurВ favourite way, and the fastest method, forВ getting up and running with Kali Linux is to run it “live” from a USB drive. This method has several advantages:
- It’s non-destructive — it makes no changes to the host system’s hard drive or installed OS, and to go back to normal operations, you simply remove the “Kali Live” USB drive and restart the system.
- It’s portable — you can carry Kali Linux in your pocket and have it running in minutes on an available system
- It’s customizable — you can roll your own custom Kali Linux ISO image and put it onto a USB drive using the same procedures
- It’s potentially persistent — with a bit of extra effort, you can configure your Kali Linux “live” USB drive to have persistent storage, so the data you collect is saved across reboots
In order to do this, we first need to create a bootableВ USB drive which has been set up from an ISO image of Kali Linux.
What You’ll Need
A verified copy of the appropriate ISO image of the latest Kali build image for the system you’ll be running it on: see the details onВ downloading official Kali Linux images.
If you’re running under Windows, there is not one tool that is considered the overall best for imaging. We recommend Etcher, however Rufus is another popular option. If one does not work for you, consider the other.
A USB thumb drive, 4GB or larger. (Systems with a direct SD card slot can use an SD card with similar capacity. The procedure is identical.)
Kali Linux Live USB Install Procedure
The specifics of this procedure will vary depending on whether you’re doing it on a Windows, Linux, or macOS/OS X system.
Creating a BootableВ Kali USB Drive on Windows (Etcher)
Plug your USB drive into an available USB port on your Windows PC, note which drive designator (e.g. “F:\“) it uses once it mounts, and launch Etcher.
Choose the Kali Linux ISO file to be imaged with “select image” and verify that the USB drive to be overwritten is the correct one. Click the “Flash!” button once ready.
3. Once Etcher alerts you that the image has been flashed, you can safely remove the USB drive and proceed to boot into Kali with it.
Updated on: 2020-Mar-07
Author: g0tmi1k
Дракон под рукой – Устанавливаем Kali Linux на USB флешку
Дистрибутив Kali Linux используется профессионалами для пентестинга, а хакерами для взлома. Базируется Kali Linux на дистрибутиве Debian, но, имеет обычно более свежее программное обеспечение чем в его родителе, например, ядро и графическую оболочку. Вы могли видеть Kali Linux в фильмах и сериалах, например возьмем сериал “Мистер робот”. Там главный герой использовал Kali Linux для своих целей, в фильме мелькали такие утилиты как “Bluesniff, Scanner (btscanner)”. А так же “John the Ripper, Metasploit Framework, nmap, Shellshock и Wget” и некоторые другие. Вообще, интересный сериал, но, на любителя. И так, вернемся к статье. Устанавливать мы будем Kali Linux на обычную флешку, что нам это даст? Ну хотя бы возможность сохранять свои заметки, настройки и всегда иметь при себе флешку с Linux. Стоит отметить, что данная инструкция подойдет и для других дистрибутивов Linux. То есть, таким методом вы сможете установить например Manjaro или Ubuntu на флешку.
Подготовка к установке
Что нам понадобится для этого, ну во первых, установленный VirtualBox с плагином Extension Pack. Как установить читайте в этой статье для Ubuntu , или в этой для Debian 10 . Второе что нам нужно будет это сама флешка, рекомендую объемом не меньше 16 гигабайт, а лучше больше и отформатированная желательно в MBR. Ну и конечно же сам дистрибутив Kali Linux скаченный с официального сайта . Скачиваем либо “Kali Linux 64-Bit (Installer)” либо же “Kali Linux 64-Bit (NetInstaller)”, качать 32-Bit сборки в наше время не имеет смысла. Я же себе буду устанавливать версию “Kali Linux 64-Bit (NetInstaller)”:
Теперь переходим к VirtualBox, создаете новую машину, тут собственно все просто, для установки вы можете выставить свои параметры, это особой роли не играет. Кроме создания жесткого диска, но об этом чуть ниже: