In addition, you can combine both approaches, starting with a metapackage and adding additional necessary packages. You can comment out the line with the mention of this package and use another metapackage or make your own list of other packages. The standard configuration includes a file package-lists/ which there is a record about the package kali-linux-full(this is the basic metapackage, the use of which leads to the inclusion of all Kali packages in the image). Live-build, after starting, installs all the packages listed in the files package-lists/*.list.chroot. Below we will look at a few examples.ĩ.3.3. There you will find many other ways to customize images, which include changing the contents of the corresponding subdirectories in kali-config. Read about this in the Debian Live System Manual. However, in fact, the images lend themselves to a much deeper customization. The above-described concept of options allows you to perform general system configuration using sets of standard presets.
#Create kali linux iso usb how to#
It is based on XFCE and is used to create an official lite ISO image that contains a stripped-down set of applications.įor example, here's how to create a Kali Live Image using KDE as your desktop environment: The folder kali-configcontains directories for the most popular desktop environments: When this option is not specified explicitly, it is used as the name of the variant default. The script creates a directory configby combining files from kali-config/commonand kali-config/variant-X, where X - is the name of the option specified with the parameter -variant. The script helps to set various configurations, which depends on its option -variant. The standard script build.shfrom the set is live-buildresponsible for preparing the directory config. Build a live image with various desktop environments After completing this process, you can find the new ISO image in the directory images.ĩ.3.2. The assembly will take a lot of time, since in its course all the packages that need to be included in the image will be downloaded. # git clone git:///live-build-config.gitĪuto build_all.sh build.sh kali-config READMEĪfter that, you can already create updated (but unmodified) ISO images of Kali.
#Create kali linux iso usb install#
The first step in building your own ISO image is to install the necessary packages and download the Git repository with Kali configuration live-build: If you try to use them in an OS other than Kali, or in an older version of Kali, they most likely will not work normally. We will use this repository as the basis for constructing images customized in accordance with special requirements.īefore continuing, you should be aware that the commands shown in this section are intended to be run on the current version of Kali Linux. This configuration and some related helper scripts can be found in the Git repository live-build-config.
The set live-buiduses, when forming its configuration, the directory structure. This is a set of scripts that makes it possible to fully automate and configure all aspects of creating ISO images. Official Kali images compiled using live-build.
Take a look at the process of creating your own Kali Linux ISOs. However, you can configure the Kali image, including what you need in it, or removing unnecessary ones, to set automatic execution of any actions during system boot.Īmong the examples of such special images - Kali ISO of Doom and Kali Evil Wireless Access Point - interesting projects that rely on specially configured Kali Linux implementations. Of course, a certain level of knowledge of the tools included in the distribution, creativity, patience and experience will not hurt here. Immediately after installing it, you can begin to solve many difficult problems. The standard version of Kali Linux is flexible and has many features.
The third and fourth sections of the ninth chapter of the book “ Kali Linux Revealed ”, the translation of which we publish in this material, are devoted to all this. In addition, system images configured in a special way can sometimes be useful. However, much more opportunities are provided by assembling your own images and creating bootable media with a permanent data warehouse.
In its simplest form, such media, in the format of a DVD-ROM or flash drive, is created using a standard ISO-image of the system. Downloading Kali Linux from a removable storage medium is useful in many situations.