Lesson plan: Leveraging AI in Cyber Defense

AP Cybersecurity · Unit 1 Introduction to Security · Topic 1.5 Leveraging AI in Cyber Defense · Practice set

At a glance

Suggested time
2 class periods (45 min)
Pacing
The only set for Topic 1.5, and the unit's last practice set before Unit 1 Performance Task and Unit 1 Test. The CED gives Topic 1.5 two class periods; this plan suggests 2 for this set: Day 1 on LO 1.5.B (sorting events and responding) and Day 2 on LO 1.5.A (suggestions a person checks), with CED Scenario 1E. That split by day is this plan's suggestion.
Before this set
AI-Based Cybersecurity Attacks, the set before, where AI is the adversary's tool. Students should know what malware and a firewall are; the mini-lesson glosses both, and also AI agent and detection engineer. Access controls are named in Problem 1 🔒 and never taught in this unit, so give one line before Day 2: they decide who may use which systems and files.
Skills
2.A Identify security controls, and explain how they mitigate risks.
2.C Evaluate, with and without the support of AI, the impact of protective risk-management strategies.
3.A Identify methods for monitoring systems, and explain how they detect attacks.
3.C Evaluate the impact of threat detection methods.

The one idea: AI tools do two jobs for defenders. They sort millions of events into likely malicious and likely harmless, then alert a person or take a corrective action, fast enough to limit the damage. They also suggest changes to configurations, code, and detection rules, and a person who knows that system checks every suggestion before it is used.

Day by day

Day 1 · Sorting events and responding45 min

Day 2 · Suggestions a person checks45 min

  • Mini-lesson (12 min)Teach AI in Cyber Defense, Reviewing settings and code and Big Sleep. Stop at the suggested rule (more than 50 devices within a minute) and have pairs say why a detection engineer would turn it down before reading the answer.
  • Do together (7 min)Problem 8 🔒 🔒 Teacher notes: sign in as a teacher to see this🔒 Teacher notes: open the full plan to see this
  • On their own (11 min)Problem 1 🔒 what a configuration review produces · Problem 3 🔒 what code analysis does · Problem 5 🔒 Problem 10 🔒: what to do with a tool's suggestions.
  • Groups (12 min)CED Scenario 1E (AI-Powered Cyber Defense): an AI tool flags user input fed straight into database requests, and its fixes are handled before the application goes to testing. The scenario prints no figure. Groups answer its first two questions (advantages and disadvantages of AI code review; why the fixes are checked first), then compare their reasoning with Problem 10 🔒 after they have answered it.
  • Wrap (3 min)Students answer the scenario's last question in one sentence: a time they used an AI tool to review their own work, and who checked what it said.

Differentiation

If students are struggling
Day 1: before Problem 7 🔒, point to the lesson's funnel and have students say what each tier contains. Day 2: hand out a three-row table from the lesson's definition boxes: what the AI suggests (configuration, code, detection rules) and who checks it. Do Problem 5 🔒 with it before Problem 10 🔒.
Extension
Write a detection rule for the lesson's school district, then trade with a partner who plays the detection engineer and names one ordinary event it would alert on and one attack that slips under it.
Vocabulary support
event, alert, false alarm, corrective action, configuration, firewall rules, access controls, vulnerability, mitigation, detection rule, detection engineer, AI agent.

From the course framework

LO 1.5.A Explain how cyber defenders can leverage AI-powered tools to protect networks, applications, and data.

  • 1.5.A.1 AI tools can review current security configurations, like firewall rules and access controls, and recommend more secure options. Recommendations should always be checked by a knowledgeable security technician before being implemented.
  • 1.5.A.2 AI-powered tools can analyze application code to identify vulnerabilities and recommend mitigations. Recommendations should always be reviewed by a knowledgeable programmer before being implemented.
  • 1.5.A.3 AI-powered tools can suggest rules for automated detection systems. Detection rules should always be reviewed by a knowledgeable detection engineer before being added to a system.

LO 1.5.B Explain how AI-powered tools are enabling faster and more accurate threat detection and response.

  • 1.5.B.1 Of the millions of digital events that happen on networks daily, some likely represent an adversary conducting malicious activity. Humans cannot carefully examine all those events to identify the malicious activity.
  • 1.5.B.2 AI-powered tools can be trained to quickly analyze digital events and sort the events that are likely malicious activity from those that are harmless.
  • 1.5.B.3 AI-powered tools can be programmed to alert human cybersecurity personnel when likely malicious activity is detected or to take specific corrective actions based on the type of malicious activity detected.
  • 1.5.B.4 AI-powered tools enable threat-detection and response teams to catch malicious activity and intervene quickly to prevent loss, harm, damage, and destruction to digital infrastructure and data.