Book Image

Kali Linux - An Ethical Hacker's Cookbook

By : Himanshu Sharma
Book Image

Kali Linux - An Ethical Hacker's Cookbook

By: Himanshu Sharma

Overview of this book

With the current rate of hacking, it is very important to pentest your environment in order to ensure advanced-level security. This book is packed with practical recipes that will quickly get you started with Kali Linux (version 2016.2) according to your needs, and move on to core functionalities. This book will start with the installation and configuration of Kali Linux so that you can perform your tests. You will learn how to plan attack strategies and perform web application exploitation using tools such as Burp, and Jexboss. You will also learn how to perform network exploitation using Metasploit, Sparta, and Wireshark. Next, you will perform wireless and password attacks using tools such as Patator, John the Ripper, and airoscript-ng. Lastly, you will learn how to create an optimum quality pentest report! By the end of this book, you will know how to conduct advanced penetration testing thanks to the book’s crisp and task-oriented recipes.
Table of Contents (20 chapters)
Title Page
Credits
Disclaimer
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
6
Wireless Attacks – Getting Past Aircrack-ng

Sniffing around with Kismet


Kismet is a layer 2 wireless network detector. It comes in handy because while performing pentest in a corporate environment, we may need to look for wireless networks as well. Kismet can sniff 802.11a/b/g/n traffic. It works with any wireless card that supports raw monitoring modes.

In this recipe, we will learn how to use Kismet to monitor Wi-Fi networks.

How to do it...

To learn about Kismet follow the given steps:

  1. We use the following command to launch Kismet:
kismet

The following screenshot shows the output of the preceding command:

  1. Once the GUI is up, it will ask us to start the server, and we choose yes:
  1. Next, we need to specify a source interface, in our case it is wlan0, so we type that. Make sure the interface is in monitor mode before initializing it in Kismet:
  1. Now we will see a list of all the wireless networks around us:
  1. By default, Kismet listens on all the channels, so we can specify a particular channel by selecting the entry Config Channel... from the Kismet...