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...
Encrypted traffic hides its content, but an investigator can often still see who connected to whom, when, how much data moved, and sometimes the server name used in the handshake.
TLS is the protocol behind HTTPS and many other secure services. It protects the content of a connection from being read or changed on the way. In TLS 1.3, all handshake messages after the ServerHello are encrypted (RFC 8446).
Without the keys, you cannot read the content, so a capture shows only protected data.
Even when content is hidden, other details remain. These are called metadata.
Content can be read only if you have the session keys or the private key in a case where that is possible. Some clients can write session keys to a file for testing, and Wireshark can use such a file. Modern key exchange often makes a stolen server key alone not enough.
Other routes are the endpoint itself, such as memory or logs on the device. Procedures and laws differ by country and agency, so follow your lab's own procedure.
Do not try to break encryption in routine cases. Use the metadata, the endpoint evidence and other logs together. Document what you could and could not see.
Addresses, ports, time, volume, DNS lookups and often the server name from the handshake.
The endpoint holds the data before encryption and may hold keys, so its evidence can show what network capture cannot.
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.