Skip to content

Reading a Saved Capture in Wireshark

Inspect an offline capture in Wireshark, verify decoded fields against saved packet bytes and record the settings needed to reproduce your view.

By Reviewed by Jeevesh Kumar

Last updated:

Read a saved capture in Wireshark by checking the file’s scope, locating candidate packets with a display filter and verifying the fields that support your answer. The packet list helps orient you. Packet Details shows the analyzer’s interpretation, and Packet Bytes gives access to the recorded data underneath.

Keep the working and preserved files linked in your notes. Record the frame references, display filter, time basis and settings that matter to your interpretation. A reviewer should be able to start with the same saved file and recover the fields cited in your finding.

Key terms

Packet list
The pane that summarizes the displayed frames. Use it to locate a candidate and keep its source frame number for review.
Packet Details
The pane showing the decoded protocol tree and generated analysis. It identifies the specific layer and field corresponding to a displayed value.
Packet Bytes
The pane showing bytes available for the selected packet or data source. When the tool provides multiple byte sources, identify which one supports the field you cite.
Display filter
An expression that selects which saved records Wireshark displays. Its result depends on the decoded fields, expression semantics and tool version.
Dissector
Code that interprets available bytes according to a protocol format. A decoded field is meaningful only when the protocol and interpretation are supported.
Decode As
An override of the default dissector for a supported selector. Record it because another reviewer can otherwise see a different protocol tree for the same bytes.
More key terms (2)
Configuration profile
A named set of Wireshark preferences and settings. It helps a reviewer reproduce display and interpretation choices.
Generated analysis field
A value or label derived by the analyzer from records and context. Cite the underlying observations when the field supports a material finding.

Open and Characterize the Saved File

Use File → Open to open the verified working copy of a supplied capture. Record its evidence identifier, filename and the Wireshark version. Review Capture File Properties under Statistics for the format, observed time range, encapsulation and available interfaces. Note the number of saved packets before narrowing the view. If the capture has multiple interfaces, record which one is relevant to your question.

Choose a time basis before comparing packets. Time since the first captured packet is helpful for the sequence within one file. An absolute time with a stated zone or an epoch timestamp lets another reviewer align an observation with a log. Preserve the source timestamp when comparing clocks. A displayed delta since the previous visible packet changes with the display filter and answers a different timing question from the delta since the previous captured packet. Wireshark Time Display Formats

Check the interface and frame counts every time you reopen a derivative that someone else prepared. A similarly named file might contain only selected traffic. A property mismatch gives you a straightforward way to catch the wrong input before a plausible-looking frame leads you to an unsupported finding.

Read the Packet List, Details and Bytes

Select a candidate row in the packet list. In Packet Details, start with the Frame group for the time and lengths, then expand the link, network and transport layers that apply. For a decoded application field, select that field and look for the corresponding highlighted bytes. Some values such as frame numbers or derived analysis labels are generated by the tool and may have no corresponding stored bytes. Wireshark Main Window and Analysis Panes

Follow a field from the row to its protocol detail and byte position when building an exhibit.

Scroll horizontally if needed to see the full table.

Part of the InterfaceGood UseRecord in the Examination Notes
Packet ListFind a candidate by frame number, direction or timeFrame number and time format
Packet DetailsVerify the protocol and the exact fieldExpanded field name, value and interpretation
Packet BytesVerify stored bytes behind a decoded fieldRelevant bytes or position where it matters
Capture File PropertiesCheck file format, time range and available interfacesSource identifier, packet count and applicable interface

Read the Source and Destination values in their protocol context. The link sender and IP source can refer to different layers, and the Info column is a compact summary of the dissector’s interpretation. The most direct way to support a claim is to name the expanded field, value and frame where you verified it. For a reassembled message, identify the part of the decode whose text or bytes came from other frames.

If you need to explain a protocol identifier, look at both the hexadecimal bytes and how Wireshark formats the value. An analyzer can display leading zeros or a decimal representation while another tool uses a shorter hexadecimal value. Cite a consistent representation and retain enough context for the reviewer to recognize the equivalent.

Use a Filter That Matches the Question

Start with a simple protocol filter such as udp and check the number of displayed packets. If a report turns on a specific value, use a field filter and verify a positive example in Packet Details. A valid filter can return zero rows because the packets lack the decoded field or the dissector could not read it. Clear the filter when you need to confirm what else is available. The frame number stays tied to the saved record while you filter and sort. Wireshark Display Filtering

When you avoid name resolution, numerical addresses remain directly comparable with the packet data and with another reviewer’s notes. If a name appears in the display, check its source before treating it as an observed protocol value. When settings such as protocol decoding or reassembly affect the results, record them in your method along with the filter. A narrow view supports repeatable evidence selection when the starting file and tool context are known.

Record the order of the actions when one view creates another. Following a stream applies a display filter selecting that stream in Wireshark. Check the filter bar if the surrounding traffic appears to have disappeared after closing the stream window. Wireshark Protocol Stream View

Check the filter bar and clear the display filter to inspect the surrounding traffic again.

Build a Small Reproducible Exhibit

Capture the finding in a short table with frame number, observed direction, timestamp basis, field and value. Add the source evidence identifier and the exact display filter. If a displayed value or reassembly depends on a tool interpretation, state that in the note. Quote or include only the fields relevant to the authorized question. The full source remains available through its evidence reference.

Before handing the exhibit to a reviewer, repeat the steps from an unfiltered copy and confirm each reference. Look at neighboring frames for context. When you export selected frames, verify the relationship between their numbers in the new file and the original references. A reviewer can then distinguish a packet index created by the export from the frame number cited in the original capture.

A screenshot can show how the fields appear together, while a short record of the file identifier, frame number and field names lets a reviewer inspect them directly. If the display shows a resolved label, retain the numerical value in the exhibit.

Verify Which Header a Display Filter Matched

A display filter can match a field that appears more than once in a frame. For Internet Protocol version 4 (IPv4), ip.addr can match either IPv4 endpoint and can also refer to addresses in nested headers. The matching row tells you that the comparison succeeded. Expand Packet Details to locate the header carrying the value before describing the packet’s direction or origin. Wireshark Display Filter Expressions

In the hypothetical Quoted Header Practice, a saved trace shows an Internet Control Message Protocol (ICMP) error from a router to a test client. The client’s earlier destination, 198.51.100.20, appears only in the original IPv4 header quoted inside the error. The display filter ip.addr == 198.51.100.20 matches the error. Expand the outer IPv4 layer and the IPv4 header inside the ICMP message to see which occurrence supplied the match.

In this diagnostic trace, expand the Internet Control Message Protocol error and the quoted header to locate the field that matched.

Record the outer source and destination, the ICMP type and the quoted destination in separate columns. The exhibit supports an error message referencing traffic addressed to the test endpoint. The outer header identifies the recorded sender of the error, and the quoted header supplies context about the earlier traffic.

Reproduce a Finding That Depends on Reassembly

When a decoded field comes from bytes in several frames, open the reassembled bytes tab and record the contributing frames. Wireshark may display the higher-layer message at the frame where it completes reassembly. Preserve the frame where the tool displays the value and the references for the actual bytes that support it. Wireshark Packet Reassembly

In the hypothetical Split Status Line Practice, a saved HTTP response begins in frame 21 and continues in frame 23. A frame from a separate conversation appears between them. With the relevant reassembly enabled, the HTTP dissection in frame 23 shows the full status line. An exhibit can cite frames 21 and 23 as contributors and identify frame 23 as the dissection location. A time claim about the first observed response bytes would use frame 21.

Use frame 21 for the first observed response bytes and frame 23 for the completed dissection. Cite both contributing frames.

If another examiner gets a different display, compare the relevant protocol preferences and confirm which byte ranges are present before interpreting the discrepancy. Missing segments can prevent reconstruction. The remaining bytes may support a narrower finding, which should cite the surviving fields and their recorded frames.

Test Filter Logic With Known Positive and Negative Frames

A compound display filter should express the traffic relation you intend to inspect. In current Wireshark versions, a comparison such as tcp.port == 443 matches if at least one occurrence matches, while tcp.port != 443 requires all occurrences to differ. tcp.port can represent both transport endpoints. The User’s Guide also notes that the meaning of != changed in Wireshark 3.6, so record the version used for a finding. Wireshark Display Filter Expressions

Scroll horizontally if needed to see the full table.

Filter to checkWhat the test should establish
`tcp.dstport == 443`Selects the request to 443 in the example
`tcp.port == 443`Selects the request and response on 443
`tcp && tcp.port != 443`Selects the third example frame and excludes the UDP frame

In a hypothetical saved capture, one frame is a TCP request from port 51000 to 443, another is a response from 443 to 51000 and a third is a TCP frame from 51001 to 8443. If the question concerns requests sent to 443, use tcp.dstport == 443 and verify all three frames against the intended selection. A filter on tcp.port without a direction would include both directions of the first conversation.

One more check is a frame where no TCP field is present. A DNS datagram carried in UDP can help validate whether the expression is genuinely restricted to TCP. For a statement about TCP traffic with neither port equal to 443, make the protocol restriction explicit and confirm at least one expected result by opening both port fields. Separately assess frames whose transport header was unavailable where they affect the question.

Test a Manual Decode Against Independent Protocol Evidence

Wireshark chooses a dissector using available protocol context. The Decode As dialog can override that choice for supported selectors. Treat the override as an analytical setting and document the selector and protocol. A decoder can consume bytes according to its own rules even when the proposed protocol is wrong. Check several expected values and their location before making a message-level claim. Wireshark Protocol Dissection Controls

In a hypothetical offline service trace, the default view labels TCP payload on port 18080 as data. The accompanying lab documentation specifies HTTP on that port. A manual HTTP decode exposes a request line and a response line. Verify the decoded tokens against the packet bytes, confirm that the request and response use opposite directions, and check that the surrounding message structure is consistent. Record the frames and any necessary reassembly settings.

In this saved training trace, compare the default and manual interpretations and retain the Decode As setting in the exhibit.

Keep a note of the default interpretation alongside the manual test. If the proposed decoder shows a field in one frame but fails to parse otherwise compatible frames, check whether those frames are truncated, belong to another conversation or carry a different protocol. An analyst can still document the retained TCP bytes and direction while leaving application identification open. A review profile with the documented override makes this comparison repeatable.

Verify What a TCP Analysis Flag Measures

Wireshark’s TCP analysis can mark a record with a label derived from neighboring records and the state tracked by the dissector. One example is TCP ACKed unseen segment. The documented condition compares the observed acknowledgment with the next sequence number expected from recorded reverse-direction traffic. The flag depends on the state the analyzer could build from the file. Wireshark TCP Analysis

In a hypothetical trace, the analyzer labels frame 35 as TCP ACKed unseen segment. Verify the raw acknowledgment and identify the highest contiguous sequence range visible in the records for the acknowledged direction. Then review the file’s observation points, interval and relevant settings. A captured acknowledgment advancing beyond recorded bytes supports the peer’s report of reception. The visibility of the corresponding data segments remains a separate question.

Record the flags, direction and ranges in the exhibit, and identify the preference governing TCP sequence analysis. If two reviewers get different labels, check whether they opened the same input and used the same profile before comparing the field readings. The generated label helps locate a gap to explain. The underlying fields and coverage evidence determine what can be stated about it. Wireshark Configuration Profiles

Casework Example

Lesson Review

Check Your Understanding

Question 1 of 5· 0 answered
Where should you verify a specific decoded field after locating a candidate row?

Test yourself on Network Forensics with free, timed mocks.

Practice Network Forensics questions

Found this useful? Pass it along.