Wireshark Packet Dissection

Hacking Truth
0

 

Wireshark Packet Dissection

 

 

Packet Dissection


Packet dissection is also known as protocol dissection, which investigates packet details by decoding available protocols and fields. Wireshark supports a long list of protocols for dissection, and you can also write your dissection scripts. You can find more details on dissection here.

Note: This section covers how Wireshark uses OSI layers to break down packets and how to use these layers for analysis. It is expected that you already have background knowledge of the OSI model and how it works.




Packet Details


You can click on a packet in the packet list pane to open its details (double-click will open details in a new window). Packets consist of 5 to 7 layers based on the OSI model. We will go over all of them in an HTTP packet from a sample capture. The picture below shows viewing packet number 27. 



Wireshark Packet Dissection


Each time you click a detail, it will highlight the corresponding part in the packet bytes pane.


Wireshark Packet Dissection


Let's have a closer view of the details pane.


Wireshark Packet Dissection


We can see seven distinct layers to the packet: frame/packet, source [MAC], source [IP], protocol, protocol errors, application protocol, and application data. Below we will go over the layers in more detail.

The Frame (Layer 1): This will show you what frame/packet you are looking at and details specific to the Physical layer of the OSI model. 

 


Read More - Wireshark Network Capture Traffic



Wireshark Packet Dissection


Source [MAC] (Layer 2): This will show you the source and destination MAC Addresses; from the Data Link layer of the OSI model.



Wireshark Packet Dissection


Source [IP] (Layer 3): This will show you the source and destination IPv4 Addresses; from the Network layer of the OSI model.



Wireshark Packet Dissection


Protocol (Layer 4): This will show you details of the protocol used (UDP/TCP) and source and destination ports; from the Transport layer of the OSI model.



Wireshark Packet Dissection


Protocol Errors: This continuation of the 4th layer shows specific segments from TCP that needed to be reassembled.



Wireshark Packet Dissection


Application Protocol (Layer 5): This will show details specific to the protocol used, such as HTTP, FTP,  and SMB. From the Application layer of the OSI model.



Wireshark Packet Dissection


Application Data: This extension of the 5th layer can show the application-specific data.



Wireshark Packet Dissection


Now that we understand what a general packet is composed of, let's look at various application protocols and their specific details.





Disclaimer

All tutorials are for informational and educational purposes only and have been made using our own routers, servers, websites and other vulnerable free resources. we do not contain any illegal activity. We believe that ethical hacking, information security and cyber security should be familiar subjects to anyone using digital information and computers. Hacking Truth is against misuse of the information and we strongly suggest against it. Please regard the word hacking as ethical hacking or penetration testing every time this word is used. We do not promote, encourage, support or excite any illegal activity or hacking.
 
 
 

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.
Post a Comment (0)
Our website uses cookies to enhance your experience. Learn More
Accept !