Week 13 · Lab 3CSCI 4431 / 6431 · Wed 18 Nov 2026

Lab 3: Network forensics

Two captures, two cases: read an email off the wire, then catch a port scanner.

Project 2 · Private Relayalone · tags are the submission

2A is due Sunday. 2B starts today.

2A · Private DNS · due Sun 22 Nov, 11:59 pm

Push a dns/N tag. A commit on its own is not a submission.

30

2B · Private HTTP · due Wed 9 Dec

Two relays for your browser: the first knows you but not the site, the second knows the site but not you.

45
  • 2B is a new repository: accept it from the Project 2 page. Start from direct_proxy.py, then add the egress, then the ingress.
  • One report covers both halves (20 points), due with 2B.

Accept links and guides: course site → Project 2 · 2B message flows

Lab 3 · Network forensics25 points · individual · due Sun 22 Nov, 11:59 pm

Two cases from the wire

Case 1 · the bail jumper

Her email, read off the wire: the login, the contact, an attachment, the city.

11

Case 2 · knocking on every door

An IDS alert: who scanned whom, two kinds of scan, and a rule that would catch them.

12

Wrap-up

Two lines on how it went.

2
  • Questions in answers.txt · python3 check.py shows what's blank · three submissions, the last one counts.
  • No working Wireshark? Sit with someone who has it; you still submit your own file.

Accept: classroom50.org → Lab 3: Network Forensics · captures from the Network Forensics Puzzle Contest (Ham & Davidoff).

Wiresharklive on the Lab 1 HTTP trace · screenshots on the next six slides

Toolbox section of the README.md

1Display filterhttp ip.addr == 10.0.0.5
2Apply as Filterright-click a field
3Follow TCP Streamthe whole conversation
4Conversations, EndpointsStatistics menu
5Export ObjectsFile menu · IMF in Case 1
6Displayed: Nthe status bar = “how many”
Wireshark · helper 1 of 6Lab 1 trace, not the case files

Move 1 and 6: a display filter, and the Displayed count

Wireshark screenshot: Move 1 and 6: a display filter, and the Displayed count

Type the filter in the bar and press Enter. Green means it parses. The status bar at the bottom shows Displayed: N: your answer to any “how many” question. Combine conditions with &&.

Wireshark · helper 2 of 6Lab 1 trace, not the case files

Move 2: Apply as Filter

Wireshark screenshot: Move 2: Apply as Filter

Right-click any field in the packet details, Apply as Filter → Selected, and Wireshark writes the filter for you. Good for addresses, ports and flags you don't want to type.

Wireshark · helper 3 of 6Lab 1 trace, not the case files

Move 3: Follow → TCP Stream

Wireshark screenshot: Move 3: Follow → TCP Stream

Right-click a packet, Follow → TCP Stream. The whole conversation as text, one colour per direction. Case 1's emails read like this. Close it and the filter bar holds tcp.stream eq N.

Wireshark · helper 4 of 6Lab 1 trace, not the case files

Move 4a: Statistics → Conversations

Wireshark screenshot: Move 4a: Statistics → Conversations

Who talked to whom and how much. The IPv4 and TCP tabs are the useful ones. In Case 2 this turns 13,600 packets into a handful of rows.

Wireshark · helper 5 of 6Lab 1 trace, not the case files

Move 4b: Statistics → Endpoints

Wireshark screenshot: Move 4b: Statistics → Endpoints

Every address in the capture. The Ethernet tab with Name resolution ticked shows which company made each network card.

Wireshark · helper 6 of 6Lab 1 trace, not the case files

Move 5: File → Export Objects

Wireshark screenshot: Move 5: File → Export Objects

The files inside the traffic. Here HTTP; in Case 1 it's IMF, the emails. Save All into your repository folder, then run the extraction script on the one with an attachment.

Set up

Lab starts

Accept and clone Lab 3. Open evidence/case1.pcap in Wireshark and answers.txt in an editor.

  • readFollow the README.
  • checkRun python3 check.py first: it checks the format of your answers.
  • submitDon't forget to submit: commit and push, then git tag submit/1 && git push origin submit/1. You have three attempts.
Wrap-up

Before you leave

  • nowCommit and push, then git tag submit/1 && git push origin submit/1. Two more by Sunday 11:59 pm.
  • project 22A is due Sunday 22 November, 11:59 pm (tag dns/N). 2B is out: due Wednesday 9 December.