Sub topic 1
Security Fundamentals: The CIA Triad, Threats and Vulnerabilities
Prerequisites
This chapter assumes you can use Windows and a command line. It also assumes you know common hardware parts and basic networking terms such as IP address, router and Wi-Fi. No earlier security knowledge is needed.
The CIA triad
Every security control exists to protect one or more of three goals. Together they are called the CIA triad.
- Confidentiality means only authorized people can read data.
- Integrity means data is accurate and has not been changed without permission.
- Availability means authorized users can reach systems and data when they need them.
On the exam, you will often be given a scenario and asked which goal is at risk. Identify the goal first, then pick the control.
| Goal | Example control | Example failure |
|---|---|---|
| Confidentiality | Encryption, permissions | A stolen laptop exposes customer files |
| Integrity | File hashes, restricted write access | A user edits payroll records without approval |
| Availability | Backups, redundant power, firewalls | A denial-of-service attack takes a website offline |
Threats, vulnerabilities and risk
These three terms are related but not the same.
- A threat is anything that could cause harm, such as an attacker, malware or a flood.
- A vulnerability is a weakness that a threat can use, such as an unpatched operating system or a default password.
- Risk is the chance that a threat uses a vulnerability, combined with the damage that would result.
A control reduces risk by removing a vulnerability or blocking a threat. Patching a system removes a vulnerability. A firewall blocks a threat.
Physical and logical controls
The tutorial splits controls into two groups. Physical controls protect buildings, rooms and equipment. Examples are fences, locks and cameras. Logical controls protect data and systems through software and settings. Examples are passwords, permissions, encryption and firewalls. Strong security uses both, because a locked server room does not help if the administrator password is "password".
Worked example
A small office keeps customer records on a file server. A technician finds three problems.
- The server room door is propped open. This is a physical vulnerability that threatens confidentiality and availability.
- Every employee can edit the records folder. This threatens integrity, and the fix is least privilege, covered later in this tutorial.
- The server has no backups. This threatens availability, and the fix is a regular backup.
Each problem maps to one triad goal and one control. This is the reasoning the exam expects.
Common mistakes
- Treating a threat and a vulnerability as the same thing. The attacker is the threat. The missing patch is the vulnerability.
- Choosing a confidentiality control for an availability problem, such as encrypting a drive to stop a denial-of-service attack.
- Relying on only one layer. The later chapters on defense in depth explain why.
Exercise
A server fails because its only power supply burns out, and staff cannot reach customer data for a day. Which CIA goal was affected, and which control would reduce the risk?
Show answer
Availability was affected. Redundant power supplies, a UPS or a tested backup and recovery plan would reduce the risk.
Exercise
An unpatched web server lets an attacker modify product prices. Name the threat, the vulnerability and the goal at risk.
Show answer
The threat is the attacker. The vulnerability is the missing patch. The goal at risk is integrity, because data was changed without permission.