Packets
tag: networkingtag: beginnerstag: wireshark
What’s in a packet
Section titled “What’s in a packet”Think of an envelope inside an envelope:
| Layer | Holds | Covered in |
|---|---|---|
| IP header | Source and destination IP addresses | IP addresses |
| TCP or UDP header | Source and destination ports | Ports |
| Payload | The actual data: part of a web page, a DNS question, a file |
If the payload is encrypted (HTTPS, for example), you still see the addresses, ports and sizes, but not the content.
Try it: look at your own traffic
Section titled “Try it: look at your own traffic”- Install Wireshark on your own computer.
- Start a capture on your Wi-Fi or Ethernet interface.
- In a terminal, run
nslookup example.com. - Stop the capture and type
dnsin the filter bar. You’ll see your question and the answer.
Useful filters:
| Filter | Shows |
|---|---|
dns |
DNS lookups and answers |
tcp.port == 443 |
HTTPS traffic |
ip.addr == 203.0.113.5 |
Anything to or from one address |
http |
Unencrypted web traffic |
Why analysts care
Section titled “Why analysts care”- Sandbox reports come with captures. A PCAP file shows what a sample tried to reach and what it sent.
- Metadata tells a story even when content is encrypted: who, when, how often and how much.
- Beacons have a rhythm. Malware checking in with its server at regular intervals stands out in a timeline.
That’s Networking 101. Continue with File Types 101.

One Reverse Look
"A little learning is a dangerous thing." ~ A. Pope
One Reverse Look · Made with ❤ · Your friendly knowledge seeker

