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

Good old Wireshark


Wireshark is the world's most used network protocol analyzer. It is free and open source. It is mostly used for network troubleshooting and analysis. In this recipe, you will learn some basic things about Wireshark and how we can use it to analyze the network traffic in order to find out what information is actually flowing through our network.

Getting ready

Kali already has the tool preinstalled, so let's look at how to run it!

How to do it...

The following steps demonstrate the use of Wireshark:

  1. Wireshark can be opened using the Wireshark command:
  1. We select the interface we want to capture traffic on:
  1. Then, we click on Start. Display filters are used to see general packet filtering while capturing the network traffic. For example: tcp.port eq 80 as shown in the following screenshot:
  1. Applying the filter will show only the traffic on port 80. If we want to view requests only from a particular IP, we select the request and right-click on it.
  1. Then, we navigate to Apply as Filter...