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

Day 2 · When each control reports, and what it misses45 min

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.