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.
Case built for teaching purposes.
At a professional firm, the front office mailbox sends messages to clients at night. The firm has a network sensor for security, provided for in its internal rules and known to staff.
| Source | What it shows | Value |
|---|---|---|
| Sensor DNS log | At 10:02 UTC the front office PC requests a domain resembling that of the mail service | First contact with the fake page |
| TLS and volumes | Encrypted connection to that domain and, a minute later, an upload of a few kilobytes | Probably a form being filled in |
| Flow records | No other device in the office contacted that domain | Origin narrowed down |
| Mailbox | A “mailbox verification” message received at 09:58 UTC | Explanation of the contact |
| Mail service logs | At 10:14 UTC a login to the account from a foreign address never seen before | Use of the stolen credentials |
| Sensor clock | Synchronised and checked when capture started | Comparable times |
Nobody read the content of the encrypted connection, and there was no need to: the order of events, from the message to the fake page to the foreign login, emerges from the metadata and the mail service logs. The collection was lawful because the firm had informed its staff and used it for network security.
Network traffic: checklist
The checklist for network traffic analysis: before, during and after capture.
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: 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.
Network traffic: frequently asked questions
Short answers to the most common questions about network traffic analysis as evidence.