Lesson plan: Malware Families
AP Cybersecurity · Unit 4 Securing Devices · Topic 4.1 Device Vulnerabilities and Attacks · Practice set
At a glance
- Suggested time
- 2 class periods (45 min)
- Pacing
- Second of four sets for Topic 4.1. The CED gives Topic 4.1 six class periods; this plan suggests 1 for Device Types and the IoT Surface, 2 for this set, 2 for How Devices Get Exploited, and 1 for Device Risk Assessment. The split is this plan's suggestion; the CED does not divide the topic's periods.
- Before this set
- Device Types and the IoT Surface, whose downtown hotel and its IT manager's device list come back in this set's lesson. The Foundations lesson How a Computer Runs Programs, especially its "Programs, files, and processes" section: a program sits on the drive as a file, and the operating system copies it into memory to run it. Students need that difference for fileless malware and rootkits.
- Skills
- 1.A Identify, with and without the support of AI, vulnerabilities, threats, and attack methods, and explain how they generate risk.1.B Determine ways adversaries exploit vulnerabilities to compromise an asset.
The one idea: Name a malware type from the one fact that separates it from its nearest neighbor. Three questions find that fact: what starts it (a person opening a file, nothing at all, or a condition on the system), where it lives (files on the drive, memory only, or a device on the cable), and what it does (hides inside the operating system, watches, takes an operator's commands, or locks files for payment). A detail that several types share names none of them.
Day by day
Day 1 · What starts it45 min
- Open (5 min)Ask students to name any kind of malware they have heard of and say what it does. Write the names on the board and leave them up for Day 2.
- Mini-lesson (20 min)Teach Malware Families. Read it together and stop at its two questions for answers before reading on: which type or types XCP belongs to (end of the first paragraph of the "Naming the type" section), and which malware an adversary would pick for the hotel's guest computer (end of the first paragraph of "The business-center computer"). The last section, "Sony BMG's recall and settlements", can be read at home.
- Do together (8 min)Problem 2 🔒 Problem 3 🔒 🔒 Teacher notes: sign in as a teacher to see this🔒 Teacher notes: open the full plan to see this
- On their own (8 min)Problem 1 🔒 what malware is · Problem 4 🔒 Problem 5 🔒 Problem 8 🔒: one plain case each of three malware families.
- Exit check (4 min)🔒 Teacher notes: sign in as a teacher to see this🔒 Teacher notes: open the full plan to see this
Day 2 · Telling neighbors apart45 min
- Open (5 min)Project the lesson's table with its right-hand column covered. Students write what makes each type that type, then uncover it and check their own.
- Do together (10 min)Problem 6 🔒 Problem 7 🔒 🔒 Teacher notes: sign in as a teacher to see this🔒 Teacher notes: open the full plan to see this
- In pairs (15 min)Problem 9 🔒 Problem 10 🔒 Problem 11 🔒 Problem 14 🔒 🔒 Teacher notes: sign in as a teacher to see this🔒 Teacher notes: open the full plan to see this
- On their own (5 min)Problem 12 🔒 Problem 13 🔒: every choice names the same type, and only the reason differs.
- Discuss (5 min)For each wrong reason on Problem 12 🔒 and Problem 13 🔒, ask which other type it is also true of. A reason that fits two types cannot tell them apart.
- Wrap (5 min)Back to Day 1's list on the board: students sort each name into the lesson's table and mark any that fit two types, as XCP does.
Differentiation
- If students are struggling
- Hand out the lesson's table as a card with three added columns (what starts it, where it lives, and what it does) to fill in on Day 1 and keep on the desk for Day 2. Do Problem 10 🔒 as a class before pairs.
- Extension
- Write a short incident in the style of Problem 12 🔒: one type and four reasons, three of them true but shared with other types, and trade it with a partner. Or research one named malware case and decide which types fit it, as the lesson does for XCP.
- Vocabulary support
- malware, virus, worm, Trojan, remote access Trojan (RAT), ransomware, decryption key, spyware, keylogger, logic bomb, rootkit, fileless malware, RAM (memory), operating system, and process.
🔒 Answer keyEvery problem's answer, the concept and essential knowledge it checks, and the trap it targets.Sign in as a teacher to see this🔒 Traps this set testsWhat each common wrong answer looks like, and one line to say when you see it.Sign in as a teacher to see this🔒 What to emphasizeThe points that decide the set's problems.Sign in as a teacher to see this🔒 Questions to ask aloudQuestions for the class discussion, with what to listen for.Sign in as a teacher to see this🔒 On the examHow the set's ideas appear on the AP exam, from the course framework.Sign in as a teacher to see this🔒 Your class so farLive results for your section: the problems a third or more missed on the first try, the most common wrong answer, and what it usually means.Sign in as a teacher to see this
From the course framework
LO 4.1.B Identify the type of malware used in a cyberattack.
- 4.1.B.1 Malware is malicious software that can damage or destroy a device or network, or allow an adversary access to a device and the data on the device.
- 4.1.B.2 Malware is often used as a tool to accomplish part of an adversary's plan to achieve their ultimate goal(s). There are many types of malware, such as: Viruses are malware that must be activated by a user executing or opening a file. Worms spread from one computer to another without human interaction. Trojans are malware embedded in other software that seems harmless. Remote access trojans (RATs) provide an adversary with remote access to the target system. Ransomware encrypts a device's files, preventing the user from accessing files on the device. The ransomware typically presents the user with a screen demanding payment and promising to give the user a decryption key for their files if the user pays within a fixed amount of time. Spyware tracks a user's actions on a computer and sends information back to an adversary. A keylogger is software or hardware that logs the users keystrokes and sends the information back to the adversary. Adversaries can often extract usernames and passwords from keylogger data. Logic bombs are set to trigger their effect only when a specific set of conditions are met; the conditions can include time and date, specific type or version of the operating system, character set the computer is using, etc. A rootkit is sophisticated malware that gets into the target computer's operating system and can control nearly every aspect of the system, including making the rootkit itself invisible to detection.
- 4.1.B.3 While most malware is a file or a collection of files, fileless malware is malicious code that lives in RAM and uses legitimate programs already installed on a device to compromise it.