Network traffic: mistakes to avoid
The most common mistakes in traffic analysis: capturing without legal grounds, capturing everything, forgetting the clock, losing packets, analysing the original, treating encrypted traffic as empty, trusting names, confusing address and person.
- Capturing without legal grounds
- Other people’s traffic is protected: without a legal basis the evidence is unusable and the capture may be a crime.
- Capturing everything
- More data than necessary means more personal data to protect and more noise to analyse.
- Forgetting the clock
- An unrecorded drift makes it impossible to align the capture with the logs.
- Losing packets
- Slow interfaces and disks drop traffic silently: the drop counter must be checked.
- Analysing the original
- Every tool is used on copies, with the original sealed and its hash recorded.
- Treating encrypted as empty
- Metadata, volumes and domain names say a lot even without the content.
- Trusting names
- A domain in DNS does not prove a page was viewed: it must be compared with other evidence.
- Confusing address and person
- Behind one address there may be many devices and many people.
Network traffic: value in court
The value of traffic captures in court under Italian law: lawfulness and interception, monitoring on company networks, integrity, completeness, times, keeping data apart from inferences, repeatability of the analysis, installing interception equipment.
The pages of this topic
Back to the overviewNetwork traffic: how it works
How traffic analysis works: full captures, flow records, firewalls, DNS, proxies, sensors such as Zeek, Wi-Fi and phones; what remains visible with HTTPS and why the network’s memory is short.
Network traffic: step-by-step procedure
How traffic is acquired and analysed: check the legal grounds, choose the capture point, limit the scope, synchronise the clock, capture, compute the hash, preserve the originals, analyse, report.
Network traffic: tools
Tools for network traffic: Wireshark, tshark, tcpdump, Zeek, Suricata, NetworkMiner, capinfos and sha256sum, with an example run on a test capture.
Network traffic: a worked case
A worked case: at a professional firm an employee’s mailbox is used by a stranger; DNS, TLS and volumes from the network sensor, the phishing message and the mail service logs reconstruct the sequence without reading the encrypted content.
Network traffic: checklist
The checklist for network traffic analysis: before, during and after capture.
Network traffic: frequently asked questions
Short answers to the most common questions about network traffic analysis as evidence.