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

Day 2 · Telling neighbors apart45 min

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.

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.