Lesson plan: Choosing a Detection Method

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

At a glance

Suggested time
2 class periods (45 min), plus 1 optional
Pacing
Second of three sets for Topic 3.5. The CED gives Topic 3.5 seven class periods; this plan suggests 2 for Detection Tools and Thresholds, 2 for this set and 3 for Reading Network Logs. The optional day (CED Scenario 3B) falls outside those 7 periods; use it if the unit has a spare period.
Before this set
Detection Tools and Thresholds (NIDS, NIPS, and SIEM; an alert threshold set too low buries analysts in false alerts, set too high misses attacks). Signature-based and anomaly-based detection are new in this set's mini-lesson, which continues that set's bus agency.
Skills
3.B Determine strategies and methods to detect attacks.
3.C Evaluate the impact of threat detection methods.

The one idea: No method wins on every count. Signature-based detection is fast, cheaper, and quiet but blind to new attacks; anomaly-based detection catches the new at a cost in speed, hardware, and false alarms; hybrid runs both and costs the most. Choose from the network's traits and the priority the organization states, then name what the choice gives up.

Day by day

Day 1 · Four criteria45 min

  • Open (5 min)Project or sketch the CED's Figure 3.5 (CED printed p. 87; described at the bottom of this plan): the signature flowchart and the anomaly tolerance band. The lesson's dispatch chart is a ready-made tolerance band if you have no copy of the figure. Ask which one could catch an attack nobody has seen before. Collect answers before the mini-lesson.
  • Mini-lesson (15 min)Teach Choosing a Detection Method. Stop at two questions and let students answer before reading on: why signature-based antivirus missed Stuxnet, and the dispatch band (10% of 460 is 46, so 414 to 506 reports a minute).
  • Do together (5 min)Problem 4 🔒: an attack with no published indicator. Ask first what signature-based detection compares against, then check each choice against that.
  • On their own (10 min)Problem 1 🔒 Problem 2 🔒 Problem 3 🔒: one criterion each (volume, consistency, sensitivity).
  • Discuss (5 min)Start a table on the board: criterion, then the method it points to. Students fill the four rows from Problem 1 🔒 to Problem 4 🔒. Keep it up for Day 2.
  • 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 · What each choice costs45 min

Optional day · CED Scenario 3B45 min

  • Groups (35 min)The emergency shelter's Wi-Fi in a high school gym, on a satellite link (CED Scenario 3B). Groups recommend detective controls to monitor the network and raise an alert for possible malicious activity: which tool from Detection Tools and Thresholds, where, and which detection method. For each, they describe the impact with the four factors (speed, cost, false positives, false negatives).
  • Discuss (10 min)🔒 Teacher notes: sign in as a teacher to see this🔒 Teacher notes: open the full plan to see this

Differentiation

If students are struggling
Hand out the two-column table before Problem 1 🔒 to Problem 8 🔒, and have students circle the row each problem tests. On Day 2, do Problem 9 🔒 together, underlining the priority sentence and the budget line.
Extension
🔒 Teacher notes: sign in as a teacher to see this🔒 Teacher notes: open the full plan to see this
Vocabulary support
signature, indicator of compromise (IoC), baseline, tolerance range, hybrid detection, false positive, false negative, alert fatigue.

From the course framework

LO 3.5.C Determine a network detection method.

  • 3.5.C.1 Volume of network traffic is a criterion for determining a detection method. Signature-based detection is more efficient for networks with high traffic volume. Signature-based detection compares detection data to a database of known indicators of compromise (IoCs), called signatures. Signature databases must be updated with IoCs for the latest attacks. Signature-based detection runs more quickly than anomaly-based detection.
  • 3.5.C.2 Consistency of network traffic patterns is a criterion for determining a detection method. Anomaly-based detection is most effective on networks with consistent traffic patterns. Anomaly-based detection compares detection data to a baseline of recorded activity. Baselines must be recorded on uncompromised systems to establish expected data types and volumes. Anomaly-based detection triggers an alert or action when data types or volumes outside of a specified tolerance range are recorded. Anomaly-based detection relies on consistent patterns in network traffic to detect anomalous traffic patterns.
  • 3.5.C.3 Degree of sensitivity or criticality of a network is a criterion for determining a detection method. Networks with more sensitive or critical data or services will likely consider a hybrid approach. Hybrid detection combines signature-based and anomaly-based detection. Hybrid detection is more expensive than using either signature- or anomaly-based detection alone, and hybrid-detection models generate more alerts.
  • 3.5.C.4 Likelihood of novel attacks on a network is a criterion for determining a detection method. Signature-based detection cannot detect a new attack. When an organization suspects that adversaries are likely to attempt a new attack on a network, anomaly-based detection is the preferred method when the cost of hybrid detection is prohibitively high.

LO 3.5.D Evaluate the impact of a network detection method.

  • 3.5.D.1 Speed of detection is a factor in evaluating the impact of a network detection method. Faster detection enables faster response. Signature-based detection methods are faster than anomaly-based detection methods, especially on networks with high traffic volume.
  • 3.5.D.2 Cost is a factor in evaluating the impact of a network detection method. Detection tools and ongoing costs need to be within a budget. Anomaly-based detection systems require more expensive hardware to operate than signature based. Hybrid detection is the most expensive option because it combines both anomaly- and signature-based methods.
  • 3.5.D.3 False positive rate is a factor in evaluating the impact of a network detection method. Signature-based detection has almost no false positives. Anomaly-based or hybrid detection will have higher false positive rates. Impacts of high false positive rates include: - Time and resources are put toward investigating alerts for nonmalicious activity. - Alert fatigue is a condition that occurs when responders get accustomed to false positives and take alerts less seriously because they assume alerts are false positives before investigating them.
  • 3.5.D.4 False negative rate is a factor in evaluating the impact of a network detection method. A false negative occurs when an adversary can bypass a detection system. Signature-based detection systems are easier to bypass than anomaly-based or hybrid systems. False negatives can result in adversaries causing loss, harm, disruption, or destruction to data and systems.

Framework example: Figure 3.5, Signature-Based vs. Anomaly-Based Detection Techniques. Signature-based: a detector checks the monitored environment against a signature database; a match raises an alert, no match takes no action. Anomaly-based: activity is plotted over time inside an upper and lower tolerance band around the baseline; activity that leaves the band raises an alert.