Book Image

Kali Linux Cookbook

Book Image

Kali Linux Cookbook

Overview of this book

In this age, where online information is at its most vulnerable, knowing how to execute the same attacks that hackers use to break into your system or network helps you plug the loopholes before it's too late and can save you countless hours and money. Kali Linux is a Linux distribution designed for penetration testing and security auditing. It is the successor to BackTrack, the world's most popular penetration testing distribution. Discover a variety of popular tools of penetration testing, such as information gathering, vulnerability identification, exploitation, privilege escalation, and covering your tracks. Packed with practical recipes, this useful guide begins by covering the installation of Kali Linux and setting up a virtual environment to perform your tests. You will then learn how to eavesdrop and intercept traffic on wireless networks, bypass intrusion detection systems, and attack web applications, as well as checking for open ports, performing data forensics, and much more. The book follows the logical approach of a penetration test from start to finish with many screenshots and illustrations that help to explain each tool in detail. The Kali Linux Cookbook will serve as an excellent source of information for the security professional and novice alike!
Table of Contents (16 chapters)
Kali Linux Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Installing to a hard disk drive


The installation to a disk drive is one of the most basic operations. The achievement of this task will let us run Kali Linux without the DVD.

Note

Performing the steps covered in this recipe will erase your hard drive, making Kali Linux the primary operating system on your computer.

Getting ready

Before explaining the procedure, the following requirements need to be met:

  • A minimum of 8 GB of free disk space for the Kali Linux install (although, we recommend at least 25 GB to hold additional programs and wordlists generated with this book)

  • A minimum of 512MB of RAM

  • You can download Kali Linux at http://www.kali.org/downloads/

Let's begin with the installation.

How to do it...

  1. Begin by inserting the Kali Linux Live DVD in the optical drive of your computer. You will ultimately come to the Kali Linux Live DVD Boot menu. Choose Graphical install.

  2. Choose your language. In this case, we chose English.

  3. Choose your location. In this case, we chose United States.

  4. Choose your keyboard configuration. In this case, we chose American English.

  5. The next section to complete is the network services section. Enter a hostname. In this case, we entered Kali.

  6. Next, we have to enter a domain name. In this case, we enter kali.secureworks.com.

  7. You will now be presented with the opportunity to choose the password for the root user by entering a password twice.

  8. Choose your timezone. In this case, we chose Eastern.

  9. We are now able to select our disk partition scheme. You will be presented with four options. Choose Guided - use entire disk, as this allows for easy partitioning.

  10. At this step, you will need to acknowledge that your entire disc will be erased. Click on Continue.

  11. Next, you have the option of choosing one of three partitioning schemes: All files in one partition, Separate/home partition, or Separate/home/user/var, and/tmp partitions. Considering Kali is being used more so for penetration testing purposes, a separation of partitions is not needed nor required (even though this is a great idea for your main desktop Linux distribution). In this case, choose All files in one partition and click on Continue.

  12. Once you get to the screen which lets you know that changes are about to be made to your disks, choose Yes and click on Continue. Please note that this is the final chance to back out of having all of your data on your disc overwritten.

  13. Next, you will be asked if you want to connect to a network mirror. A network mirror allows you to receive updates for Kali as they become available. In this case, we choose Yes and click on Continue.

  14. You may skip the HTTP proxy page by clicking on Continue.

  15. Finally, you will be asked to install the GRUB boot loader to the master boot record. Choose Yes and click on Continue.

  16. You have now completed the installation of Kali Linux! Congratulations! Click on Continue and the system will reboot and bring you to the login page.