Packet Capture & Analysis
Capture traffic at the right point and read it layer by layer with tcpdump and Wireshark.
4 objectives 6 steps about 135 min
Learn it step by step
Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.
This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.
Learning objectives
- Map protocols and devices to OSI and TCP/IP layers and explain encapsulation, header overhead and MTU using a real capture.
- Capture traffic with tcpdump and Wireshark using capture filters, and choose a capture point (host, SPAN port, TAP) for a given problem.
- Analyse captures with display filters, conversation and stream views, decoding Ethernet, IP, TCP and UDP headers.
- Capture responsibly: obtain authorization, limit sensitive data, and use ring buffers and snap lengths to control file size.
Lesson plan
6 steps, about 135 min · 5 of 5 lessons available so far
- Layers that matter in practice: OSI vs TCP/IP and encapsulation Concept · 20 min
- Lab: one web request, every layer, in your first capture Lab · 25 min
- Capturing well: capture filters, ring buffers and where to tap Concept · 20 min
- Lab: tcpdump on a remote server, analysis in Wireshark on your desk Lab · 25 min
- Display filters, conversations and stream reassembly Worked example · 25 min
- Check: answer questions from three capture files Knowledge check · 8 questions
Practise it
Capture a DNS lookup followed by an HTTPS request from a lab host with tcpdump, using a capture filter and a ring buffer; in Wireshark identify every protocol layer, the TCP handshake, the server name in the TLS ClientHello and the header overhead per layer, citing frame numbers.
Build it from scratch
Practice builds that exercise this skill by re-creating a real technology.
- Build your own DNS ServerIntermediate · 8–16 h
- Build your own TCP/IP StackAdvanced · 30–60 h
References
Hard prerequisites
Unlocks
On these roadmaps
Progress and evidence for this skill are shared across all of them.