Book Image

Kali Linux Cookbook - Second Edition

By : Corey P. Schultz, Bob Perciaccante
Book Image

Kali Linux Cookbook - Second Edition

By: Corey P. Schultz, Bob Perciaccante

Overview of this book

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. Kali Linux is the most widely used platform and toolkit for penetration testing. Security is currently the hottest field in technology with a projected need for millions of security professionals. This book focuses on enhancing your knowledge in Kali Linux for security by expanding your skills with toolkits and frameworks that can increase your value as a security professional. Kali Linux Cookbook, Second Edition starts by helping you install Kali Linux on different options available. You will also be able to understand the lab architecture and install a Windows host for use in the lab. Next, you will understand the concept of vulnerability analysis and look at the different types of exploits. The book will introduce you to the concept and psychology of Social Engineering and password cracking. You will then be able to use these skills to expand the scope of any breaches you create. Finally, the book will guide you in exploiting specific technologies and gaining access to other systems in the environment. By the end of this book, you will have gained the core knowledge and concepts of the penetration testing process.
Table of Contents (11 chapters)

DHCP spoofing 

In this recipe, you will learn about DHCP spoofing.

DHCP spoofing can be used to route all packets through your Kali box or can be used to push your DNS servers to the hosts on the network. This attack actually has a lot to do with timing. It's important to note that this attack will not always work, as there is the true DHCP server on the network and our DHCP spoofing server. The way DHCP works is that the first response received by the victim is the one it will use irregardless of how many responses it receives. So, the hope is that your response to their request will beat the official DHCP server.

Getting ready

Let's ensure the following prerequisites:

  • Kali Linux is running and you are logged...