Lesson plan: Reading Network Logs

AP Cybersecurity · Unit 3 Securing Networks · Topic 3.5 Detecting Network Attacks · Practice set

At a glance

Suggested time
3 class periods (45 min)
Pacing
Third of three sets for Topic 3.5, and the last teaching set before the Unit 3 Performance Task and the Unit 3 Test. The CED gives Topic 3.5 seven class periods; this plan suggests 2 for Detection Tools and Thresholds, 2 for Choosing a Detection Method and 3 for this set, since reading logs takes the longest.
Before this set
Network Attack Catalog (ARP poisoning, MAC flooding, DNS poisoning, the smurf attack) and Choosing a Detection Method (a baseline recorded on an uncompromised network, data outside a tolerance range). Evil twins and jamming are new: the mini-lesson defines them. Students should know these ports: 22 SSH, 53 DNS, 80 HTTP, 123 NTP, 443 HTTPS, 445 file sharing, 3389 remote desktop, 8080 alternate web.
Skills
3.D Detect and classify cyberattacks by analyzing digital evidence with and without the support of AI.
3.C Evaluate the impact of threat detection methods.

The one idea: Read a log against what is normal. A row is evidence of an attack only when it breaks the pattern and nothing in the organization's own records explains it. Where it shows (ARP replies, the switch's table, broadcast pings, network names, DNS records, addresses, ports) names the attack.

Day by day

Day 1 · Where each attack shows45 min

  • Open (5 min)Read the lesson's first two paragraphs aloud (the 75-cent gap at Lawrence Berkeley Laboratory, then what Stoll's printers recorded) and stop at the question after them: what in the record of his connections already showed the visitor wasn't that staff member? Collect answers before reading on.
  • Mini-lesson (15 min)Teach Reading Network Logs. As each definition box comes up, students add a row to a two-column chart: the attack, and where it shows. The chart is the tool for the whole set.
  • Do together (10 min)Problem 4 🔒: model the read once, slowly. For each row, say what it records and whether anything else in the capture explains it.
  • On their own (10 min)Problem 1 🔒: where network indicators are found · Problem 2 🔒 Problem 5 🔒: reading a set of readings or counters for what it shows.
  • Exit check (5 min)🔒 Teacher notes: sign in as a teacher to see this🔒 Teacher notes: open the full plan to see this

Day 2 · Ordinary rows and the four indicators45 min

  • Open (5 min)Project the CED's sample multiple-choice Question 14 (two ARP lines, one IP address at two MAC addresses) and ask which attack it shows (ARP poisoning). Ask why it is not DNS poisoning: the lines pair an IP address with a MAC address, which is ARP's table rather than DNS's.
  • Do together (10 min)Problem 3 🔒: before reading the choices, mark every row of the survey ordinary or not. Every log in the set has ordinary rows like these, and this problem teaches students to set them aside.
  • In pairs (15 min)Problem 6 🔒 Problem 7 🔒 Problem 8 🔒: for each, one partner names the row or check they would choose, the other names what makes the other rows ordinary.
  • Do together (10 min)Problem 10 🔒: before reading the choices, mark every row ordinary or not, as with Problem 3 🔒.
  • Wrap (5 min)Students write the lesson's four network indicators from memory: connections to known malicious addresses, unauthorized scans, unusual spikes or slowdowns, and a port and application that don't match.

Day 3 · Check the records before calling it45 min

Differentiation

If students are struggling
Hand out a filled-in attack chart before Day 1's practice. Do Problem 3 🔒 and Problem 5 🔒 as a class, marking each row ordinary or not. Take Problem 13 🔒 and Problem 14 🔒 in a small group on Day 3.
Extension
Write a six-row log that shows one attack, plus two decoys: a row that is big but ordinary, and a row a schedule explains. Then trade logs with a partner. Or take CED Scenario 3B (the wireless network in the high school gym used as a shelter): pick which checks from the chart to run there and how often.
Vocabulary support
packet capture, indicator of compromise (IoC), baseline, broadcast address, SSID, ARP table, MAC address table, ICMP echo request, triangulation, change record.

From the course framework

LO 3.5.E Apply detection techniques to identify indicators of network attacks by analyzing log files.

  • 3.5.E.1 Evil-twin attacks can be detected by regularly scanning for service set identifiers (SSIDs) that look suspicious or similar to local legitimate SSIDs. Signal triangulation can be used to locate and disable an access point broadcasting an evil-twin network.
  • 3.5.E.2 Jamming attacks can be detected by recognizing that no wireless devices in a specific physical space are able to connect to a wireless network and by scanning for electromagnetic (EM) noise in the wireless range.
  • 3.5.E.3 ARP poisoning attacks can be detected by monitoring network traffic for unusual ARP messages (particularly duplicate MAC address ARP packets) and checking the ARP table on the default gateway.
  • 3.5.E.4 MAC flooding attacks can be detected by monitoring network traffic for an unexpected surge of Ethernet frames with different MAC addresses and checking the MAC address table on a switch.
  • 3.5.E.5 DNS poisoning attacks are difficult to detect. However, if an organization's website experiences an abrupt and otherwise inexplicable drop in traffic, DNS records should be examined as a potential cause.
  • 3.5.E.6 Smurf attacks can be detected by watching network traffic for a sudden increase in ICMP requests sent to the network's broadcast address.
  • 3.5.E.7 Network-based IoCs are discovered when analyzing network traffic, often in the form of packet capture files. Indicators can be found in source and destination IP addresses, ports, and protocols. These can include: - Connections to known malicious IP addresses - Unauthorized network scans - Unusual spikes or slow downs in network traffic - Mismatched port-application traffic