7m left·0%
Reading Time: 7 min
Last Updated: July 30, 2026
Main Ideas: 4
Reading Time: 7 min
Last Updated: July 30, 2026
Main Ideas: 4

Topic 4.1 Notes – Device Vulnerabilities and Attacks

Verified for 2027 AP® Cybersecurity Exam
Read aloud
Computing devices come in different forms, and attackers don’t treat them all the same. This topic connects four things you need to see together: what kinds of devices exist, what malware does, how common weaknesses get exploited, and how to judge the risk of the full attack scenario.

What Computing Devices Are

A computing device is any system that runs software and can store, process, or send data. In this course, these are the things adversaries target. The device type matters, but the bigger issue is what the device does, what data it holds, and how much damage compromise would cause.

Main device types

  • Server computers provide services to other computers.
    • “Server” is a role, not just a powerful machine.
    • Common services include DNS, DHCP, FTP, plus email, web, database, and file storage.
    • A compromised server often affects many users or the whole organization.
  • Personal computers are built for one person’s work or recreation.
    • Examples include desktops, laptops, notebooks.
    • They get attacked a lot because users open files, browse, install software, and plug in devices.
  • Handheld computers are smaller, battery-powered mobile devices.
    • Examples include smartphones, tablets, smart watches.
    • Mobility adds risk because they move between networks and can be lost or stolen.
  • Embedded computers are built into larger machines for specialized tasks.
    • They are often slower, cheaper, and have limited storage.
    • IoT devices are connected embedded devices such as thermostats, washing machines, IV pumps, or water-treatment controllers.

A laptop and a server can both be vulnerable, but the impact of compromise is often very different. That leads directly into malware, because malware is one of the main ways attackers take advantage of devices.

Types of Malware

Malware means malicious software. It can steal, spy, disrupt, extort, destroy, or give attackers access.

Core categories

  • Virus
    • Needs user action to start, such as opening an infected file.
  • Worm
    • Spreads on its own across vulnerable systems without human help.
  • Trojan
    • Hides inside software that seems useful or harmless.
  • Remote access trojan
    • A trojan that gives the attacker remote control of the device.
  • Ransomware
    • Encrypts files and demands payment. Its main CIA effect is availability.
  • Spyware
    • Watches user activity and sends information back.
  • Keylogger
    • Records keystrokes to steal things like usernames and passwords. It can be software or hardware.
  • Logic bomb
    • Triggers only when a condition is met, such as a date, time, or system state.
  • Rootkit
    • Gains deep OS-level control and can hide itself or other malicious activity.
  • Fileless malware
    • Runs mainly in RAM and uses legitimate installed tools, so there may be no obvious malicious file on disk.

Two distinctions get tested a lot. Virus vs worm means user activation versus self-spreading. Trojan vs RAT means deceptive packaging versus deceptive packaging plus remote access. Also, malware labels can overlap. WannaCry was ransomware with worm-like spread.

Common Device Vulnerabilities and How Attacks Work

A vulnerability is a weakness. An exploit is the method or code that takes advantage of that weakness.

  • Unpatched software or operating systems let attackers use known flaws.
    • Results can include crashes, spying, webcam or mic access, stolen data, or full control.
  • Weak authentication means guessable passwords or password-only access.
    • Social engineering can steal credentials too.
    • Example: a water treatment plant whose embedded pump controllers can be managed remotely with only a username and password, no MFA.
    • Once in, the attacker can impersonate the user.
  • Unprotected BIOS or UEFI lets someone boot into recovery mode or their own OS from external media.
    • They may change passwords, create accounts, or gain elevated privileges.
  • Autorun on external drives creates a simple attack chain
    1. Malware is placed on a drive
    2. The drive is inserted
    3. Autorun launches it automatically
  • Open ports and exposed services mean something is listening for connections.
    • An open port is not automatically bad.
    • The risk comes from an unnecessary, insecure, weakly authenticated, or vulnerable service, like Telnet on port 23.
  • Missing or misconfigured firewall allows malicious network traffic to reach the device more easily.
  • Missing anti-malware removes a layer that could detect or stop installation.

What Device Compromise Can Do and How to Rate Risk

Compromise can lead to unauthorized access, remote control, data theft, impersonation, service disruption, ransom encryption, data wiping, and for embedded systems, physical-world disruption.

The CIA triad helps you classify the harm:

  • Confidentiality gets hit by spyware, keyloggers, stolen files, webcam or mic access.
  • Integrity gets hit when attackers change data, settings, accounts, or machine commands.
  • Availability gets hit by ransomware, crashes, wiped storage, or disabled services.

Risk depends on likelihood + impact.

Risk levelTypical scenario
HighKnown critical flaw on an important system, like an unpatched email server
ModerateReal weakness, but exploitation is less certain, like pump controllers with password-only remote access
LowLimited organizational impact, like an employee laptop with Telnet port 23 open

On quizzes and FRQs, the mistake is rating the vulnerability name by itself. Rate the full scenario. Think asset + weakness + exploit path + likely consequence.

Key Takeaways

A server is defined by the service it provides to other computers, not by size or power.
A laptop is a personal computer in this course, even though it is portable.
IoT usually means a connected embedded device, but not every embedded device is IoT.
A virus needs user action, and a worm spreads without it.
A trojan hides inside something that looks harmless, and a RAT is a trojan that also gives remote access.
Fileless malware runs mainly in RAM and often uses legitimate tools already on the device.
An open port only becomes a problem when it exposes a service that is unnecessary, insecure, weakly authenticated, or vulnerable.
BIOS or UEFI features like recovery mode are not the vulnerability by themselves; the weakness is leaving them unprotected from unauthorized use.
Ransomware most directly harms availability, though one attack can damage more than one part of the CIA triad.
Risk belongs to the whole situation, not to the word “Telnet,” “server,” or “unpatched” by itself.

AP® is a trademark registered by the College Board, which is not affiliated with, and does not endorse this website.

Notes

1 credit used · 5/5 remaining