Exercise Chapter 8 - Kali Mirrors and Packages

Exercise 1, Chapter 8 - Mirror redirection
  1. Find out which mirror would serve your ISO download request, if you were to try to download a Kali ISO from cdimage.kali.org.
  2. Configure a source entry in your sources.list file. Update your package cache.
  3. Add the kali-bleeding-edge repository to your system and install the bleeding-edge version of the 'set' package

Exercise 2, Chapter 8 - Getting to know dpkg.
  1. Find the path to the atk6-alive6 binary.
  2. Determine the package that installed it and the other files included in the package.
  3. Search for locally installed packages which have “wifi” in their name.
  4. Search for tools in the Kali repository which have “wifi” in their name.
  5. List the installed files which originated from the nmap package.

Exercise 3, Chapter 8 - Playing with dpkg-deb

In this exercise, we want to install Nessus. Nessus is not a simple apt-get installation. It is a process:

  • Downloading the .deb file from Nessus
  • Install .deb with dpkg
  • Register Nessus and get an activation code by email
  • Generate a challenge code with nessuscli in Kali
  • Submit the challenge and activation to get access to plugins
  • Download plugins and install them

This is a long process and isn't simple. Using the skills we demonstrated in this chapter, download and install Nessus and create a package that includes the plugins and installs them, automatically.

  1. Find, download, install and register the Free Nessus Debian package.
  2. Instead of programmatically installing the plugins through the Nessus web interface, save the plugins to a local file.
  3. Slipstream the signatures into the Nessus .deb package so that you will be able to install Nessus (say across multiple computers), without having each computer re-download the signatures.
  4. Create a new Nessus .deb package that automatically installs the plugins.

Exercise 4, Chapter 8 - Kali MultiArch

This will be a fun exercise because it is fairly simple, uses some of the package commands you've learned and allows you to run Windows programs from within Kali, thanks to Wine. However, it may sound a lot more complicated than it is because you will have to install a foreign architecture (i386).

  1. Add the 32 bit architecture  option to your Kali instance using dpkg.
  2. Install wine32
  3. Run the Windows ipscan program using Wine.

Food for thought
  1. apt-cache search nmap….why is the tool “atac" in the results?