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.
| Issue | How it is handled |
|---|---|
| Lawfulness of the capture | Third parties’ communications may only be intercepted under an order (art. 266-bis of the Code of Criminal Procedure); doing so without grounds is a crime (art. 617-quater of the Criminal Code) |
| Company networks | Monitoring is allowed only within the Workers’ Statute (art. 4), with notice and known rules, following the data protection authority’s guidelines |
| Integrity | Hash of the capture files and chain of custody from the sensor to the report |
| Completeness | Statement of packet losses and of the filters used |
| Times | Documented sensor synchronisation and conversion to UTC |
| Interpretation | What the capture shows must be kept apart from what is inferred from it, such as the link between a domain and a person |
| Repeatability | Filters and commands reported, so that the opposing expert can redo the analysis |
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.
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: 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.
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.