Free lesson · Module 1, lesson 3 of 8

Confidentiality, integrity, availability and risk

Classify an incident by which of the three it breaks, tell a threat, a vulnerability and a risk apart, and choose a preventive, detective or corrective control for each.

Lessons in this module

Lesson notes

For the student

Every incident breaks at least one of three properties, and every answer a security cell gives starts by naming it. Nothing to install for this lesson; the lab comes in lessons 7 and 8.

The three properties (the CIA triad)

  • Confidentiality: only the right people see it (a marks PDF on WhatsApp breaks it)
  • Integrity: nobody changes it without the right (a mark changed from 41 to 81 breaks it)
  • Availability: it works when it is needed (a portal down from 10 to 1 on results day breaks it)
  • Ask: was it seen, changed or stopped? One incident can break more than one

Threat, vulnerability, risk, control

  • Threat: who or what could cause harm (a thief in the corridor; a curious signed-in user)
  • Vulnerability: a weakness (a window that does not lock; a portal that answers for any roll number)
  • Risk: how likely, and how bad (the marks of all 1,200 students leaking); it decides what is fixed first
  • Control: what you do about it, sorted by when it acts

Three kinds of control

  • Preventive, before: a lock; a limit on sign-in tries; a check of whose roll number it is
  • Detective, during: an alarm; the lab's alert PortalFailedLogins, three or more failed sign-ins in five minutes
  • Corrective, after: insurance; restoring the marks table from last night's backup
  • A good plan has one of each, because none is perfect

Try it

  • Worksheet task 3 in labs/m01/worksheet.md: six portal incidents, each marked C, I or A, with one preventive, one detective and one corrective control
  • You should have a six row table

Every technique in this course is practised only on the lab machines the course gives you, running on your own laptop.

Lesson quiz

Checked in your browser. Nothing is sent or saved.

5 questions

Question 1 · easy

On results day, the portal is down from ten in the morning until one. Which property is broken?

Question 2 · medium

"A curious signed-in user." On the results portal, what is this?

Question 3 · medium

The portal refuses further sign-ins for an account after a few failures. What kind of control is that?

Question 4 · medium

Which sentence describes a risk?

Question 5 · medium

Overnight, an attacker changes marks on the portal, then takes the portal down for three hours so nobody checks them. Nobody else saw the marks. Which properties are broken?

How an attack unfolds: from one email to stolen dataNext: Attacks around you: phishing, OTP scams, malware and ransomware