Free Hosting Online for WorkStations

< Previous | Contents | Next >

Advanced Usage‌

Chapter

9


Contents



Modifying Kali Packages 222 Recompiling the Linux Kernel 233 Building Custom Kali Live ISO Images 237

Adding Persistence to the Live ISO with a USB Key 240 Summary 246


Kali has been built as a highly modular and customizable penetration testing framework and al- lows for some fairly advanced customization and usage. Customizations can happen at multiple levels, beginning at the source code level. The sources of all Kali packages are publicly available. In this chapter, we will show how you can retrieve packages, modify them, and build your own customized packages out of them. The Linux kernel is somewhat of a special case and as such, it is covered in a dedicated section (section 9.2, “Recompiling the Linux Kernel” [page 233]), where we will discuss where to find sources, how to configure the kernel build, and finally how to compile it and how to build the associated kernel packages.

The second level of customization is in the process of building live ISO images. We will show how the live-build tool offers plenty of hooks and configuration options to customize the resulting ISO image, including the possibility to use custom Debian packages in place of the packages avail- able on mirrors.

We will also discuss how you can create a persistent live ISO built onto a USB key that will preserve files and operating system changes between reboots.


 

Top OS Cloud Computing at OnWorks: