Packet Analysis with Wireshark
Use packet captures in an authorised lab to investigate DNS, TCP handshakes and network timing.
Educational reference drafted for the Nullwire archive. This is not a claim of completed training or original research; verify examples and customise before presenting it as finished work.
Objective
Learn how to form and test hypotheses using traffic captured on your own system or an authorised test network.
Begin with a question
Do not collect packets simply because they are available. Decide whether you are investigating name resolution, connection establishment, retransmissions or application behaviour.
Wireshark distinguishes capture filters from display filters. Capture filters select traffic before recording; display filters operate on packets already captured.
Useful display filters
dns
tcp
tcp.analysis.retransmission
ip.addr == 192.0.2.10
tcp.port == 443
192.0.2.10 is a documentation-only address, not a real target. On your own capture, substitute an address you’re authorised to inspect.
A safe lab
- Start a capture on your own loopback or lab network interface.
- Open
https://example.comin a browser. - Stop the capture after a short interval.
- Locate the name lookup, if visible.
- Inspect the connection handshake or QUIC traffic.
- Note when TLS encryption begins and what packet metadata remains observable.
Not every environment exposes the same packets. DNS may be cached or encrypted, and browsers may use HTTP/3. Explain these differences rather than assuming missing packets indicate a problem.
Interpret carefully
TCP retransmissions can result from congestion, loss, or capture artefacts. A single display-filter match is evidence of a packet property, not proof of malicious activity.
Evidence handling
Packet captures can include credentials, session data and private communications. Keep captures private and redact before sharing.
Next: Detection Engineering.