Skip to content

Packet Capture

You'll open Wireshark on your own network and watch a device get an address, look up a name and load a page, then find out what the TV says when nobody is watching.

About

Everything you've measured so far is a number. This is the conversation itself, one packet at a time, and once you've read a few you stop guessing what a device is doing. Wireshark is free and runs on anything. What counts is captures on a network you own or run, filters you wrote yourself, and exchanges you can narrate. Capturing on anyone else's network, including the cafe's, is a crime in most places, and this badge is reading, not attacking. The surprise for most people is how much an encrypted connection still gives away, starting with the name of every site you visit.

At a glance

Per requirement
25 XP
Completion bonus
150 XP
Requirements
5
Takes
One weekend
Skill level
Intermediate (months of practice)
Cost
Free
Supplies
Nothing special
Where
At home
Other people
On your own
Locked for now
Earn two more Common badges in Home Networking to open this one. Log in to see how far along you are.

Requirements

  1. 1
    Capture your laptop joining the network and find the four DHCP packets. Start a capture on the Wi-Fi or ethernet interface, turn the connection off and on, and type dhcp in the filter bar. You're looking for Discover, Offer, Request and Acknowledge, in that order, with the router's offered address and the lease time inside the Offer. Take a screenshot with the four rows and the filter visible. Photo
  2. 2
    Capture one name lookup and the page load that follows it. Filter on dns, load a site you don't already have open, and find the question and the answer with the address in it. Then clear the filter and find the TCP handshake and the TLS Client Hello that follow. The hello carries the site's name in plain text even though everything after it is encrypted, which is exactly what your provider and your router can see. Take a screenshot with the server name highlighted. Photo
  3. 3
    Find a plaintext conversation on your own network and read it. Filter on http and open the admin page of your printer, your router or a smart plug, since most are still on plain http. Watch the page, the form and often the login go by in readable text. Take a screenshot with a readable string in it, and say in one sentence what you'd do about it (an https setting, a different lane, or living with it because it never leaves the house). Photo
  4. 4
    Capture a device that isn't your laptop and watch it idle for ten minutes. Your laptop only sees its own traffic on a switched network, so either share the laptop's connection and join the TV or a plug through it, or run tcpdump on an OpenWrt router or a Pi and open the file in Wireshark. Let the device sit doing nothing. Open Statistics, then Conversations, and sort by bytes. Take a screenshot of the top ten with each destination named as best you can. Photo
  5. 5
    Write a filter that answers one question about your house and save it. Every DNS query from the TV, anything leaving the house on port 23, or every device that talked to one address today. Save it as a named filter so it's one click next time. Take a screenshot of the saved filter with its results and one sentence on what the answer told you. Photo