0:00–0:25
Lecture
0:25–1:50
Lab 2A
1:50–2:00
Debrief
0:00 – 0:25Lecture · 25 min

tcpdump on a GUI-less server, then Mausezahn to generate what we're capturing

Part 1 — tcpdump flags and BPF filters (15 min)

Part 2 — Mausezahn: crafting packets, including spoofed sources (10 min)

Instructor note: tcpdump's filter language appears in every remaining week as the verification tool of choice. Don't rush the BPF section even under time pressure — students who treat it as a black box will struggle every time a service misbehaves later in the course.
0:25 – 1:50Lab 2A · 85 min

Lab 2A — Capture and filter with tcpdump, then generate and verify with Mausezahn

Part 1 — Basic capture and filters (30 min)

Part 2 — Mausezahn: ICMP, UDP with payload, spoofed-source TCP (40 min)

Optional take-home extension (on the handout): the compound BPF expression drill (interpreting 4 additional filters before running them), the DNS-query and HTTP-header capture exercises, the valid-ping-with-reply and broadcast-ping mz experiments, and the mz DNS packet type. All were part of the original two-day version and remain excellent practice.
1:50 – 2:00Debrief · 10 min

Learning outcomes — by end of Day 1, students can…

Apply tcpdump flags and BPF filtersUse -i, -n, -v, -c, -s, -w, -r, -A, -X correctly and construct compound host/port/protocol filters
Distinguish capture from display filtersExplain the difference and choose correctly for a forensic scenario
Generate packets with MausezahnCraft ICMP, UDP-with-payload, and spoofed-source TCP packets and verify each with tcpdump
Explain IP spoofing at the packet levelDescribe how a spoofed source is used in SYN-flood and reflection attacks

What you need ready before class

All three VMs running and SSH accessible Lab 2A handout printed Verify mz package available (apt show mz) Wireshark installed on Windows host for .pcap viewing demo
← Week 2 Overview Lab 2A Handout Day 2 →