Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Kali Linux Cookbook
  • Table Of Contents Toc
  • Feedback & Rating feedback
Kali Linux Cookbook

Kali Linux Cookbook - Third Edition

By : Corey P. Schultz
close
close
Kali Linux Cookbook

Kali Linux Cookbook

By: Corey P. Schultz

Overview of this book

This hands-on guide will help you become a penetration testing expert by gaining command of the powerful tools of Kali Linux, from versions 2024.3 through 2025.1, aligned with the latest features introduced and applying them in real-world security assessments. This cookbook’s third edition is updated to include the latest advancements in cybersecurity. The author leverages their 20 years of industry experience to guide you through installing Kali on multiple platforms, setting up lab environments, and using modern tools, such as Nmap, Metasploit, Wireshark, OpenVAS, and AI-driven reconnaissance. You’ll also explore automated social engineering, wireless hacking, web and database exploitation, and advanced persistence techniques, delivering a comprehensive and up-to-date penetration testing resource. Recognizing the critical role of human factors in security, this edition expands on social engineering tactics, including psychological principles and AI-driven automation, to craft highly effective attack campaigns. By the end of this book, you’ll have strengthened your grasp of the entire penetration testing process, from environment setup and reconnaissance to vulnerability analysis, exploitation, and maintaining access, and be equipped with industry-standard tools to enhance your effectiveness as a security professional.
Table of Contents (17 chapters)
close
close
15
Other Books You May Enjoy
16
Index

Installing Kali on Raspberry PI

In this recipe, we will walk through the process of installing Kali Linux on a Raspberry Pi. The Raspberry Pi is a compact, affordable, and versatile piece of hardware, making it an excellent platform for learning and experimentation. Despite its small size, the Raspberry Pi offers sufficient processing power and memory to run Kali Linux effectively, enabling users to perform various security tasks. The Raspberry Pi allows easy deployment in diverse environments, such as fieldwork, where you may want to place a small device physically inside an environment you are pen testing.

Getting ready…

You need the following to complete this recipe:

  • A Raspberry Pi 4 or 5
  • HDMI adapter, cable, and monitor
  • Keyboard and mouse
  • Micro SD card – 32 GB minimum

How to do it…

  1. Insert the SD Card reader and card into your Windows PC.
  2. From your Windows machine, navigate to https://www.raspberrypi.com/software/.
Figure 1.16 – Raspberry Pi imager download

Figure 1.16 – Raspberry Pi imager download

  1. Download the Raspberry Pi Imager application for Windows.
  2. Navigate to the download location and start the installation by double-clicking on the installer named similar to imager_x.x.x.exe.
  3. When presented with the Raspberry Pi Imager – Setup dialog, click Install to begin the installation process.
  4. When the installer completes, ensure Run Raspberry Pi Imager is selected and click Finish.
  5. You will now be presented with the main Raspberry Pi Imager dialog box. Choose the appropriate device based on which Raspberry Pi you have. This example uses RASPBERRY PI 4.
Figure 1.17 – Raspberry Pi Imager CHOOSE OS

Figure 1.17 – Raspberry Pi Imager CHOOSE OS

  1. Next, click on CHOOSE OS. You will be presented with a list of operating systems. Scroll down and select Other specific-purpose OS.
Figure 1.18 – Imager select other OS

Figure 1.18 – Raspberry Pi Imager, selecting other OS

  1. Next, select Kali Linux and then the 64-bit version.
  2. Finally, choose the appropriate storage device and select Next.
Figure 1.19 – Raspberry Pi Imager NEXT

Figure 1.19 – Raspberry Pi Imager NEXT

Tip

It is important to ensure you have selected the correct storage device to ensure you don’t accidentally erase something important.

  1. When presented with the ...apply OS customisation? dialog box, select EDIT SETTINGS.
Figure 1.20 – Raspberry Pi Imager EDIT SETTINGS

Figure 1.20 – Raspberry Pi Imager EDIT SETTINGS

  1. From the OS Customisation panel, you have the option to preconfigure various settings. For this example, enter the username and password and select wireless and locale settings. Select SAVE to continue.
Figure 1.21 – Imager OS Customisation

Figure 1.21 – Imager OS Customization

  1. Now, in the Use OS customisation? menu, select YES.
  2. Lastly, select YES on the warning regarding erasing your storage device.

You will finally be presented with a status screen showing the progress of imaging your SD card (this will take several minutes).

  1. Once your image is complete, you will see the write successful dialog box. Click CONTINUE to exit the imager.
  2. Remove the SD card from the reader and insert it into the Raspberry PI. Connect your monitor, keyboard, mouse, and power supply. Turn on the power supply and it will automatically boot.

You will now be presented with the Kali Linux login screen. If your customizations were set up correctly, you will be able to log in, will have the correct time, and will be connected to the internet via the wireless settings we used.

How it works…

Raspberry Pi Imager is a straightforward and efficient tool for installing operating systems on Raspberry Pi devices. Raspberry Pi Imager makes setting up a Raspberry Pi quick and easy, even for those new to using Raspberry Pi devices. Pairing a Raspberry Pi with Kali gives you a penetration testing toolkit that can fit in the palm of your hand.

There is more…

Kali is compatible with a variety of single-board computers, such as the Raspberry Pi. Each platform offers unique benefits that may aid in various use cases. You can see a listing of the various options and research each one on the following website: https://www.kali.org/docs/arm/.

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Kali Linux Cookbook
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon