Sub topic 1
Security fundamentals: the CIA triad and common threats
Prerequisites
This chapter assumes you can do the following:
- Use the Windows desktop and open Settings and Control Panel.
- Recognize basic networking terms such as IP address, router, and Wi-Fi.
- Tell common storage hardware apart, such as hard drives, SSDs, and smartphones.
No prior security knowledge is needed. Later chapters cover each control mentioned here in detail.
Why start with fundamentals
Every A+ Core 2 security question asks the same thing in a different form. What is being protected, what could go wrong, and which control fits? The CIA triad gives you the first part. Threat categories give you the second. Controls, covered in the rest of this tutorial, give you the third.
The CIA triad
The CIA triad is a model with three goals for protecting information: confidentiality, integrity, and availability. A security control usually supports at least one of them. A failure usually breaks at least one.
| Goal | Meaning | Typical controls | Typical failure |
|---|---|---|---|
| Confidentiality | Only authorized people can read the data | Encryption, permissions, MFA, screen privacy filters | A stolen laptop exposes customer files |
| Integrity | Data is accurate and has not been changed without authorization | Hashing, file permissions, digital signatures, audit logs | Malware alters a payroll spreadsheet |
| Availability | Authorized users can reach the data when they need it | Backups, redundancy, patching, UPS, anti-DoS measures | Ransomware locks every file on a server |
Confidentiality
Confidentiality means keeping data private. Encryption is the main tool. BitLocker protects a whole drive. EFS protects individual files. Permissions limit who can open a file in the first place.
Integrity
Integrity means you can trust the data. A hash is a fixed-length value computed from a file's contents. If one bit of the file changes, the hash changes. This is how you check that a downloaded installer was not tampered with. Permissions also protect integrity, because a user who can only read a file cannot alter it.
Availability
Availability means the data and systems work when needed. A backup that nobody can restore does not provide availability. Patching also supports it, because unpatched flaws let attackers crash or lock up systems.
Controls can pull against each other
The three goals sometimes conflict. Strong encryption with a lost recovery key improves confidentiality but destroys availability. Very open sharing improves availability but hurts confidentiality. Good security balances them for the data involved.
Related security terms
The exam uses several terms alongside the triad. Learn them as a set.
- Vulnerability: a weakness, such as unpatched software or a default password.
- Threat: anything that could exploit a vulnerability, such as an attacker or malware.
- Exploit: the method or code that takes advantage of a vulnerability.
- Risk: the chance that a threat exploits a vulnerability, combined with the damage it would cause.
- Control: a safeguard that reduces risk.
Controls come in three broad types:
- Physical: locks, badges, and cameras.
- Logical (technical): passwords, firewalls, encryption, and antivirus.
- Administrative: policies, training, and procedures.
A single scenario often involves all three. For example, a workstation might be protected by a locked room (physical), a BitLocker drive (logical), and an acceptable use policy (administrative).
Common threats
Threats fall into a few families. The next chapters examine each one closely. This section gives you the map.
Malware
Malware is software built to harm a system or steal data. Examples include viruses, worms, trojans, ransomware, and spyware. Ransomware mostly attacks availability, since it locks data until a payment is made. Spyware attacks confidentiality, since it quietly collects information.
Social engineering
Social engineering tricks people instead of attacking machines. Phishing uses deceptive messages. Tailgating means following an authorized person through a secured door. Shoulder surfing means watching someone enter a password or read a screen. These attacks usually target confidentiality.
Network and wireless attacks
Attackers can eavesdrop on weak Wi-Fi, impersonate a trusted access point, or flood a service with traffic. A denial-of-service (DoS) attack targets availability. An on-path attack, where an attacker sits between two parties, targets confidentiality and integrity.
Insider threats
An insider threat comes from someone with legitimate access. The cause may be malice or a simple mistake, such as sending a file to the wrong recipient. Least privilege and audit logs limit the damage.
Physical threats
Theft of a laptop, a USB drive left on a desk, or an unlocked server room are all physical threats. They are often the cheapest way for an attacker to get data.
Unpatched and misconfigured systems
Many real incidents begin with a known flaw that had a fix available. Default passwords, open ports, and the built-in Guest account are also common weak points.
Matching a control to a threat
On the exam, work through a scenario in three steps.
- Identify the asset at risk, such as a laptop, a shared folder, or a phone.
- Decide which CIA goal is threatened.
- Pick the control that addresses that goal at the lowest reasonable cost and disruption.
Here is a short worked example. A user reports that a coworker read the finance spreadsheet over their shoulder at a coffee shop. The asset is the spreadsheet. The goal at risk is confidentiality. A privacy screen filter is the best fit. It is a physical control that directly blocks viewing from an angle. A new firewall would not help.
Hardening a workstation with built-in tools
Several quick commands show the triad at work on a Windows workstation. Run them from an elevated prompt. This means opening Command Prompt or PowerShell with Run as administrator.
Disabling the Guest account removes an unnecessary login path, which supports confidentiality:
net user guest /active:noTurning the firewall on for all profiles reduces exposure to network attacks:
netsh advfirewall set allprofiles state onStarting a quick Defender scan checks for malware that could damage integrity or availability:
Start-MpScan -ScanType QuickScanYou can confirm the firewall change by running netsh advfirewall show allprofiles and checking that each profile reports State ON.
Common mistakes
- Confusing integrity with confidentiality. If data is changed, that is integrity. If data is read by the wrong person, that is confidentiality.
- Treating availability as only a hardware issue. Ransomware, a lost encryption key, and an expired certificate can also cut off access.
- Relying on one control. Layering several controls is called defense in depth. If one layer fails, another still protects the asset.
- Ignoring people. Many successful attacks need no technical flaw at all.
Exercises
Exercise
A ransomware infection encrypts every file on a company file server, and employees cannot open any documents. Which part of the CIA triad is most directly affected, and which control would best reduce the impact?
Show answer
Availability is most directly affected. Regular, tested offline backups let the company restore the files without paying. Patching and antimalware software reduce the chance of infection in the first place.
Exercise
A technician finds that a quarterly sales report was edited by an account that should only have read access. Which CIA goal was violated, and which control prevents a repeat?
Show answer
Integrity was violated. Correct NTFS permissions that give the account only Read access, combined with audit logging, prevent and detect unauthorized changes. This applies the principle of least privilege.
Exercise
Name the three types of security controls and give one example of each.
Show answer
Physical, such as a door lock or badge reader. Logical (technical), such as a firewall or disk encryption. Administrative, such as an acceptable use policy or security awareness training.