Sub topic 1
Threats, vulnerabilities and attacks: the vocabulary
The A+ Core 2 (220-1102) security objectives use a small set of terms again and again. Exam questions are usually short scenarios, and you can only pick the right answer if you can tell what is being described. This chapter fixes the vocabulary and gives you a model you will reuse in every later chapter.
Prerequisites
This chapter assumes you already have the following:
- Basic Windows usage, including Settings, Control Panel and booting into Safe Mode.
- Familiarity with networking terms such as IP address, Wi-Fi and DNS.
- A general idea of what antivirus software does.
You do not need any security background. This is the first chapter of the tutorial.
The working model: four linked terms
Security questions become easier when you separate four ideas that people often blur together.
- Asset: something worth protecting. Examples are customer data, a laptop, a user account or a network service.
- Vulnerability: a weakness that could be used to harm an asset. Examples are an unpatched operating system, a weak password, an unlocked server room door, or a user who trusts any email that looks urgent.
- Threat: anything that could exploit a vulnerability. A threat can be a person (an attacker, a careless employee), a piece of software (malware) or an event (a power failure, a flood).
- Attack: an actual attempt to exploit a vulnerability. A threat is a possibility, and an attack is that possibility happening.
A fifth term ties them together. Risk is the chance that a threat will exploit a vulnerability, combined with how much damage it would do. A technician rarely removes a threat, because attackers exist whatever you do. You reduce risk by fixing vulnerabilities or by adding controls that make an attack fail.
Worked example: one scenario, four labels
A receptionist receives an email that appears to come from the IT department. It asks her to confirm her password on a web page. She enters it, and the attacker signs in to her mailbox.
| Term | In this scenario |
|---|---|
| Asset | The receptionist's mailbox and the data in it |
| Vulnerability | A user who has not been trained to question urgent requests, and a mailbox protected by a password alone |
| Threat | The external attacker |
| Attack | The phishing email and the fake sign-in page |
Now think about countermeasures. User training addresses the first vulnerability, and multi-factor authentication (MFA) addresses the second. Either one would have broken the chain. This is the way exam questions work: they describe a situation, and you identify the weak point and the control that fits it.
Threat actors and where they come from
A threat actor is the person or group behind an attack. The A+ exam does not ask you to profile them in depth, but you should recognize the common categories.
- External attackers have no legitimate access and try to get in from outside, for example through phishing or by scanning for open services.
- Insiders already have some access. A malicious insider abuses it on purpose. A careless insider causes harm by mistake, such as by plugging in an unknown USB drive.
- Opportunistic attackers send the same attack to thousands of targets and hope some people fall for it. Typical mass phishing is of this kind.
- Targeted attackers pick a specific person or organization and research it first.
The distinction between mass and targeted attacks returns in the phishing chapters. It is the difference between phishing and spear phishing.
Categories of vulnerability
Vulnerabilities fall into a few groups. Knowing the group tells you which kind of control to reach for.
| Category | Examples | Typical control |
|---|---|---|
| Human | Trusting unsolicited messages, reusing passwords, holding doors open for strangers | Training, policies, reporting channels |
| Software | Unpatched operating system, outdated browser, application bug | Patching, updates, replacing unsupported software |
| Configuration | Default passwords, unneeded open ports, overly broad permissions | Hardening, least privilege, account policy |
| Physical | Unlocked doors, unshredded documents, unattended screens | Locks, badges, shredding, screen locks |
| Network | Open Wi-Fi, no encryption, no firewall rules | Encryption, firewalls, secure wireless settings |
Notice how closely each category pairs with a countermeasure. When you read a scenario, the first question is "which category is the weakness?" The answer to that question usually narrows the choices to one or two options.
Attacks versus vulnerabilities: a common source of errors
Intermediate learners most often lose points by confusing the thing being exploited with the way it is exploited. Some examples:
- Zero-day describes a vulnerability that the vendor has not yet fixed, and which is usually already being exploited. It names the weakness. The attack that uses it is a separate event.
- An end-of-life operating system is a vulnerability. It no longer receives security patches, so any flaw found stays open.
- Phishing is an attack. The vulnerability behind it is human trust.
- Malware is a threat in the form of software. Which type it is depends on how it behaves, and the malware chapters cover that.
A useful test is to ask "could this be fixed?" A vulnerability can be fixed or reduced, for example by patching, training or locking a door. An attack cannot be fixed, only prevented, detected or recovered from.
The CIA triad as a way to describe impact
When an attack succeeds, the damage is usually described in terms of three properties.
- Confidentiality: only authorized people can read the data. A stolen customer list breaks confidentiality.
- Integrity: the data has not been changed without permission. A modified payroll record breaks integrity.
- Availability: systems and data are usable when needed. A denial-of-service attack or ransomware breaks availability.
This is useful on the exam because it helps you classify an attack by effect. Spyware mainly harms confidentiality. A worm that overwrites files harms integrity. Ransomware that locks files harms availability, and often confidentiality too if the attacker also copies the data.
Controls: prevent, detect, respond
A control is anything that reduces risk. It helps to sort controls by purpose.
- Preventive controls stop an attack from working. Examples are patching, MFA, locked doors and user training.
- Detective controls notice that something is happening. Examples are anti-malware alerts, log review and security cameras.
- Corrective controls limit damage and restore normal operation. Examples are the malware removal steps, restoring from backup and resetting a compromised password.
Real defenses layer all three. This idea is often called defense in depth: no single control is perfect, so several overlap. If a user falls for a phishing email (prevention failed), anti-malware may still catch the payload (detection), and a technician can then follow the removal process (correction).
Checking the state of a protective control
Many corrective steps begin by confirming that your protective tools are working. On Windows, Microsoft Defender's status is visible from PowerShell. This command is the first check when you suspect malware, and later chapters return to it.
Get-MpComputerStatus | Select-Object AMServiceEnabled, AntivirusEnabled, RealTimeProtectionEnabled, AntivirusSignatureLastUpdatedThe output tells you whether the anti-malware service is running, whether real-time protection is on, and when the signatures were last updated. If real-time protection is off or the signatures are weeks old, you have found a vulnerability in your own defenses.
Reading scenarios: a repeatable method
Apply the same four steps to every scenario question.
- Identify the asset that is at risk.
- Identify the vulnerability, and assign it a category (human, software, configuration, physical or network).
- Identify the attack or threat by looking for the behavior described, not just a keyword.
- Choose the control that addresses the vulnerability, and ask whether it prevents, detects or corrects.
Exercise
A company still runs a workstation on an operating system that the vendor stopped patching two years ago. A newly published flaw affects that system. In the terms of this chapter, what is the operating system's lack of patches, and which type of control best addresses it?
Show answer
The lack of patches is a vulnerability (a software vulnerability, specifically an end-of-life system), not an attack or a threat. The best control is a preventive one: upgrade or replace the system with a supported version. If that is not possible immediately, isolate it from the network as a temporary measure.
Exercise
A user receives a phone call from someone claiming to be from the help desk, and gives away their password. Name the asset, the vulnerability category, and one preventive control.
Show answer
The asset is the user's account and the data it can reach. The vulnerability is human, because the user trusted an unverified caller. A preventive control is user training on verifying callers, and MFA would also limit the damage because the password alone would no longer be enough to sign in.