Network Sniffing: What Can a Listener Actually Learn?
Network sniffing means observing or recording data traveling over a network. It can help an authorized investigator understand a connection, or let an attacker collect information they shouldn't have. What it reveals depends on where the observer is and how the data is protected.
The recording tool is a sniffer. It captures packets, the units in which network traffic travels. Each packet can contain information used to deliver it as well as the content being carried.
Sniffing itself can be passive: observing traffic without changing its route. Redirecting someone else's traffic toward an observer is an additional act. The distinction matters because a capture doesn't, by itself, show that anyone altered the conversation.
- Turn sketchy hotel and airport Wi-Fi into your own private network in minutes.
- Put every device you own behind your VPN at once, with nothing to install on each one.
- Block ads and trackers for everything connected with the flick of a switch.
Readable information on an observable connection
Suppose an application sends a password in readable form across a connection. Someone able to capture that traffic may obtain the password from it. Password sniffing describes this narrower goal of collecting passwords from communications.
The possibility depends on both parts of that situation: the secret travels without suitable protection, and the observer can see the relevant traffic. Simply being connected to the same network doesn't establish either one.
For example, an Ethernet switch normally sends traffic addressed to one machine toward that machine's port. It doesn't deliver every such exchange to every other connected computer. An observation point on the sending computer, receiving computer or an appropriate network link can offer a different view.
Passwords aren't the only information an attacker might collect. MITRE's catalog of attacker behavior includes a network-sniffing description that also identifies details about computers and services. Such information can help reveal how a network is arranged, even when no account secret appears in the capture.
Encryption changes what the capture contains
Encryption turns usable information into a protected form that requires the appropriate key to read. It doesn't stop the network from carrying packets, and it doesn't necessarily stop an observer from recording those packets.
With Transport Layer Security, or TLS, application content is protected between the systems participating in that encrypted connection. A person watching the network may still see addresses, timing and data lengths. They shouldn't be able to read the protected message merely by capturing it.
These visible details are often called metadata: information about an exchange rather than its readable contents. They can show that traffic occurred and reveal aspects of its pattern. They don't automatically reveal the text of a message or explain the reason for the exchange.
The TLS 1.3 specification explicitly notes that its protection doesn't hide transmitted data lengths. So an encrypted capture can contain useful observations while still concealing the application content.
Using encrypted protocols reduces the exposure of content on the protected part of the journey. Restricting access to devices and network observation points addresses who can obtain a view in the first place. These protections do different jobs.
See What Your Computer Is Really Sending
The protection has a beginning and an end
An encrypted connection must have endpoints: the systems that prepare the protected data and recover the usable content. Those systems need access to the information to do their jobs. A service receiving a message over TLS can read that message after decryption.
If an attacker compromises an endpoint, the protection on the network connection doesn't by itself protect the usable data inside that computer. The scope of the encrypted connection determines which part of the journey it protects.
Eavesdropping: Who Can Still Hear an Encrypted Conversation?

Packet Sniffing: What a Record of Network Traffic Can Reveal

TLS Protects the Connection. The Destination Still Gets the Data.

QUOTE:
"Amateurs hack systems, professionals hack people."
