Lab 5.3.2 - Teacher Notes Packet Analysis With Wireshark
Lab 5.3.2 - Teacher Notes Packet Analysis With Wireshark
Lab 5.3.2 - Teacher Notes Packet Analysis With Wireshark
NOTE that there are two file extensions for packet captures - .pcap or .pcapng
GALANTECH with
1
GARDEN STATE CYBER
Copyright © 2024 Cyber Innovation Center
All Rights Reserved. Not for Distribution.
First let’s use the Packet List section to gather information. In this example, PC at 192.168.100.101 wants to
communicate with the PC at 192.168.100.102. We will walk through the steps to make that happen.
1. Click on Packet #1 and point out the Source IP address of 192.168.100.101 and the destination IP
address of 192.168.100.102
2. Look at packets 2 & 3 – you will see that an ARP broadcast is sent out so that the source PC can get
the MAC address for the CP at 192.168.100.102.
3. Go to packets 12, 13 and 14 - then look all the way to the right – you will see the SYN, SYN, ACK and
ACK packets that indicates the three way handshake.
Once all of this is completed, the communication between the two computers begins.
1. Click on Packet 1 – in the Details Section, click on the arrow next to “Ethernet II” – this will open up
that section so that we can find the Source and Destination MAC addresses
2. Click on the arrow next to “Transmission Control Protocol” – this will open up that section so that we
can find the protocol and ports being used in this packet.
Note that we primarily concentrate on the destination protocol and port. The source port number is
usually chosen at random from one of the non-assigned ports, while the destination port is the default
one assigned to the protocol being used. So, in this example the destination port is 80 because we are
using http.
BUT that is not an efficient way of reading the text from packets, especially when the text is broken up
across a lot of packet segments. So the much easier way – is to right click on any packet in the message and
select Follow TCP Stream. And amazingly, Wireshark will put the whole message together for you to read!
Tip: in the pictured Stream Content, the items in red = text that the user has typed in.
GALANTECH with
2
GARDEN STATE CYBER
Copyright © 2024 Cyber Innovation Center
All Rights Reserved. Not for Distribution.
Slide 10 – Finding Info in Wireshark - Search
There are several ways in Wireshark to look for information inside packets. The first is to use the Search
function which is most useful when looking for a word. Wireshark (and computers) recognize words as a
string of characters so you must select String to find words or ASCII characters.
GALANTECH with
3
GARDEN STATE CYBER
Copyright © 2024 Cyber Innovation Center
All Rights Reserved. Not for Distribution.