Introduction to Wireshark - See your Network Traffic live

What is Wireshark?

Wireshark is a popular network protocol analyzer. It captures every packet on your computer and lets you inspect them.

Blue teams use it to investigate suspicious connections. Red teams use it to understand what information leaks during an attack.

Install Wireshark

macOS
brew install --cask wireshark
Linux
sudo apt install wireshark

During install, it'll ask if non-superusers should capture packets. Select Yes.

Download from https://www.wireshark.org/download.html and run the installer. Make sure to check Install Npcap when prompted — this is what lets Wireshark capture packets.

Start Your First Capture

  1. Open Wireshark. You'll see a list of network interfaces — Wi-Fi, Ethernet.
  2. Double-click your active interface (usually the one with the moving line graph next to it).
  3. Packets start flooding in immediately. Every ping, every DNS query, every open website tab is generating traffic.

Let it run for 30 seconds, then click the red Stop button in the toolbar.

You just captured a snapshot of everything your computer was saying on the network.

The Three Panes

Filter Out the Noise

Type into the filter bar at the top:

Wireshark filter
dns
http
tcp
tls
ip.addr == 140.82.121.3

What each filter means:

Why This Matters for Security