Season 1 Part of Tool Spotlight · Episode 01 of 10
View all 10 episodes →
Tool Spotlight · Episode 01 · Wireshark · Network Analysis · Packet Capture · Threat Hunting · August 16, 2027 · 9 min read

Wireshark Basics for Spotting Suspicious Traffic

Tool Spotlight · Ep 01 Wireshark Network Analysis Packet Capture Threat Hunting · 9 min read
💬 Feedback
1998
When the project behind Wireshark began
It has grown into what its website calls the world's foremost network protocol analyser
Free
Released under the GNU GPL
No licence keys or fees, on as many computers as you like
Hundreds
Of protocols it can decode in depth
From DNS and HTTP to TLS, SMB and Wi-Fi

Every alert, log entry and security dashboard is ultimately a summary of what happened on the network. Wireshark lets you skip the summary and look at the real thing: every packet, every conversation, every DNS lookup. It can be overwhelming at first. With a handful of filters and views, it becomes one of the most useful tools in security.

Tool card What it is: network protocol analyser (packet capture and inspection)
Cost: free and open source (GNU GPL)
Runs on: Windows, macOS, Linux and other Unix-like systems
Command-line version: TShark
Good for: troubleshooting, investigating suspicious activity, learning how protocols work
Skill level: beginner to start, expert to master

What Wireshark Does

Wireshark captures the traffic passing through a network interface and decodes it into something a human can read. Its website describes it as the continuation of a project that started in 1998, offering deep inspection of hundreds of protocols, live capture and offline analysis, and powerful display filters.

The Wireshark user guide lists who uses it: network administrators troubleshooting problems, security engineers examining security issues, developers debugging protocol implementations, and people learning how networks work.

The same guide is equally clear about what it is not. Wireshark is not an intrusion detection system: it will not warn you about suspicious activity. And it is passive: it does not send or modify traffic on the network, apart from name lookups, which you can turn off. Wireshark shows you what is there. Deciding whether it is bad is your job.

Wireshark does not tell you something is wrong. It shows you everything, so you can see for yourself.
Capture only what you are allowed to Network traffic can contain other people's personal data. Only capture on your own devices and networks, or where you have clear written permission, such as your employer's authorisation for a specific task. Never capture on public or shared networks you do not manage. Treat capture files as sensitive and delete them when you are done.

Getting Started

  1. Download it from wireshark.org, the official site, not a third-party download portal. On Windows, the installer includes Npcap, which is required for live capture.
  2. Pick the right interface. The start screen lists your network interfaces with a small activity graph. Choose the one with traffic: usually Wi-Fi or Ethernet.
  3. Capture for a short time. Start, do the thing you want to examine, such as loading a website, then stop. A few seconds of capture can contain thousands of packets.
  4. Learn the three panes. The top pane lists packets; the middle shows the selected packet decoded layer by layer; the bottom shows the raw bytes.
  5. Practise on sample captures. The Wireshark wiki offers sample capture files, so you can learn without capturing anything yourself.

The Display Filters Worth Learning First

Display filters are what make Wireshark usable. Type them into the bar above the packet list. A few to start with:

  • dns shows every name lookup: a fast way to see which domains a device is contacting.
  • ip.addr == 192.168.1.50 shows everything to or from one device.
  • http.request shows unencrypted web requests, which are increasingly unusual and worth a look.
  • tls.handshake.type == 1 shows the start of each encrypted connection, including the server name being requested.
  • tcp.flags.syn == 1 and tcp.flags.ack == 0 shows new connection attempts, useful for spotting scanning.
  • tcp.port in {3389, 445, 23} shows remote desktop, Windows file sharing and Telnet traffic, which should rarely cross the internet.
  • !(ip.addr == 192.168.1.0/24) hides local traffic so you can focus on what leaves the network.

Filters combine with and, or and not (or &&, || and !). Right-clicking any field in the middle pane and choosing "Apply as Filter" builds a filter for you, which is the fastest way to learn the syntax.

How to Spot Traffic That Does Not Belong

Most suspicious traffic is not obvious from a single packet. It stands out in patterns. The Statistics menu is where those patterns appear.

  • Statistics → Conversations. Lists every pair of devices that talked, with how much data moved. Sort by bytes: an unexpected large upload from a workstation to an unfamiliar address deserves a closer look.
  • Statistics → Endpoints. Lists every address seen. Are there destinations nobody can explain?
  • Statistics → Protocol Hierarchy. Shows the mix of protocols. Unexpected protocols, such as IRC or Telnet, stand out quickly.
  • Statistics → I/O Graphs. Plots traffic over time. Malware that "phones home" often does so at regular intervals, which shows up as an evenly spaced pattern of small spikes, known as beaconing.

Signs worth investigating:

  • Lookups for strange, random-looking domain names, or a very high volume of DNS queries from one machine.
  • Regular, small connections to the same external address at fixed intervals.
  • Large outbound transfers at odd hours.
  • Internal devices connecting to many other internal devices on ports such as 445 or 3389, a sign of scanning or lateral movement.
  • Plain-text logins, such as FTP, Telnet or HTTP forms, carrying credentials across the network.

When you find something, check the destination's reputation and look at what is running on the device itself. We cover tools for that later this season, including VirusTotal and Process Explorer.

What About Encrypted Traffic?

Most web traffic is now encrypted with TLS, so you will not see page contents. You still see a great deal: who is talking to whom, when, how much, and usually the name of the site being requested in the TLS handshake. For security work, that metadata is often enough.

For your own traffic, you can go further. The Wireshark wiki explains that Firefox, Chrome and Chromium-based Edge can write their session keys to a file when the SSLKEYLOGFILE environment variable is set. Point Wireshark at that file under Preferences → Protocols → TLS, and it can decrypt your browser's traffic. This is useful for learning and debugging; treat the key file as highly sensitive and delete it afterwards.

Limits to Keep in Mind

  • You only see traffic that reaches your interface. On a modern switched network, you usually see your own device's traffic, not everyone else's, unless the network is set up for monitoring.
  • It is not a monitoring system. Wireshark is for investigation, not round-the-clock alerting. For continuous monitoring, see our finale on Wazuh later this season.
  • Captures grow quickly and can contain sensitive data. Capture narrowly and for short periods.
  • Keep it updated. Wireshark parses complex, untrusted data, and updates regularly fix security bugs in its decoders.

Final Thoughts

Wireshark rewards curiosity. Capture a few seconds of your own traffic, filter for dns, and look at which domains your devices contact when you are not doing anything. Open Statistics → Conversations. You will learn more about how your network actually behaves in an hour than from any diagram, and you will be far better placed to notice when something changes.

Logs tell you what systems think happened. Packets show you what actually did.

Sources and Further Reading

Cyber Insight | Tool Spotlight · Season 1

Making cybersecurity easier to understand, one issue at a time.

Season 1

Tool Spotlight · All 10 Episodes

Free and open-source security tools: what they do and where they fall short.

01
Wireshark basics for spotting suspicious traffic Episode 01 · Now reading
02
Have I Been Pwned and breach-monitoring tools Episode 02 · Published
03
Sysmon for endpoint visibility on Windows Episode 03 · Coming soon
04
Nmap for checking your own network exposure Episode 04 · Coming soon
05
YARA and Sigma rules: writing a first detection Episode 05 · Coming soon
06
CyberChef for decoding and analysing data Episode 06 · Coming soon
07
VirusTotal: using it well and its limits Episode 07 · Coming soon
08
Process Explorer and Autoruns for finding persistence Episode 08 · Coming soon
09
OWASP ZAP for testing your own web app Episode 09 · Coming soon
10
Wazuh: open-source monitoring for a small network Episode 10 · Coming soon
PS
Poorna Sujampathi Rathnayaka
Writer · Cyber Insight · Digital Literacy

I started Cyber Insight because everywhere online people only talk about cybersecurity in technical terms — and most people are left without a proper understanding of how the digital world works. I work in cybersecurity, but I write here for everyone. No jargon. Just clear, honest explanations.