6 min read

Given a Malware Sample PCAP, What Do You Look At First?

A colleague hands you a suspicious capture. Thousands of packets, a sea of red and yellow flags — where do you even start? This malware pcap analysis walkthrough lays out a fixed order in PcapDecoder: health check, 16-family deep scan, threat card, then the attack graph. It covers how to work through a sample you already have; it does not provide sample pcap files for analysis to download.

Given a Malware Sample PCAP, What Do You Look At First?
SummaryKey Points
  • Start with a health check — don't dive into individual packets first
  • The 16-family deep scan narrows suspects by info / suspicious / critical severity
  • The threat card surfaces tool fingerprints, confidence, and packet indices as reviewable evidence
  • The attack graph connects hosts so you can see who talks to whom

First Stop: Triage Before You Dive In

The most common mistake a newcomer makes with an unknown capture is starting at packet one and scrolling. Tens of thousands of rows later, most of it is perfectly ordinary TCP handshakes, DNS lookups, and keep-alives — and the longer you stare, the more you lose the thread. The right move is to step back, let the tool draw a picture of the whole capture, and only then decide where to dig.

In PcapDecoder, use "Open File" in the top bar or on the home screen to pick the pcap. Once parsing finishes you land in the workspace. Switch to the stats page and start with the overall health verdict: protocol distribution, endpoint and conversation counts, TLS grade, and certificate checks together answer "what is this traffic mostly made of." The report module also produces a one-page health card that rolls up a composite score, severity counts, and top risks. It complements the diagnosis card — the health card says how bad things are, the diagnosis card says which layer broke.

The goal at this stop is not a verdict; it is a sense of scale. An unusually high ARP share, an external address that keeps recurring, a sudden spike in plaintext protocols — each becomes a lead for the next three stops. Hold the health verdict in mind, then move on.

Second Stop: The 16-Family Deep Scan

With a picture in hand, the next job is to narrow suspicion to a handful of behaviors. The stats security overview carries a deep-scan hit summary. It reads the engine's deep-scan report and aggregates each detector family's hits into one glanceable table.

The overview spans 16 detector families: ARP spoofing, LLMNR poisoning, discovery, brute force, extended credential leaks, web shell, lateral movement, remote access, mining, encrypted channels, Kerberos, GPP, phishing, amplification, floods, and DGA domains. A family appears only when it has hits; when nothing is found the card hides itself rather than showing an empty grid.

The part that matters is the severity split. Every hit is normalized into three levels — informational (severity 0), suspicious (1), and critical (2) — and each family counts how many it has. One or two informational hits are usually noise. A critical hit in any family, or suspicious hits across several families at once, is where you focus. A mining and an encrypted-channel family flagging together is typically closer to a real infection than a lone DGA hint; a high critical count in the brute-force family points to an organized password-guessing run.

The output of this stop is a short list of priority families. Carry it into stops three and four, and verify those rather than spreading effort evenly.

Third Stop: The Threat Card

The deep scan tells you which behaviors are suspicious; the threat card answers which specific tool is behind them and where the evidence sits. In the stats security overview, find the threat card — it lists the engine's attack-tool fingerprints one by one.

Each fingerprint gives you at least three things: the tool name, a confidence score, and the packet indices that triggered it. Confidence decides how hard the conclusion is — a high-confidence fingerprint can anchor a verdict, a low-confidence one is only a lead. The packet indices are the most valuable field here because they make the claim reviewable. You don't have to take the card's word for "suspected tool X." Jump back to the packet list by index, open that packet's protocol tree and hex payload, and see for yourself whether the signature string is really there.

The card also carries MITRE tactic IDs and hit counts, which help you place a single signature back into an attack chain. A fingerprint with a MITRE ID and multiple packet hits is a continuous behavior, not a one-off match. A single-packet hit with low confidence? Mark it for follow-up and hold it out of the conclusion.

The trap at this stop is treating a tool fingerprint as a complete verdict. A fingerprint is an identification technique; real attribution comes from multiple stops corroborating each other — which is exactly what the attack graph is for.

Fourth Stop: The Attack Graph

The first three stops look at behavior; this one looks at relationships. The attack graph lives in the attack graph card on the stats page. By default it shows a node count and edge count, then the topology, then a legend.

Reading it is direct. Each node is a host, arranged around a circle; suspicious nodes are red, normal nodes blue. Lines between nodes are conversations, and thicker lines mean more bytes transferred. Edge colors are tiered too — threat edges red, anomaly edges orange, normal edges grey. The legend spells out all four, so there's no guesswork.

What you are hunting for is the red suspicious node and who it connects to. A red node linked only to a few internal hosts by thin grey edges is probably a false positive or scanner residue. A red node reaching several external addresses over thick edges, carrying red or orange threat/anomaly edges, is a communication chain worth pulling on. Cross-reference the priority families from stop two — say lateral movement plus a C2-type fingerprint — and the graph shows which host is acting as the pivot.

The graph zooms and pans: minus / reset / plus buttons sit in the corner, and on desktop Ctrl+scroll zooms while dragging pans. With many nodes, zoom out for the skeleton first, then zoom in on the few edges that matter. "View larger" opens an expanded dialog when the small view gets cramped.

Turning Four Stops into One Workflow

Chained together, the four stops make a reusable workflow for an unknown sample:

  1. Triage — open the pcap, read the protocol distribution and health verdict on the stats page, note the scale of anything abnormal.
  2. Deep scan — read the 16-family hit summary and shortlist priority families by informational / suspicious / critical severity.
  3. Threat card — check each fingerprint's confidence, MITRE ID, and packet indices, then jump back to the packet list to verify the signature.
  4. Attack graph — find the red suspicious nodes and their edges, and reconstruct the communication path against the families you flagged earlier.

The value is in the order: converge, then dig, then reconstruct. Triage keeps you from drowning in detail, the deep scan compresses tens of thousands of packets into a few families, the threat card pins each family to concrete evidence, and the attack graph reconnects the dots into a chain. After one pass you are no longer staring at unreadable packets — you have a defensible conclusion backed by evidence.

One boundary: this covers analyzing a sample you already have. It does not cover live capture, and it does not offer a malware sample to download. Use your own compliant sample to practice. For what a pcap is and how to read a single packet's protocol tree, see the articles on pcap files and the filter cheat sheet.


Related reading: "Reading the TLS 1.3 Handshake" and "Detecting WebShell Traffic".

Malware Analysismalware pcap analysisDeep ScanAttack GraphThreat Hunting
Share
Back to home