Exercise Chapter 4 - Installing and Configuring ARM images

Exercise 3, Chapter 4 - Kali Linux standard ARM Install
  1. If you have a Raspberry Pi or similar device, grab a copy of the appropriate ARM image from here. Burn it to an SD card and try it out.
Zen Walkthrough - Exercise 4, Chapter 4 - Custom Kali Linux ARM Install
  1. In the previous exercise, we performed a standard ARM install. As you saw, the results were less than thrilling. Although we don't cover this in the book, we think it's valuable that you see how to build a custom image. You can walk through this exercise with any supported ARM device, but we will use a Raspberry Pi3. Check out the list of supported ARM hardware. We will build a custom Kali ARM image containing:
    • A minimum set of packages.
    • No desktop environment (headless).
    • A static IP address on eth0 so we don't have to hunt for our Pi
    • Tools like ifconfig installed.
    • SSH service starts at boot, with your public SSH key preinstalled.

Go ahead, hit Show Answer. This is a walkthrough, after all.

Zen Walkthrough - Exercise 5, Chapter 4 - Kali Linux ARM chroot

So the build you made wasn't ideal. Fortunately you can change the build. For this example, let's assume that you forgot to install some packages, such as net-tools, dnsmasq andmlocate. Rather than reinstalling and re-imaging the device, chroot into the RPi3 SD card from your Kali machine and make the required changes.

Since this is a walkthrough, and not covered in the book, go ahead and "Show Answer" and we'll walk through.