Wireshark 5.0.0 Is Out, With Local Process Information in Packet Captures
The Wireshark project announced the stable release of its network protocol analyzer, Wireshark 5.0.0, on December 3.
Wireshark examines network packets and is used for troubleshooting and software development. IP addresses and port numbers provide clues about the other endpoint and the kind of traffic involved.
When a PC sends unexpected traffic, for example, identifying the destination may leave another question: which program was involved?
Version 5.0.0 can associate packets with processes. According to the release notes, process information can be recorded by the Wireshark application, its command-line counterpart TShark, and the Dumpcap capture utility.
In basic mode, Wireshark's default, it records the process ID (PID), name, and start time. The start time is especially useful. If a PID is reused, a different start time helps distinguish the two runs.
A new Processes profile adds PID and process name columns to the packet list. The saved information is also available as frame.process analysis fields.
Users can investigate the processes involved in traffic from the same view where they examine packet contents and timestamps. That should make it easier to match network records with local activity while investigating a problem.
Identifying processes from OS socket data
According to the Dumpcap 5.0.0 manual, process information is available for packets associated with TCP or UDP sockets, the communication endpoints the OS manages. Dumpcap finds the process from the OS's socket list. Saving the associated information requires the pcapng format.
The socket must still exist when the packet is captured. Process information may be missed when a socket disappears quickly.
Wireshark 5.0.0: identifying processes on the capture device
| OS | Without extra privileges | Requirements for identifying all processes |
|---|---|---|
| Windows | All processes in scope | |
| Linux | Current userOnly | root or CAP_SYS_PTRACE |
| macOS | Current userOnly | root |
| Dumpcap capture requirements | ||
| Traffic in scope | TCP and UDP sockets on the capture device | |
| File format | pcapng | |
| Capture requirement | Socket must still exist at capture time | |
| Missed records | Short-lived sockets may be missed | |
| Multiple candidates | Records every candidate identified | |
Which processes can be identified depends on the operating system and privileges. On Windows, all processes are in scope. On Linux and macOS, the default scope is the current user's processes. On Linux, other users' processes can also be identified if Dumpcap runs as root or has CAP_SYS_PTRACE. On macOS, that requires running as root.
Multiple local processes may be involved in sending or receiving packets, for example with multicast traffic. Wireshark records every candidate it identifies.
Process names are useful clues. If there are multiple candidates, packet contents and timing can help distinguish them. Knowing the conditions under which the data was captured also helps when investigating what happened on the device.
Full mode can record sensitive information
In addition to the information recorded in basic mode, full mode can save the executable path, command line, parent process ID, and information about the user running the process.
If several programs have similar names, the file's location and the arguments passed at startup can help identify which executable was involved in the traffic.
The more information a capture contains, the more care it takes to handle it. The Dumpcap manual notes that command lines can contain passwords or authentication tokens. Full mode saves command lines as they are, including any passwords or tokens they contain.
Even basic mode records process names. When sharing capture files created in 5.0.0, the sensitivity of process information matters alongside the contents of the packets.
The included editcap utility can create a file with process information and packet references to it removed using the --discard-process-info option. The editcap manual covers the details.
Packet contents can still contain sensitive data after process information is removed. Review the capture with the purpose of sharing it in mind.
Wireshark 5.0.0: process data in basic and full modes
| Field | Basic (default) | Full |
|---|---|---|
| Process ID (PID) | Recorded | Recorded |
| Process name | Recorded | Recorded |
| Start time | Recorded | Recorded |
| Executable path | Not recorded | Recorded |
| Command line | Not recorded | Recorded |
| Parent process ID | Not recorded | Recorded |
| Current user | Not recorded | Recorded |
| Sharing a capture | ||
| Basic mode | Process names may be sensitive | |
| Full mode | Saves command lines as entered | |
| Examples of sensitive data | Passwords and authentication tokens | |
| Before sharing | Remove process information with editcap | |
| After removal | Packet contents may still be sensitive | |
Expanded HTTP/3 analysis and capture storage
Wireshark 5.0.0 also expands HTTP/3 analysis. It can reassemble fragmented data and decompress content encoded with gzip, deflate, Brotli, or Zstandard.
New features let users follow streams and export objects from the traffic. Wireshark can also match requests and responses, making it easier to tell what came back in response to a request.
Capture files themselves can now be saved with Zstandard compression. That adds Zstandard support in two places: decompressing HTTP/3 data and compressing capture files for storage.
Settings for repeat investigations and system requirements
Configuration profiles can now have a hierarchy. Child profiles can inherit saved filters, packet coloring rules, and other settings from a parent profile.
For example, users can save commonly used filters in the parent and create child profiles for troubleshooting or testing a specific protocol. Each can inherit common settings while serving a different purpose.
A new statistics feature counts how often values occur in a selected analysis field. Used with process information, it could tally how often process names appear as well as let users examine individual packets.
The interface adds themes for users with color vision differences and high-contrast themes. It also supports zooming the entire window.
The minimum Windows requirement is Windows 10 version 21H2 (build 19044) or Windows Server 2022. The MSI installer no longer includes the Visual C++ Redistributable, which must be installed separately.
On Linux, update notifications are available on distributions that support PackageKit over D-Bus. Updates are handled through the distribution's software center. The update check excludes Flatpak, Snap, AppImage, and custom builds from source.
Wireshark 5.0.0 installers and source code are available from the download page.
Network traffic can tell you a great deal on its own. Process information makes it possible to see more specifically what was running on the PC and may change how you look at the ordinary traffic your computer generates.
KioskNews shows a cleaned-up reading view extracted from the publisher’s page — the original always lives on their site, not ours.
