Lesson plan: Indicators of Compromise
AP Cybersecurity · Unit 4 Securing Devices · Topic 4.4 Detecting Attacks on Devices · Practice set
At a glance
- Suggested time
- 2 class periods (45 min)
- Pacing
- First of three sets for Topic 4.4. The CED gives Topic 4.4 seven class periods; this plan suggests 2 for this set, 2 for Choosing Device Detection and 3 for Reading Authentication Logs. That split is this plan's suggestion, since the CED gives only the topic total.
- Before this set
- Hashing and Password Storage (a hash identifies a file's exact contents; this set uses malware hashes without teaching them again) and Password Attacks (repeated guessing at sign-in). The lesson returns to the video game studio and the artist's laptop with the cracked program from Device Policies. Several problems compare a device against its approved build, the standard setup an organization puts on every machine of a kind, and never define the term.
- Skills
- 3.A Identify methods for monitoring systems, and explain how they detect attacks.3.D Detect and classify cyberattacks by analyzing digital evidence with and without the support of AI.
The one idea: An indicator of compromise is evidence that an attack already happened. File-based: someone analyzed the file itself (its hash, name, or path). Host-based: a change on the device (files created, an unexpected service, a setting changed, software installed without authorization), seen in its logs or configuration. Behavior-based: an account's sign-ins, access attempts, or privilege requests, seen in authentication and access logs.
Day by day
Day 1 · Evidence and logs45 min
- Open (5 min)Ask: a laptop comes back from a repair shop. What would you check to know whether someone tampered with it? List the answers on the board and keep the list for Day 2.
- Mini-lesson (15 min)Teach Indicators of Compromise. In the section The published indicators, stop after the Behavior-based indicators box. Pairs decide where indicators A and B would be found, as the lesson asks; the next paragraph gives the answer.
- On their own (7 min)Problem 1 🔒 Problem 2 🔒: what an indicator of compromise is and what logs are for.
- Do together (8 min)Problem 3 🔒 🔒 Teacher notes: sign in as a teacher to see this🔒 Teacher notes: open the full plan to see this
- Do together (5 min)Problem 4 🔒 🔒 Teacher notes: sign in as a teacher to see this🔒 Teacher notes: open the full plan to see this
- 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 · Sorting the three kinds45 min
- Open (5 min)Return to Day 1's list from the repair shop question. Students sort each item into host-based, file-based, behavior-based, or none of the three.
- Do together (8 min)Problem 6 🔒 🔒 Teacher notes: sign in as a teacher to see this🔒 Teacher notes: open the full plan to see this
- In pairs (15 min)Problem 5 🔒 Problem 7 🔒 Problem 8 🔒 Problem 9 🔒: one partner reads the stem aloud and stops at each sentence about what the investigator did or did not examine. The other names the kind and the sentence that decides it.
- On their own (10 min)Problem 10 🔒 Problem 11 🔒 Problem 12 🔒.
- Discuss (5 min)Problem 11 🔒 🔒 Teacher notes: sign in as a teacher to see this🔒 Teacher notes: open the full plan to see this
- Wrap (2 min)Students write, in order, the three questions they now ask about any finding: was the file itself analyzed, did something on the device change, and is this an account's attempt recorded in a log?
Differentiation
- If students are struggling
- Give a three-column sheet headed, in the order students ask them: the file itself was analyzed; something on the device changed; an account's sign-ins or access attempts. Students underline in each stem the sentence that says what the investigator found, then place it. Do Problem 5 🔒 together before the pairs work.
- Extension
- Rewrite one Day 2 problem twice, changing one sentence each time, so its answer becomes each of the other two kinds. Trade with a partner, who names the sentence that changed the kind.
- Vocabulary support
- indicator of compromise (IoC), authentication log, access log, user activity log, configuration setting, approved build, hash, privileges.
🔒 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.4.A Explain how to detect attacks against devices.
- 4.4.A.1 System processes and settings, login attempts, file download attempts, and user actions are logged by computing systems. These logs can be used to reconstruct circumstances leading up to and during a cyber incident.
- 4.4.A.2 An indicator of compromise (IoC) is evidence that an adversary has compromised a device or network.
- 4.4.A.3 Authentication logs (or auth logs) record every attempted login on a system. Analysis of authentication logs can reveal attempted attacks.
- 4.4.A.4 Host-based IoCs are discovered when analyzing logs and configuration settings. Indicators, such as the following, can be found in authentication logs, user activity logs, and system configuration files: Unusual files being created or modified; Unexpected processes or services; Unauthorized changes to system configuration settings; Unauthorized software installation or update
- 4.4.A.5 File-based IoCs are discovered when analyzing files on a device. Indicators are usually found in executable files and can include: Files whose hash matches known malware; File names that are known to be created by a certain piece of malware; File paths that are associated with malicious activity
- 4.4.A.6 Behavior-based IoCs are discovered when analyzing logs. Indicators can be found in authentication logs and access logs and can include: Multiple failed login attempts; Unusual login times or locations; Unauthorized attempts to access sensitive data; Attempts to elevate user privileges on a system