Skip to content

Beginner · Rules first: ethics, law and permission · topic 4 of 35 · 16 min

The CIA triad and the tester's mindset

Explanation

Security protects three things: Confidentiality (only the right people see data), Integrity (data is not changed secretly), and Availability (the system is up when needed). A tester thinks about how each one could be broken — and then how the defender would stop and spot it.

The three goals of security

Nearly every security idea maps to three goals, called the CIA triad. They are not about the spy agency; CIA here stands for Confidentiality, Integrity and Availability.

Confidentiality means only the people who should see data can see it. A leaked password file breaks confidentiality. Integrity means data is correct and has not been changed without permission. If an attacker changes a bank balance, that breaks integrity. Availability means the service is there when people need it. If a site is knocked offline, that breaks availability.

Think of it like this: Think of your exam answer sheet. Confidentiality: no one else reads your answers. Integrity: no one changes your marks after you submit. Availability: the sheet is actually there on results day. A good system protects all three.

How an attacker thinks (so a defender can plan)

A tester looks at a system and asks, for each goal: how could this break? Could someone read data they should not (confidentiality)? Change data secretly (integrity)? Take the service down (availability)? This is just a structured way to find weaknesses — the same questions the defender should ask first.

Every attack idea comes with its defence

In this course, every offensive idea is paired with two things: detection (how a defender would notice it) and the fix (how to stop it). That pairing is what makes the knowledge ethical and useful. Learning an attack without its defence is half an education.

GoalExample of it breakingExample defence
ConfidentialityA database of users is leakedEncryption, access control, least privilege
IntegrityAn order total is changed in transitHashing, digital signatures, input validation
AvailabilityA flood of traffic takes the site downRate limiting, redundancy, DDoS protection
Tip: When you report a finding, say which part of the CIA triad it threatens. "This lets an attacker read other users' data (confidentiality)" is far clearer than "there is a bug".

Supporting ideas

Two more words you will meet: authentication (proving who you are, like logging in) and authorization (what you are allowed to do once logged in). Many attacks target one of these. Non-repudiation means a user cannot later deny an action, usually because it was logged and signed.

Need help?

Stuck on a word or an idea? Search this course, or every course, and jump straight to the explanation or a worked question.

Try:

Watch the lesson

The CIA triad and the tester's mindset · 1/7

Confidentiality · Integrity · Availability

Security protects three things, called the CIA triad.

Prefer a video by a teacher? Find free videos on “CIA triad confidentiality integrity availability explained” on YouTube ↗

In real life: A food-delivery app

A food-delivery app stores your address and card details (confidentiality), must not let anyone change your order total to ₹1 (integrity), and has to stay up during the dinner rush (availability). A tester checks all three: can a logged-in user read someone else's address? Can the price be tampered with on the way to the server? Can a flood of fake requests slow it down? For each, the report names the fix and how the team would detect an attempt.

Practice (0/3 done)

Task 1 · Question

An attacker secretly changes the price field of an order before it reaches the server. Which goal is broken?

Task 2 · Question

A flood of fake traffic knocks a website offline during peak hours. Which goal is broken?

Task 3 · Code · Python

A simple risk score helps a tester rank findings. Write risk_score(likelihood, impact) that returns likelihood * impact, but raises ValueError if either value is outside 1 to 5.

Quick quiz

Question 1

1.CIA in security stands for…

Question 2

2.A leaked list of user passwords most directly breaks…

Question 3

3.The difference between authentication and authorization is…

Question 4

4.Why should a finding name which CIA goal it threatens?

Read more (free)

Open a question to see the answer and why. The first ones are this topic's own quiz, so try the quiz above before you peek.

CIA in security stands for…

Answer: Confidentiality, Integrity, Availability

The CIA triad is Confidentiality, Integrity and Availability.

A leaked list of user passwords most directly breaks…

Answer: Confidentiality

Data that should be secret was exposed: confidentiality.

The difference between authentication and authorization is…

Answer: Authentication proves who you are; authorization decides what you may do

First you prove who you are (authN), then the system decides what you may do (authZ).

Why should a finding name which CIA goal it threatens?

Answer: It makes the risk clear to the client

Naming the goal makes the impact concrete and easy to prioritise.

What does the C in the CIA triad stand for?Related

Answer: Confidentiality

C is confidentiality: only the right people can see the data.

From What cyber security protects: the CIA triad

Which part of the CIA triad does a DDoS attack mainly harm?Related

Answer: Availability

A DDoS floods a service so real users cannot reach it, which harms availability.

From Security basics: threats, CIA and AAA

A de-authentication attack aims to…Related

Answer: Knock devices off so they reconnect

It forces reconnects, often to capture a handshake or push an evil twin.

From Wireless security concepts

The blue team in a security exercise is the…Related

Answer: Defenders

The blue team defends: SOC analysts, admins and incident responders.

From What ethical hacking is (and is not)

Pass the quiz (60% or more) or mark this topic as done when you are ready.

Your progress is saved on this device only.

Next steps

  1. This is the last topic of “Rules first: ethics, law and permission”. The module exam comes next.
  2. Module 1 exam: ethics, law and permission · 13 questions · 20 min, without help. 4 topics of this module still to finish first.
  3. Then the next module, Your legal practice lab. 35 topics left in the course before the final exam.

← Previous: Scope and rules of engagement