Beginner · Rules first: ethics, law and permission · topic 4 of 35 · 16 min
The CIA triad and the tester's mindset
Explanation
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.
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.
| Goal | Example of it breaking | Example defence |
|---|---|---|
| Confidentiality | A database of users is leaked | Encryption, access control, least privilege |
| Integrity | An order total is changed in transit | Hashing, digital signatures, input validation |
| Availability | A flood of traffic takes the site down | Rate limiting, redundancy, DDoS protection |
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
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)
An attacker secretly changes the price field of an order before it reaches the server. Which goal is broken?
A flood of fake traffic knocks a website offline during peak hours. Which goal is broken?
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
Read more (free)
Related help
Before this, learn
This topic builds on these. If something here feels new, open them first.
Related topics
- What cyber security protects: the CIA triadCyber Security: from zero to SOC analyst · Security basics
- Security basics: threats, CIA and AAAComputer Networking (CCNA level) · Network security
- Wireless security conceptsDeeper lab skills: passwords, privilege, Metasploit, wireless
- Interviews, CVs and honest salary expectationsCyber Security: from zero to SOC analyst · Careers and certifications
- Cross-site scripting (XSS)Web attacks and their fixes
- Ports, services and what scanning doesScanning with nmap
Questions people ask about this
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.
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.
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.
The blue team in a security exercise is the…Related
Answer: Defenders
The blue team defends: SOC analysts, admins and incident responders.
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
- This is the last topic of “Rules first: ethics, law and permission”. The module exam comes next.
- Module 1 exam: ethics, law and permission · 13 questions · 20 min, without help. 4 topics of this module still to finish first.
- Then the next module, Your legal practice lab. 35 topics left in the course before the final exam.