AP Cybersecurity · Study guide

Assessing & Documenting Data Risk

AP® Cybersecurity · Unit 5 · Applications, Data & Cryptography

Assessing & Documenting Data Risk

How to name what could go wrong with data, judge how bad it is, rate it high, moderate, or low, and write it down so others can act on it.

1What can happen to data

A data risk is always a risk to one of the three security principles (the CIA triad). Before rating a risk, say which one is in danger:

PrincipleCompromised whenExample
ConfidentialityUnauthorized persons can access sensitive dataAn attacker copies a customer list
IntegrityData can be manipulated or altered from its intended stateSomeone changes bank details in a payroll file
AvailabilityData is destroyed or encrypted so others cannot access itRansomware locks the records a clinic needs today

One weakness can threaten more than one principle. A folder that anyone can write to risks confidentiality, integrity, and availability at once, because an attacker can read, change, or delete what is in it. Rate each harm on its own.

2High, moderate, and low

Risk combines two judgments: how severe the harm would be, and how likely an exploit is. For data, severity mostly comes from how sensitive the data is, and likelihood mostly comes from how weak its protection is.

Figure 1. The same weakness can land in different rows. Weak encryption on customer PII is moderate; weak protection on less sensitive memos is low. The data behind the weakness decides.
  • High risk: highly sensitive data (for example, data governed by laws or regulations) that could be compromised through a highly likely exploit. A company building a new jet engine for the Air Force keeps the engine's technical specifications on an unencrypted drive.
  • Moderate risk: sensitive data without strong enough encryption or strict enough access controls. A company keeps its customers' personally identifiable information (PII) in a spreadsheet encrypted with a small key.
  • Low risk: less sensitive information encrypted with shorter keys or with access controls that are not strict enough. A CEO keeps private memos to the executive staff on a company share drive that is unencrypted and has no access controls.

The CEO example surprises people: no encryption and no access controls, yet low risk. The rating is low because the memos are judged less sensitive than military designs or customer PII, and the share drive sits inside the company network. If the memos held merger plans or employee medical details, the same weakness would rate higher. Write that assumption down.

3How strong is “encrypted”?

“Encrypted” is not a yes-or-no answer. A key is the secret value needed to unlock encrypted data, and a shorter key means fewer possible keys for an attacker to try. An attacker who copies the file can try keys on their own computer, with no lockouts.

KeyPossible keysTime to try them all at 1 billion guesses per second
4-digit PIN10,000under a thousandth of a second
40-bit key1,099,511,627,776about 18 minutes
128-bit keyabout 3.4 × 1038about 1.1 × 1022 years

That is why a spreadsheet “encrypted with a small key” is only partly protected, and why it rates moderate rather than low: once the file is copied, the key falls quickly.

4Writing a risk record

An assessment only helps if someone else can read it and act on it. A risk record (one line in a risk register) states each part of the reasoning, so a reader can check it and a manager can compare it with other risks.

One entry in a risk register
Risk ID ........ R-07
Asset .......... Customer appointment spreadsheet (names, phone numbers, visit dates)
Principle ...... Confidentiality
Threat ......... Thief or insider who copies the file
Vulnerability .. Encrypted with a 40-bit key
Exploit path ... Copy the file, try every key offline (about 18 minutes)
Likelihood ..... Moderate: the file sits on a shared office laptop
Severity ....... Moderate: PII of 2,300 customers; phishing and identity fraud
Risk rating .... MODERATE
Assumptions .... No payment card data in the file
Recommended .... Re-encrypt with AES-256; limit access to front-desk staff
  • Asset and principle: what data, and which of C, I, or A is at stake.
  • Threat, vulnerability, and exploit path: who, what weakness, and how they would use it.
  • Likelihood and severity, each with a reason. These two produce the rating.
  • Assumptions: anything that would change the rating if it turned out false.
  • Recommendation: the control that would lower the risk.
The key idea

Name the principle at stake, judge how sensitive the data is and how weak its protection is, and rate the risk high, moderate, or low. Then document every part, including your assumptions, so the rating can be checked.

5Worked examples

Worked Example 1 Rate the risk

The engine specifications

A defense contractor stores the technical specifications for a new military jet engine on an unencrypted drive. Rate and explain the risk.

  1. 1
    Principle: confidentiality. Rivals or foreign governments could read the designs.
  2. 2
    Sensitivity: very high. The data is military and governed by export laws.
  3. 3
    Protection: none. Anyone who gets the drive or a copy can read it, so an exploit is highly likely.
  4. 4
    Highly sensitive data plus a highly likely exploit is the definition of high risk.
Answer: High. Encrypt the drive with a strong key and restrict who can reach it.
Worked Example 2 Rate the risk

Customer PII, small key

A store keeps customers' names, addresses, and phone numbers in a spreadsheet encrypted with a small key. Rate and explain the risk.

  1. 1
    Principle: confidentiality.
  2. 2
    Sensitivity: the data is PII, which is sensitive but not as critical as military designs.
  3. 3
    Protection: it is encrypted, but a small key can be found quickly once the file is copied.
  4. 4
    Sensitive data with encryption that is not strong enough rates as moderate.
Answer: Moderate. Re-encrypt with a longer key to lower it.
Worked Example 3 Same weakness, different data

Two open folders

Two folders on a company share drive are unencrypted with no access controls. Folder A holds the cafeteria menu archive. Folder B holds scanned employee passports. Rate each.

  1. 1
    Same weakness: anyone on the network can read, change, or delete both.
  2. 2
    Folder A: the menus are not sensitive. Low.
  3. 3
    Folder B: passport scans are highly sensitive identity documents, and with no access controls, misuse is highly likely. High.
Answer: A is low, B is high. The weakness alone does not set the rating; the data behind it does.
Worked Example 4 Name the principle

Which harm?

For each, name the principle at risk: (a) an intern can edit the price list that the online store reads; (b) the only copy of the patient schedule sits on one laptop with no backup; (c) a public link exposes a file of student grades.

  1. 1
    (a) Changing prices alters data from its intended state: integrity.
  2. 2
    (b) If the laptop fails or is encrypted by ransomware, no one can reach the schedule: availability.
  3. 3
    (c) Unauthorized people can read the grades: confidentiality.
Answer: (a) integrity, (b) availability, (c) confidentiality.

6Common mistakes

Common Mistake 1 · Rating the weakness instead of the risk

“No encryption” is not automatically high and “encrypted” is not automatically low. Ask what data sits behind the weakness.

Common Mistake 2 · Treating encryption as all or nothing

A small key can be tried exhaustively in minutes once the file is copied. Say how strong the encryption is.

Common Mistake 3 · Only thinking about theft

Data can also be altered (integrity) or destroyed and encrypted (availability). Check all three.

Common Mistake 4 · Leaving out the reasons

A rating with no likelihood, severity, or assumptions cannot be checked or compared. Write each one down.

Document a data risk like this

“The customer spreadsheet holds PII, so a disclosure would harm customers’ confidentiality. It is encrypted, but with a 40-bit key that an attacker could break offline in about 18 minutes, so the encryption is not strong enough. Sensitive data with weak encryption is a moderate risk. Re-encrypting with a 256-bit key would reduce it.”

Name the data and principle, explain the weakness and how likely an exploit is, state the rating with its reason, and recommend a fix.