Book Image

Wireshark 2 Quick Start Guide

By : Charit Mishra
Book Image

Wireshark 2 Quick Start Guide

By: Charit Mishra

Overview of this book

<p>Wireshark is an open source protocol analyser, commonly used among the network and security professionals. Currently being developed and maintained by volunteer contributions of networking experts from all over the globe. Wireshark is mainly used to analyze network traffic, analyse network issues, analyse protocol behaviour, etc. - it lets you see what's going on in your network at a granular level. This book takes you from the basics of the Wireshark environment to detecting and resolving network anomalies.</p> <p>This book will start from the basics of setting up your Wireshark environment and will walk you through the fundamentals of networking and packet analysis. As you make your way through the chapters, you will discover different ways to analyse network traffic through creation and usage of filters and statistical features. You will look at network security packet analysis, command-line utilities, and other advanced tools that will come in handy when working with day-to-day network operations.</p> <p>By the end of this book, you have enough skill with Wireshark 2 to overcome real-world network challenges.</p>
Table of Contents (14 chapters)
Title Page
Packt Upsell
Contributors
Preface
8
Mastering the Advanced Features of Wireshark
Index

ARP poisoning


Whenever any device intends to communicate with another device, the requesting device sends a broadcast to the whole subnet. Then, the device to which the IP address belongs replies with its MAC address using a unicast packet. Through this approach, devices in local area network communicate with each other. A MAC address (physical address) table stores MAC address with its corresponding port number/IP address.

Use the arp -a command to populate the ARP table entries on your machine. The same command on a majority of platforms.

The following are some details pertaining to the local network we will be using for understating:

Device

IP address

MAC address

Router (default gateway)

192.168.1.1

D0:5B:A8:07:73:6C

Apple (victim)

192.168.1.103

D8:BB:2C:B9:53:EC

Windows server (victim)

192.168.1.109

00:0C:29:B3:CB:B6

Kali Linux (attacker)

192.168.1.106

00:0C:29:5D:A7:F7

 

For instance, if the Apple machine wishes to communicate with the Windows machine located at 192.168.1.109, Apple will send a broadcast...