Packet capture and PCAP files
A packet capture records the packets seen on a network link and saves them to a file, most often in the pcap or pcapng format, so they can be studied...
Network forensics is the collection and study of network traffic and network device records to learn what happened between systems, such as who talked to whom, when, and how much data moved.
Network forensics looks at data that travels across a network and at records kept by network devices. Examples are captured packets, flow records, DNS logs, firewall logs and alerts from intrusion detection systems.
NIST SP 800-86 lists network traffic as one of the main data sources in an investigation, next to files, operating systems and applications.
A disk keeps data until it is deleted or overwritten. Network traffic is gone the moment it passes, unless something recorded it. So the main question is often what was recorded and for how long, not what can be recovered later.
Network evidence also shows activity between machines, which a single disk cannot show.
Investigators ask who contacted which address, at what time, using which service, and how much data was sent. Different sources answer at different levels of detail.
Network data can contain private information of many people, so access and collection need authority. Procedures and laws differ by country and agency, so follow your lab's own procedure.
Clocks on devices can differ, so always note the time source and any offset.
An organisation sees large data leaving a server at night. The team checks flow records to find the destination address and the amount sent, then asks for the matching DNS logs to learn which name was used.
Packet captures, flow records and logs such as DNS, firewall or proxy logs. IDS alerts are another source.
Traffic is only available while it passes, so it must be recorded at that time or it is lost.
Written in our own words from public forensic training material and standards. Last reviewed 24 Nov 2026. Procedures and laws differ by country and agency. Follow your own lab's procedure.