Share E-Book

Packet Analysis with Wireshark (Anish Nath)(Z-Library)

Author Anish Nath

other
Language English

Leverage the power of Wireshark to troubleshoot your networking issues by using effective packet analysis techniques and performing improved protocol analysis About This Book Gain hands-on experience of troubleshooting errors in TCP/IP and SSL protocols through practical use cases Identify and overcome security flaws in your network to get a deeper insight into security analysis This is a fast-paced book that focuses on quick and effective packet captures through practical examples and exercises Who This Book Is For If you are a network or system administrator who wants to effectively capture packets, a security consultant who wants to audit packet flows, or a white hat hacker who wants to view sensitive information and remediate it, this book is for you. This book requires decoding skills and a basic understanding of networking. What You Will Learn Utilize Wireshark’s advanced features to analyze packet captures Locate the vulnerabilities in an application server Get to know more about protocols such as DHCPv6, DHCP, DNS, SNMP, and HTTP with Wireshark Capture network packets with tcpdump and snoop with examples Find out about security aspects such as OS-level ARP scanning Set up 802.11 WLAN captures and discover more about the WAN protocol Enhance your troubleshooting skills by understanding practical TCP/IP handshake and state diagrams In Detail Wireshark provides a very useful way to decode an RFC and examine it. The packet captures displayed in Wireshark give you an insight into the security and flaws of different protocols, which will help you perform the security research and protocol debugging. The book starts by introducing you to various packet analyzers and helping you find out which one best suits your needs. You will learn how to use the command line and the Wireshark GUI to capture packets by employing filters. Moving on, you will acquire knowledge about TCP/IP communication and its use cases. You will then get an understanding of the SSL/TLS flow wi

Format PDF
Size 11.7 MB
14
Views
0
Downloads
0.00
Total Donations
(First 20 pages)

Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Page 1
(This page has no text content)
Page 2
(This page has no text content)
Page 3
Packet Analysis with Wireshark
Page 4
Table of Contents Packet Analysis with Wireshark Credits About the Author About the Reviewers www.PacktPub.com Support files, eBooks, discount offers, and more Why subscribe? Free access for Packt account holders Preface What this book covers What you need for this book Who this book is for Conventions Reader feedback Customer support Downloading the example code Errata Piracy Questions 1. Packet Analyzers Uses for packet analyzers Introducing Wireshark Wireshark features Wireshark’s dumpcap and tshark The Wireshark packet capture process Other packet analyzer tools Mobile packet capture Summary 2. Capturing Packets
Page 5
Guide to capturing packets Capturing packets with Interface Lists Common interface names Capturing packets with Start options Capturing packets with Capture Options The capture filter options Auto-capturing a file periodically Troubleshooting Wireshark user interface The Filter toolbar Filtering techniques Filter examples The Packet List pane The Packet Details pane The Packet Bytes pane Wireshark features Decode-As Protocol preferences The IO graph Following the TCP stream Exporting the displayed packet Generating the firewall ACL rules Tcpdump and snoop References Summary 3. Analyzing the TCP Network Recapping TCP TCP header fields TCP states TCP connection establishment and clearing TCP three-way handshake
Page 6
Handshake message – first step [SYN] Handshake message – second step [SYN, ACK] Handshake message – third step [ACK] TCP data communication TCP close sequence Lab exercise TCP troubleshooting TCP reset sequence RST after SYN-ACK RST after SYN Lab exercise TCP CLOSE_WAIT Lab exercise How to resolve TCP CLOSE_STATE TCP TIME_WAIT TCP latency issues Cause of latency Identifying latency Server latency example Wire latency Wireshark TCP sequence analysis TCP retransmission Lab exercise TCP ZeroWindow TCP Window Update TCP Dup-ACK References Summary 4. Analyzing SSL/TLS An introduction to SSL/TLS SSL/TLS versions
Page 7
The SSL/TLS component The SSL/TLS handshake Types of handshake message Client Hello Server Hello Server certificate Server Key Exchange Client certificate request Server Hello Done Client certificate Client Key Exchange Client Certificate Verify Change Cipher Spec Finished Application Data Alert Protocol Key exchange The Diffie-Hellman key exchange Elliptic curve Diffie-Hellman key exchange RSA Decrypting SSL/TLS Decrypting RSA traffic Decrypting DHE/ECHDE traffic Forward secrecy Debugging issues Summary 5. Analyzing Application Layer Protocols DHCPv6 DHCPv6 Wireshark filter Multicast addresses The UDP port information
Page 8
DHCPv6 message types Message exchanges The four-message exchange The two-message exchange DHCPv6 traffic capture BOOTP/DHCP BOOTP/DHCP Wireshark filter Address assignment Capture DHCPv4 traffic DNS DNS Wireshark filter Port Resource records DNS traffic HTTP HTTP Wireshark filter HTTP use cases Finding the top HTTP response time Finding packets based on HTTP methods Finding sensitive information in a form post Using HTTP status code References Summary 6. WLAN Capturing WLAN capture setup The monitor mode Analyzing the Wi-Fi networks Frames Management frames Data frames Control frames
Page 9
802.11 auth process 802.1X EAPOL The 802.11 protocol stack Wi-Fi sniffing products Summary 7. Security Analysis Heartbleed bug The Heartbleed Wireshark filter Heartbleed Wireshark analysis The Heartbleed test Heartbleed recommendations The DOS attack SYN flood SYN flood mitigation ICMP flood ICMP flood mitigation SSL flood Scanning Vulnerability scanning SSL scans ARP duplicate IP detection DrDoS BitTorrent Wireshark protocol hierarchy Summary Index
Page 10
(This page has no text content)
Page 11
Packet Analysis with Wireshark
Page 12
(This page has no text content)
Page 13
Packet Analysis with Wireshark Copyright © 2015 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. First published: November 2015 Production reference: 1261115 Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK. ISBN 978-1-78588-781-9 www.packtpub.com
Page 14
(This page has no text content)
Page 15
Credits Author Anish Nath Reviewers Michael Downey Robert Juric Mikael Kanstrup Acquisition Editor Indrajit Das Content Development Editor Rohit Singh Technical Editor Mrunmayee Patil Copy Editor Stephen Copestake Project Coordinator Mary Alex Proofreader Safis Editing Indexer Monica Ajmera Mehta Production Coordinator Nilesh Mohite Cover Work Nilesh Mohite
Page 16
(This page has no text content)
Page 17
About the Author Anish Nath is a software engineer who has more than 10 years of experience. He works at CISCO, and at CISCO, he started using Wireshark for the first time. He is thankful to CISCO. He doesn’t speak much, but likes to explore new things that he has not tried or not thought of. He also tries his best to be successful at this. Though he fails a lot of time, this gives him more experience, and when success comes, he thanks all of his efforts that had failed him initially. You can reach him at https://in.linkedin.com/in/anishnath, and his Twitter handle is @anish2good. I would like to thank my friends, Arnab Biswas, Arun John, Ganesh Choudhari, Mayank Johari, Pradeep Sivakumar, Prakash John, Deepak Kukrety, and Veeksha Vasant for supporting me in this venture. I’ve definitely learned a lot from their experience. I would also like to thank, Alice Chen, Tin Nguyen, Sunil Menon, Saad Abderrazzaq, Ori Lior, Mahin Khani, Donn Coe, Rob Andrews, and Lon Barrett, for their support and belief in me all this time and also for providing me assistance when I needed it. Special thanks to the Wireshark community and its developers for writing an awesome tool like this. Thanks to all my reviewers who made an effort so that this book took the correct shape. My apologies if I’ve missed anyone. Thanks to Packt Publishing and the entire team, especially Indrajit Das and Rohit Singh for making this happen.
Page 18
(This page has no text content)
Page 19
About the Reviewers Michael Downey is a security analyst with a passion for *nix operating systems and network security monitoring. He is also the cofounder of the Evansville Linux User Group in Indiana, and a contributing member of OpenNSM (http://www.open-nsm.net/). In his free time, he enjoys security research and an occasional game of disc golf. Robert Juric, while working as a network engineer, has supported government agencies, large corporations, and service providers. From his experience, he learned the value of packet analysis and has come to enjoy the details that it provides. When not at work, Robert enjoys spending time outdoors with his wife and young son. He occasionally writes articles for his website, robertjuric.com, or can be found on Twitter at @robertj180. Mikael Kanstrup is a software engineer with a passion for adventure and thrills in life. In his spare time, he spends his time kitesurfing, riding motocross, or just going outdoors with his family and two kids. Mikael has a BSc degree in computer science and years of experience in embedded software development and computer networking. For the past decade, he has been working as a professional software developer in the mobile phone industry.
Page 20
(This page has no text content)
The above is a preview of the first 20 pages. Register to read the complete e-book.

Recommended for You

Loading recommended books...
Failed to load, please try again later

Tip the Site

Scan the WeChat Pay or Alipay code to tip. No login required.

WeChat Pay
Alipay
Back to List