Exercise Chapter 5 - Configuring Kali Linux

Exercise 1, Chapter 5 - Configuring users in Kali
  1. Create a standard user account. Add the new user to the 'sudo' group

Exercise 2, Chapter 5 - Configuring the network
  1. Stop the Network Manager service and completely disable it at boot time.
  2. Configure your Kali machine for DHCP on eth0
  3. Bring down the eth0 interface.
  4. Connect to the wireless network using your wireless USB dongle by configuring /etc/network/interfaces accordingly.

Exercise 3, Chapter 5 - Configuring Services part 1
  1. Configure SSH to permit root login with password (hint: PermitrootLogin).
  2. Start the SSH service and connect to it from your host system as the root user.
  3. Configure the SSH service to start at boot time.
  4. Change the root password and generate new SSH host keys.
  5. Ninjas! Make your Kali instance an access point by installing hostapd and starting it at boot time. Do this with a custom system service configuration! This section of the exercise is in testing.

Exercise 4, Chapter 5 - Configuring Services part 2

In this exercise, we'll install masscan. This is a cool tool and the full installation will help review some of the configuration concepts we've explored in this chapter. The process is broken into several steps:

  1. Install and start the Apache the PostgreSQL services.
  2. Configure Apache and PostgreSQL to start at boot time.
  3. Install masscan, it's prerequisites and Offensive Security's masscan web interface. Use an Apache / PostgreSQL stack.
  4. Import a previous scan and view the results.
  5. Protect the Apache installation with a htaccess username / password.

Did you know?

Remember that Kali Linux policy, of disabling network services by default? That policy is configured by /lib/systemd/system-preset/{95-kali.preset,99-default.preset}.