Use this when tracing attacker communication on the network.
Network Forensics
Network forensics examines packet captures, flow data and proxy or DNS logs to trace attacker communication, data exfiltration and lateral movement.
1. Network forensics analyses packets and flows.
2. Capture at strategic points.
3. Flow logs for long-term.
4. Encrypted traffic: metadata.
5. Hash captures.
traffic → capture → analysis
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- Capturing at a point that does not see the traffic (wrong SPAN port).
- Encrypted traffic with no TLS keys or flow metadata.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Captures, flows, proxy and DNS logs.
- Encrypted traffic limits content view.
- Metadata still tells a lot.
tcpdump -i <if> -w capture.pcap— capturetshark -r capture.pcap -q -z conv,tcp— conversationszeek -r capture.pcap— protocol logs
ReferenceWhy it matters1 section · depth on demand
What it is
Network forensics reconstructs activity from network data: full packet captures (PCAP), flow records (NetFlow/IPFIX), and logs from firewalls, proxies, DNS and IDS. Full packets show content but are large and short-lived; flows show who talked to whom for much longer.
ReferenceHow it works1 section · depth on demand
In depth
Network forensics analyses network traffic and network logs to reconstruct attacker activity: initial access, command and control, lateral movement and data exfiltration. It complements host forensics, especially when endpoints were wiped or lacked logging.
| Source | Shows |
|---|---|
| Full packet capture | Exact content (if unencrypted) |
| Zeek logs | Connections, DNS, HTTP, TLS, SMB metadata |
| NetFlow/IPFIX | Who talked to whom, volumes, timing |
| Firewall/proxy/DNS logs | Allowed/blocked connections, domains, URLs |
| IDS alerts | Known attack signatures |
tshark -r capture.pcap -Y 'dns' -T fields -e frame.time -e ip.src -e dns.qry.name
zeek -r capture.pcap && cat conn.log | zeek-cut id.orig_h id.resp_h id.resp_p orig_bytes
Encrypted traffic limits content analysis, but metadata — timing, volumes, destinations, TLS fingerprints — remains valuable.
ReferenceImportant terms & boundaries1 section · depth on demand
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Digital Forensics → Network Forensics. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://csrc.nist.gov/pubs/sp/800/86/final · confidence 94%