What is network forensics?
Network forensics is the collection and study of network traffic and network device records to learn what happened between systems, such as who...
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 later in a tool such as Wireshark.
Capturing means copying packets as they pass a network interface and writing them to a file. Each saved packet has a timestamp and the bytes that were seen. This gives the most detailed network evidence, because content can be read if it is not encrypted.
Wireshark is passive. It listens and does not send packets of its own.
The pcap format comes from the libpcap library and is widely supported. The pcapng format is newer. It can hold several interfaces in one file and can store comments and extra details such as interface names and capture filters. Wireshark has used pcapng as its default format since version 1.8.
Most analysis tools can open both formats.
Where you capture decides what you see. A capture on one computer shows only that computer's traffic. A capture on a switch mirror port or network tap can show many hosts. Wireless captures need a suitable adapter.
Start with a summary of conversations and protocols, then follow one stream at a time. Look for the hosts, times and amount of data. Keep the original file untouched and work on a copy. Procedures and laws differ by country and agency, so follow your lab's own procedure.
| Capture filter | Display filter | |
|---|---|---|
| When used | While recording | After recording, on screen |
| Effect on data | Packets outside the filter are not saved | Nothing is deleted |
| Can it be changed later | No, lost data is gone | Yes, any time |
A capture filter limits what is saved. A display filter only changes what you see in a file that is already saved.
The hash shows later that the file has not changed since it was collected.
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.