Explore our new Cybersecurity Terms Glossary, explained by our experts.
Cybersecurity Terms Glossary
Wireshark is the open-source protocol analyser that decodes captured network traffic packet by packet, reassembles conversations, and makes protocol behaviour visible.

What Is Wireshark?
Wireshark takes a packet capture and explains it. Where a raw capture is a sequence of bytes, Wireshark identifies the protocols in each packet, labels every field, reassembles the streams those packets belong to, and lets you search across the result. More than three thousand protocols are decoded, which is why it has been the standard analysis tool for network engineers and security analysts for two decades.
Gerald Combs started the project in 1998 under the name Ethereal and renamed it Wireshark in 2006 following a trademark issue. It is free, released under the GPL, and runs on Windows, macOS, and Linux.
Confusing these two is the most common mistake newcomers make, and it wastes a lot of time.
| Capture filter | Display filter | |
|---|---|---|
| Applied | Before packets are stored | After, to what is already captured |
| Syntax | Berkeley Packet Filter, as used by tcpdump | Wireshark’s own field-based syntax |
| Example | tcp port 443 | http.request.method == "POST" |
| Reversible | No, discarded packets are gone | Yes, change it at any time |
Display filters are where the power lies, because they address decoded fields by name. dns.qry.name contains "example", tls.handshake.extensions_server_name, tcp.analysis.retransmission, and frame.time >= "Mar 12, 2026 09:00:00" are the kinds of expressions that turn a million-packet file into a few dozen relevant rows.
Most traffic is now encrypted, and Wireshark cannot read payloads without keys. What remains visible is still substantial: addresses and ports, packet sizes and timing, the server name requested in the TLS handshake, certificate details, and the characteristics of the TLS implementation itself.
Decryption is possible in two controlled situations. A browser or application configured to write session secrets to a key log file lets Wireshark decrypt its own traffic, which is the normal approach when testing your own application. Older wireless captures can be decrypted with the network passphrase if the handshake was captured. Neither applies to analysing somebody else’s traffic, and modern forward-secret cipher suites mean possessing the server’s private key is no longer sufficient.
Wireshark’s dissectors parse data supplied by whoever sent the packets, and vulnerabilities in dissectors have been found and fixed regularly. The guidance from the project itself is to capture with a minimal privileged helper and analyse as an unprivileged user, which on most systems means capturing with dumpcap or tcpdump and opening the file afterwards. Do not run the graphical application as root on a production system.
There is also a governance dimension. A full packet capture contains personal data: messages, form submissions, browsing activity, and sometimes credentials. Under UK GDPR that is personal data processing, so you need a lawful basis, a retention period, restricted access, and an entry in your records of processing. Capture narrowly, store encrypted, and delete when the investigation closes.
Wireshark is a depth tool, not a monitoring platform. Continuous visibility comes from Zeek logs and Suricata alerts, which summarise everything cheaply. Wireshark is what you open when those tools point at a specific conversation and you need to know exactly what was in it. That division of labour is how mature teams work, and it is covered further under network forensics.
Our Investigation and Incident Response Services use packet-level analysis to confirm what left a network and when, under documented evidence handling.
Only with the session keys. If an application or browser is configured to export its TLS secrets to a key log file, Wireshark can use that file to decrypt its own traffic, which is standard practice when testing your own services. Modern forward-secret cipher suites mean holding the server’s private key is not enough on its own.
tcpdump captures traffic efficiently from the command line and is ideal on servers. Wireshark decodes and analyses, with protocol dissection, stream reassembly, statistics, and a graphical interface. They use the same capture format, so the common workflow is to capture on the server with tcpdump and analyse the file on a workstation with Wireshark.
Capturing traffic on networks you are authorised to administer, for security and network management, is lawful in the UK. Capturing on networks you do not control, or intercepting colleagues’ communications without authority, is not. Captures contain personal data, so handle them under your data protection obligations and make clear in policy that monitoring takes place.
Its protocol dissectors parse untrusted data from the network, and dissector vulnerabilities have been found repeatedly. A malicious packet could in principle execute code in the context of the process reading it. Capture with a small privileged helper such as dumpcap, then open the resulting file as an ordinary user for analysis.
You May Be Interested In These
We use a few cookies that are needed to make this website work, and they are always on. We would also like to set analytics cookies, to see which pages are useful; functional cookies, so that our live chat works; and advertising cookies, to measure our campaigns. We will not set any of those until you say yes, and you can change your mind at any time from the Cookie Settings link in the footer.
Choose the cookies you are happy for us to use. Strictly necessary cookies are always on; everything else is off until you turn it on.
These cookies keep the website working: they hold your security checks, your form submissions and the choice you make here. The site cannot run without them, so they are always on.
These let our live chat open and remember your conversation, and let the newsletter sign-up work. Switch them off and the chat window will not appear.
These tell us which pages are read and how people find us, so that we can improve the site. The reports are about groups of visitors, never about you personally.
These let us measure our advertising and show you our adverts on other websites, such as LinkedIn, Google and Meta. Switch them off and you will still see adverts, but they will be less relevant.