SY0-801 · Domain 2.0 · Threats, Vulnerabilities, and Attacks · 24% of the exam
Security+ SY0-801 2.4: Vulnerabilities and attack surfaces
Official objective: 2.4 Explain types of vulnerabilities and attack surfaces
Where weaknesses come from: systems that are unsupported, unpatched, obsolete or unmanaged; open ports; application and code flaws; misconfiguration; stale credentials; shadow IT; and newer surfaces such as identity providers, large language models, public repositories and public storage buckets.
What to know
- Unsupported and obsolete products
- An unsupported product no longer receives fixes from its vendor or maintainer, however new it is. An obsolete system may still be supported but relies on outdated technology that cannot meet current security requirements.
- Unpatched and unmanaged systems
- An unpatched system has a fix available that has not been applied. An unmanaged system sits outside IT's inventory, patching and monitoring, so nobody owns its security.
- Ports and services
- Every listening service is attack surface. Unneeded or insecure services, such as Telnet or an exposed admin interface, should be disabled or restricted.
- Application flaws
- Race conditions (time-of-check to time-of-use), where state changes between a check and its use, and malicious updates, where a compromised update channel delivers malware as a trusted update.
- Code flaws
- Hardcoded secrets such as API keys in source code or apps can be extracted by anyone with the code. Unsafe exception handling leaks stack traces, queries or host names in error messages.
- OS, virtualization and zero-day
- Operating system flaws, VM escape and resource reuse between virtual machines, and zero-days that have no vendor fix yet.
- Misconfiguration and cryptographic weaknesses
- Default settings, overly broad permissions and debug modes left on, plus weak algorithms, short keys or poor key management.
- Stale credentials and identity providers
- Accounts for leavers, retired services and old contractors that are still enabled. An identity provider used for single sign-on is a high-value target: one compromised account opens every connected app.
- Rogue devices and shadow IT
- A rogue device is unauthorised hardware connected to the network. Shadow IT is any system or service a team adopts without IT approval.
- Mobile, wireless and low-powered devices
- Side loading, jailbreaking or rooting removes mobile protections. Wireless and low-powered protocols (Bluetooth, Zigbee, LoRa) often use weak or no authentication.
- Large language models (LLMs)
- An LLM connected to data and tools becomes an attack surface: injected instructions, leaked data and over-privileged actions. Objective 2.6 covers the AI threats in detail.
- Public repositories and object storage
- Secrets committed to public code repositories, and cloud storage buckets set to public read or list, expose data to anyone who looks.
Where people lose marks
- Deleting a committed secret does not remove it from repository history. Revoke and rotate the key.
- Ask the deciding question for each system: unmanaged (nobody manages it), unsupported (no more fixes), unpatched (fix exists, not applied), obsolete (current but outdated technology).
- A verbose error that reveals a SQL statement is unsafe exception handling, even though it may help an attacker plan injection later.
- No patch exists for a zero-day, so "apply the patch" is never the answer.
Practise 2.4
The free SY0-801 practice sets cover all five domains, including 2.0 Threats, Vulnerabilities, and Attacks. Every option is explained, and no account is needed for the first set.
More from SY0-801 domain 2.0
Objective codes and titles are CompTIA's published SY0-801 exam objectives. The explanations are our own. Taking the older exam? See the SY0-701 objectives or SY0-701 or SY0-801 to pick your version.