Wireshark traffic analysis for beginners: authorized captures, filters and what to look for

TL;DR. Wireshark is a microscope for network packets. Used on traffic you are allowed to see, it teaches you how your own services talk, how TLS looks from the outside, and how to evidence a misconfigured host. Used on someone else’s network without permission, it is interception. This guide stays on the legal, defensive side: how to capture in a lab you own, how to filter, and how to read a few common patterns. It is not a guide to decrypting other people’s sessions or to “hacking Wi-Fi.”

Permission first, then the packet

Capture only:

  • on a host or lab you own,
  • on a network whose owner has given you written permission,
  • or in a classroom / official range that explicitly allows packet capture.

Do not enable monitor mode on a café, a neighbour, or a client office “just to practise.” Packet capture can include credentials, personal data and session cookies. Store traces the way you store logs: access-controlled, with a deletion date, and never pasted into a public chat.

If you are not sure whether you may capture, stop and ask. A trace you should not have taken is worse than a lab you have not set up yet.

What you are actually looking at

A packet capture is a time-ordered set of frames. For daily defensive work you will mostly care about:

  • Who talked to whom — addresses and ports, not the poetry of the payload.
  • Whether a session is encrypted — TLS or its absence. Cleartext HTTP, Telnet or older protocols on a modern network are findings, not colour.
  • Whether a name resolution or handshake failed — useful when a host “cannot reach the update server.”
  • Volume and timing — a workstation that suddenly opens thousands of connections may be misconfigured or compromised; prove it in a lab or on systems you own, then follow your incident process.

Wireshark will happily show application data when a protocol is cleartext. That is why traces are sensitive even when the capture was authorized.

A beginner lab you can build legally

  1. Use the home lab from earlier in this series, or a single virtual machine and a second VM that runs a service you installed (a web server you configured yourself is enough).
  2. Capture on the virtual switch or on the loopback/local interface, depending on what your hypervisor documents. Start from a known-good baseline: boot, browse your site, stop the capture.
  3. Save the file with a date and a short description (2026-11-lab-http-baseline.pcapng). Do not mix lab traces with production traces.
  4. If you later capture on a production host you administer, use a written change, the narrowest interface, and a stop condition. Prefer dumpcap or an equivalent with a ring buffer over an unbounded GUI capture that fills a disk.

Filters that teach without drowning you

Display filters are how you stay sane. Learn a small set thoroughly:

  • ip.addr == 192.0.2.10 — one host you own (use your real lab address).
  • tcp.port == 443 or udp.port == 53 — one service.
  • tls or http — protocol family, when those dissectors apply.
  • dns — name lookups, often the first explanation for “it feels slow.”
  • tcp.flags.syn == 1 and tcp.flags.ack == 0 — new connection attempts, useful in a lab when you want to see who started a handshake.

Avoid turning Wireshark into a signature catalogue of “malicious packets.” Your first skill is explaining a conversation you already understand on a system you control.

A short reading sequence

  1. Look at the Conversations or Endpoints window. Is the set of peers what you expected for this host?
  2. Follow a single TCP stream of a service you ran. Confirm whether the payload is encrypted.
  3. Check DNS for names you expected the host to resolve, and for failures.
  4. If you are diagnosing your TLS service, inspect the handshake at a high level: offered versions, certificate names that should match your site. Do not attempt to break someone else’s encryption.
  5. Write a two-paragraph note: what you captured, what you expected, what you saw. The note is the product; the colourful packet list is not.

Habits and pitfalls

Habit Why it matters
Written permission, or a lab you own Capture without it is interception, not study
Ring buffers and stop conditions Unbounded captures fill disks and retain data you did not mean to keep
Display filters before scrolling Raw traces hide the conversation in noise
Treat traces as personal data Cleartext and even metadata can be sensitive
Official documentation for decryption keys Only decrypt traffic you are authorized to see, with keys you legitimately hold (for example your own web server)

When you write that two-paragraph note, keep packet payloads and cookies out of casual tools. SiberAI can help you turn a lab write-up into a clearer internal guide. Keep traces off the prompt; the security notes exist for that reason, and the quickstart is enough if you only need a writing workspace.

Key takeaways

  • Permission, or a lab you own, comes before any capture.
  • Traces are sensitive even when authorized; store and delete them on purpose.
  • Learn a few display filters; explain one conversation at a time.
  • Look for unexpected peers, cleartext, and failed handshakes on systems you administer.
  • The written note is the skill; the tool is only a microscope.

Last updated: November 2026.

FAQ

Q: Is capturing on my own home Wi-Fi always allowed?
A: Capturing traffic to and from machines you own is the usual starting point. Capturing a guest’s or a family member’s traffic without a clear, informed agreement is a different question — when in doubt, use a dedicated lab network.

Q: Can I decrypt HTTPS in Wireshark?
A: Only for services whose keys you legitimately have (for example a development server you run), using the methods the official documentation describes. Do not collect other people’s keys, and do not treat “HTTPS decryption” as a goal on a foreign network.

Q: tcpdump versus Wireshark?
A: tcpdump or dumpcap is often better for a controlled capture on a server. Wireshark is better for interactive analysis of a file you already have. You can capture with one and read with the other.

Q: Why is my capture full of “noise”?
A: Broadcast, mDNS, and background updates fill traces. Filter to the address and port you care about. In a lab, isolate the virtual network so you do not record the rest of the house.

Q: Can I use a public pcap sample from the internet?
A: Some training datasets are published for that purpose; use reputable sources and treat the files as untrusted (they are still data). Do not download “malware pcaps” from random forums onto a production machine.

Q: What should I practise first?
A: HTTP and DNS to a server you installed, then the same conversation after you enable TLS on that server. Write what changed.

Q: Does this replace a SIEM?
A: No. Packet capture is for deep inspection of a moment. Logs and flow records scale better for day-to-day monitoring; a later article in this series covers that.

Yorumlar

Bu blogdaki popüler yayınlar

SiberAI’de Chat Completions mi, Responses mi?

Связь с нативным движком SiberAI: приватный IPC, не публичный API расширений

KVKK perspektifinden yapay zeka API'lerine veri gönderirken dikkat edilecekler