Lesson plan: Detective Controls for Data
AP Cybersecurity · Unit 5 Securing Applications and Data · Topic 5.6 Detecting Attacks on Data and Applications · Practice set
At a glance
- Suggested time
- 2 class periods (45 min)
- Pacing
- First of three sets for Topic 5.6, and the only one for LOs 5.6.A to 5.6.C. The CED gives Topic 5.6 seven class periods; this plan suggests 2 for this set, 2 for Integrity Hashing and 3 for Reading Application Logs. The split is this plan's suggestion; the CED sets only the topic's total. The lesson's hash passage points ahead to Integrity Hashing, which works through the commands.
- Before this set
- Data States, Regulated Data, and Policies (how organizations classify data, and the laws and rules that cover regulated records such as health and payment card data). From Securing Devices: Hashing and Password Storage (what a hash and a digest are) and Choosing Device Detection (choosing detection by cost and by how sensitive or critical the device is). Students met false negatives in Choosing a Detection Method (Unit 3).
- Skills
- 3.A Identify methods for monitoring systems, and explain how they detect attacks.3.B Determine strategies and methods to detect attacks.3.C Evaluate the impact of threat detection methods.
The one idea: Each detective control notices one kind of event. Access records show who opened, copied, or deleted what, and when, where, and on which device; a honeypot shows that someone opened a fake file nobody needs; a hash shows that a file's contents changed. Choose among them by cost, sensitivity, and classification, then ask when each one reports and what it can't see. A quiet control says nothing about events it doesn't watch.
Day by day
Day 1 · What each control notices, and how to choose45 min
- Open (4 min)Ask: a thief signs in with a real employee's password. What could still give the thief away? List the answers on the board and come back to them at the box "Accounting".
- Mini-lesson (16 min)Teach Detective Controls for Data, from the top through "Choosing detective controls", stopping before "Detection speed and blind spots". At the bookstore's three entries in "Accounting" ("Which one would you look into first?"), pairs pick one and give a reason before the next paragraph. Students start a chart with a row for each control (access records, honeypot, hash, DLP service) and columns for what it notices and what it costs. Two more columns, when it reports and what it misses, wait for Day 2.
- Do together (10 min)Problem 2 🔒 Problem 4 🔒 🔒 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 honeypot is · Problem 6 🔒 a change since approval · Problem 3 🔒 data leaving the company · Problem 7 🔒 detection with no budget.
- 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 · When each control reports, and what it misses45 min
- Open (6 min)Problem 8 🔒 Problem 9 🔒 on their own as a warm-up on Day 1's criteria for choosing controls. Collect answers and hold them for Discuss.
- Mini-lesson (10 min)Teach Detective Controls for Data, "Detection speed and blind spots" and "Settlements and the federal findings". At the lesson's question about Anthem (which of the bookstore's controls would have caught the adversary soonest, and which would have missed it entirely), pairs answer before the next paragraph. Students fill the chart's last two columns: when each control reports, during an attack or after it, and what it can't see.
- Do together (7 min)Problem 11 🔒 🔒 Teacher notes: sign in as a teacher to see this🔒 Teacher notes: open the full plan to see this
- In pairs (8 min)Problem 10 🔒: one student sorts the five controls into during and after, the other checks each against the box "Speed of detection" · Problem 5 🔒: find the stem's time limit before reading the choices.
- On their own (4 min)Problem 12 🔒: what a year without alerts shows.
- Discuss (7 min)Problem 12 🔒 Problem 8 🔒 Problem 9 🔒 🔒 Teacher notes: sign in as a teacher to see this🔒 Teacher notes: open the full plan to see this
- Wrap (3 min)Students pick one store of data at a school (grades, the nurse's records, the lunch menu) and name a detective control for it, with the criterion that chose it.
Differentiation
- If students are struggling
- Before the Day 1 problems, fill the chart's first two columns together from the lesson's boxes. Do Problem 6 🔒 as a class, asking of each choice whether it would show a change in the file's contents.
- Extension
- Write two more entries for the bookstore's access records: one suspicious for a reason the lesson's entries don't show, and one that looks odd but is ordinary, with a sentence on each. Or plan the detection for Problem 12 🔒's finance share using two controls, and say what the pair would still miss.
- Vocabulary support
- accounting, access record, honeypot (decoy), cryptographic hash, digest, data loss prevention (DLP), sensitivity, criticality, classification, real-time and retrospective log analysis, false negative.
From the course framework
LO 5.6.A Explain how to detect attacks on data.
- 5.6.A.1 Devices track and log when data are accessed and by whom. The process of recording and monitoring user activities is called accounting. Analysis of these logs can reveal malicious activity when an adversary attempts to access, copy, move, or delete data. Suspicious activity can include: Accessing files that aren't typically accessed; Accessing files or applications outside of a user's normal patterns (including time of day, location, and device type); Attempts to delete or copy sensitive files
- 5.6.A.2 A honeypot is a file that appears as if it contains valuable data (e.g., credit card information, PII, passwords), but the data in the file are fake. A system can alert defenders if someone attempts to access the honeypot. Since the honeypot is a fake file, there is no legitimate reason to be accessing it, and any attempted access would be an indicator of malicious activity.
- 5.6.A.3 Cryptographic hash functions can generate a digest for data and can reveal if data have been altered. If a file has changed unexpectedly, this can be a sign of malicious activity.
LO 5.6.B Determine controls for detecting attacks against applications or data.
- 5.6.B.1 Cost is a criterion in determining detective controls. Detective controls like honeypots and using hash values to check data integrity are inexpensive. Some organizations invest in third-party data loss prevention (DLP) services, which monitor data access, usage, and transmission by users throughout the organization to detect suspicious activity; DLP services provide strong detection capabilities at a higher cost.
- 5.6.B.2 Sensitivity or criticality of data or applications is a criterion in determining detective controls. More sensitive or critical data or applications are more likely targets of an adversary and should be monitored more closely.
- 5.6.B.3 Classification of data is a criterion in determining detective controls. Data that have been classified as private, educational, healthcare, or financial often have legal or regulatory detection and monitoring requirements.
LO 5.6.C Evaluate the impact of a method for detecting attacks against an application or data.
- 5.6.C.1 To operate at an effective speed, log analysis needs to be augmented with some automation. Honeypots offer near instantaneous detection capabilities.
- 5.6.C.2 Some DLP tools, honeypots, and realtime automated log analysis provide alerts as an attack is happening. These tools allow for a prompt response that can stop an attack before it does more harm. Retrospective log analysis and the use of cryptographic hashes to verify data integrity identify attacks after they have occurred.
- 5.6.C.3 False negatives can occur in applications and data attack detection. Cryptographic hash functions only detect if data have been altered. An adversary could view and steal data without altering it, and a cryptographic hash function would not detect this. Honeypots cannot detect adversaries that do not attempt to access them.