Sub topic 1
Security Fundamentals: The CIA Triad, Threats and Vulnerabilities
Prerequisites
This chapter assumes you can do the following:
- Use Windows and open a command prompt or PowerShell window.
- Name common hardware components and peripherals.
- Define basic networking terms such as IP address, router and Wi-Fi.
No security background is needed. This is the first chapter, and later chapters build on its vocabulary.
Why start with fundamentals
Almost every security question on the A+ Core 2 exam is a scenario. You are given a problem and asked to pick the control that fits. To choose well, you need to know what the control protects, what it protects against, and what weakness it closes. Three ideas give you that: the CIA triad, threats, and vulnerabilities.
The CIA triad
The CIA triad is a model of the three goals that security controls support. The letters stand for confidentiality, integrity and availability. It has nothing to do with the intelligence agency.
| Goal | Question it answers | Example control | Example failure |
|---|---|---|---|
| Confidentiality | Can only authorized people read the data? | Encryption, NTFS permissions, privacy filters | A stolen laptop exposes customer records |
| Integrity | Is the data accurate and unchanged by unauthorized people? | File permissions, hashing, change control | An attacker edits a payroll file |
| Availability | Can authorized people use the data and systems when needed? | Backups, redundant power, patching | Ransomware locks every file, or a DoS attack takes down a website |
Confidentiality
Confidentiality means keeping information from people who should not see it. Controls include encryption (BitLocker, covered later), access control lists, screen privacy filters and locked doors. Shoulder surfing, where someone reads your screen over your shoulder, is a direct attack on confidentiality.
Integrity
Integrity means data stays correct and only authorized changes happen. Read-only permissions support integrity because they stop users from changing files. A hash is a fixed-length value computed from data. If the data changes, the hash changes, so hashes let you detect tampering. Malware that silently alters system files breaks integrity.
Availability
Availability means systems and data work when people need them. Backups, spare hardware, uninterruptible power supplies and timely patches all support it. A denial-of-service attack is an availability attack, because the data is not stolen or changed, only made unreachable.
Goals can conflict
Controls often trade one goal against another. Strict lockout rules improve confidentiality but can hurt availability if a legitimate user is locked out. Keeping extra copies of data helps availability but gives an attacker more places to steal it. Good security balances all three for the situation at hand.
Threats, vulnerabilities and risk
Three terms are easy to confuse, so keep them separate.
- A threat is anything that could cause harm, such as an attacker, malware, a natural disaster or a careless employee.
- A vulnerability is a weakness that a threat can use, such as unpatched software, a default password or an unlocked server room.
- A risk is the chance that a threat uses a vulnerability, combined with the damage that would result.
A threat with no vulnerability to exploit is harmless. A vulnerability that no threat can reach is also low risk. You reduce risk by removing vulnerabilities, blocking threats, or limiting the damage.
An exploit is the method or code that takes advantage of a vulnerability. A zero-day is a vulnerability that the vendor does not yet know about, so no patch exists. Later chapters cover zero-days and other attacks in detail.
Common vulnerabilities
| Vulnerability | Why it matters | Typical fix |
|---|---|---|
| Missing OS or application patches | Known flaws can be exploited by public tools | Enable and verify updates |
| Default or weak passwords | Guessable by brute force or lookup | Change defaults, enforce password policy |
| Unneeded open ports and services | Each one is a possible way in | Disable the service, block it in the firewall |
| Excessive permissions | A compromised account can do more harm | Apply least privilege |
| Unencrypted data or traffic | Anyone who captures it can read it | Use BitLocker, WPA3, HTTPS |
| Untrained users | Easy targets for social engineering | Security awareness training |
| Unlocked doors, unattended screens | Physical access bypasses software controls | Locks, screen lock, badges |
Threat categories
Threats come from different places, and the right control depends on the source.
- Physical threats: theft, tailgating into a building, dumpster diving, and tampering with equipment.
- Human threats: social engineering such as phishing and impersonation, plus insider mistakes or misuse.
- Network threats: denial of service, on-path attacks (an attacker sits between two parties and reads or alters traffic), and brute force login attempts.
- Software threats: viruses, worms, trojans, ransomware, spyware and injection attacks.
Physical and logical controls
Security controls fall into two broad groups, and this tutorial follows the same split.
- Physical controls act on the real world: fences, locks, badges, cameras and cable locks.
- Logical controls (also called technical controls) act inside systems: passwords, permissions, encryption, firewalls and antimalware.
Administrative controls, such as written policies and training, guide how people use both kinds. A physical control can fail a logical one. An attacker who can carry away a server ignores its password. Encryption, in turn, limits the damage when a physical control fails.
Worked example: classifying an incident
Scenario: an employee leaves a laptop in a car. A thief takes it. The drive is not encrypted and holds customer records.
- Threat: a thief, a physical and human threat.
- Vulnerability: the laptop was unattended, and the data on it was not encrypted.
- Goal affected: confidentiality, because unauthorized people can read the records. Availability is also affected for the employee, who lost the device.
- Controls that would help: full-disk encryption such as BitLocker, a cable lock when working in public, a strong sign-in policy, and remote wipe for managed devices.
Notice that the best single fix is the one that closes the vulnerability, which is the missing encryption. Physical precautions reduce the chance of theft, but encryption protects the data even after theft happens.
Defense in depth and least privilege
Two principles recur through the rest of the tutorial.
- Defense in depth means layering several controls so that one failure does not expose everything. A building might use a fence, a badge reader, a locked rack, a password and encryption.
- Least privilege means giving each user and program only the access needed for the job. It limits what a compromised account can do. You will apply it with Windows permissions in later chapters.
Common errors
- Mixing up threat and vulnerability. A hacker is a threat. An unpatched server is a vulnerability.
- Treating availability as only uptime. Data lost with no backup is also an availability failure.
- Assuming software controls beat physical access. If someone can touch the machine, many software controls can be bypassed.
- Fixing the symptom. Blocking one attacker does not fix the weak password that let them in.
- Ignoring people. Many incidents begin with a user who was tricked, not with a technical flaw.
Exercise
A technician finds that a file server's shared payroll folder is writable by all employees, and someone changed several salary values. Which CIA goal was violated, and which vulnerability allowed it?
Show answer
Integrity was violated, because unauthorized people changed the data. The vulnerability was excessive permissions. Applying least privilege, such as read-only access for most users, would reduce the risk.
Exercise
A website becomes unreachable because it is flooded with traffic from many machines. No data is stolen or changed. Which goal is affected, and is the flood a threat or a vulnerability?
Show answer
Availability is affected. The traffic flood is a threat, specifically a denial-of-service attack. A vulnerability would be a weakness that lets the flood succeed, such as no traffic filtering or no spare capacity.
Exercise
Name one control for each CIA goal that you could apply to a laptop used by a traveling employee.
Show answer
Confidentiality: enable BitLocker full-disk encryption. Integrity: use standard-user permissions so users cannot alter system files, and keep updates and antimalware current. Availability: keep regular backups and carry a spare charger or battery.