You have a PCAP file. Maybe someone emailed it to you. Maybe it is a CTF challenge. Maybe you captured it yourself three months ago and forgot what it was about. Either way, you are staring at thousands of packets and need to figure out what is going on.
Here is the workflow I use every time. It is not magic, but it works.
Start with the big picture
Before you look at individual packets, zoom out. You want to understand the shape of the traffic before you get into the details.
Open the capture and look at three things first:
- How many packets are there? A 500-packet capture is a very different problem than a 500,000-packet one. This tells you how much time you should expect to spend.
- What protocols are present? The protocol breakdown gives you a fingerprint of the traffic. A capture that is 90% DNS is telling you something very different than one that is 80% TLS.
- How long is the capture? A 2-second burst and a 4-hour passive capture require completely different analysis approaches.
On PcapHub, you get all of this from the capture page before you even open the viewer. The protocol distribution chart, packet count, and duration are right there.
Identify the endpoints
Next question: who is talking to whom?
Look at the source and destination addresses. In most captures, you will see a pattern pretty quickly. There is usually a small number of hosts doing most of the talking. Identify those first.
If you see RFC 1918 addresses (10.x, 172.16-31.x, 192.168.x), those are internal hosts. If you see public IPs, you can look them up to find out what service or organisation they belong to.
Sort by source or destination address to group conversations together. This makes patterns jump out much faster than scrolling through packets in order.
Follow the protocols
Now you know who is talking and what protocols they are using. Pick the most interesting one and dig in.
DNS is always a good place to start. It tells you what domains were being resolved, which gives you context for everything else in the capture. If you see queries for update.malware-c2.evil, that changes your entire analysis.
HTTP traffic (if unencrypted) is gold. You can see the full request and response, including URLs, headers, and sometimes the body. Look for anything unusual: strange user agents, large POST requests, or connections to unexpected domains.
TLS is trickier since you cannot see the payload, but the handshake still tells you a lot. The Server Name Indication (SNI) field in the Client Hello reveals which domain the client was trying to reach. The certificate information in the Server Hello tells you about the server's identity.
TCP flags tell you about connection state. A flood of SYN packets without corresponding ACKs might indicate scanning. RST packets can indicate refused connections or firewall blocking.
Check the Suricata alerts
If you are using PcapHub, every upload is automatically scanned against 49,000+ Suricata ET Open rules. This is essentially a free first pass from an IDS.
Do not treat alerts as gospel. They are signals, not verdicts. A single "ET POLICY" alert might just be normal software update traffic. But a cluster of "ET TROJAN" or "ET MALWARE" alerts on the same connection is worth investigating immediately.
Look at the alert severity and the signature name. Suricata signatures are well-named and usually tell you exactly what the rule is looking for.
Use display filters
Once you have a theory about what is happening, use display filters to isolate the relevant traffic. Some filters I use constantly:
tcp.port == 443to see all HTTPS trafficdns.qry.name contains "suspicious"to find specific DNS querieshttp.request.method == POSTto find data being senttcp.flags.syn == 1 && tcp.flags.ack == 0to find connection initiationsip.addr == 192.168.1.100to isolate traffic from a specific host
Filters are the single most powerful tool in packet analysis. Learn to use them well and you can find anything in any capture.
PcapHub's packet viewer supports Wireshark-compatible display filters. You can type them directly into the filter bar and hit Enter to apply.
Follow the streams
Individual packets are hard to read in isolation. TCP stream reassembly puts the conversation back together so you can read it as a continuous exchange.
This is especially useful for HTTP, SMTP, FTP, and any other text-based protocol where the conversation spans multiple packets. Instead of piecing together fragments, you see the full request and response in order.
When you find something interesting in the packet list, follow that stream to see the complete picture.
Document what you find
As you work through the capture, write down what you find. Even a few bullet points are better than nothing. Include:
- What hosts are involved and their roles (client, server, attacker, victim)
- What protocols are in use and whether anything looks unusual
- Any alerts that fired and whether they seem legitimate
- Timestamps of key events
- Your conclusion about what the traffic represents
If you are sharing the capture with others (on PcapHub or otherwise), a good description saves the next person hours of work.
The short version
- Big picture first: packet count, protocols, duration
- Identify the main endpoints
- Follow the most interesting protocol
- Check the IDS alerts
- Filter to isolate specific traffic
- Follow streams for full conversations
- Write down what you found
There is no shortcut to getting comfortable with packet analysis. But having a consistent workflow means you always know what to do next, even when the capture is completely unfamiliar. The more captures you look at, the faster you get at recognising patterns.
Every capture has a story. Your job is to find it.