AP Cybersecurity · Study guide

How Threats Exploit Physical Vulnerabilities

AP® Cybersecurity · Unit 2 · Risk, Adversaries & Physical Security

How Threats Exploit Physical Vulnerabilities

How people and natural disasters turn weaknesses in physical spaces into lost data, stolen equipment, and services that stop working.

1Threats and vulnerabilities

A threat is anything that could cause harm. In physical security there are two kinds:

  • Human adversaries who want to cause harm or disruption: thieves, intruders, angry insiders, vandals.
  • Natural disasters: floods, fires, earthquakes, storms. They can physically damage or destroy computers and data, and disrupt the digital services those computers provide.

A vulnerability is a weakness or flaw that could let an asset be compromised. Physical examples: an unlocked server room, a computer with exposed USB ports in a public area, a server sitting on the floor of a basement that floods, a single power line with no backup.

2What can go wrong

When a threat exploits a physical vulnerability, the result usually falls into one of four kinds of compromise:

CompromiseWhat it looks likeCIA principle hurt
Unauthorized access to sensitive data or restricted spacesAn intruder reads files on an unlocked computer; a stranger walks into the records roomConfidentiality
Disruption of servicesPower is cut to the server; a flood shuts down the network closetAvailability
Theft or destruction of digital or physical resourcesA laptop is stolen; a server is smashed; a fire destroys backups stored next to the originalsAvailability, and confidentiality if data is taken
Unauthorized modification of dataSomeone at an unlocked workstation changes grades or payment detailsIntegrity

3Disrupting power

Every device needs electricity. When adversaries disrupt power to a device, the device and any services it provides become unavailable. They can do this by:

  • damaging fuses or breakers in an electrical box;
  • unplugging or cutting electrical wiring;
  • damaging power distribution systems such as substations and transformers.
Figure 1. Disrupting power makes the device and every service it provides unavailable, without touching any software.

Natural disasters do the same thing without intent: a storm that knocks out the power grid takes the school's servers down just as surely as an attacker with wire cutters.

4Getting near sensitive information

When adversaries gain access to an area with sensitive information, they can steal or copy it. That information is not only on screens: printed reports, whiteboards, labeled folders, and unlocked filing cabinets all count. A phone camera can copy a whiteboard full of network diagrams in a second, and nobody notices anything missing.

5Getting hands on a device

Physical access to a device and its ports (the sockets where cables, keyboards, and USB drives plug in) gives an attacker powerful options:

  • A keylogger: a small device or program that records every key pressed. A hardware keylogger can look like a short adapter between the keyboard cable and the computer. It captures passwords and messages as they are typed.
  • An external drive containing malware: plugging in a USB drive can install malware that collects data from the user or even gives the attacker control of the device.
  • Physical destruction: smashing, soaking, or stealing the device makes the device itself, any data stored on it, and any services it provides unavailable.
Figure 2. With direct physical access to a device and its ports, an attacker can collect data, take control, or destroy the device outright.
The key idea

Physical access to a device lets an attacker bypass many technical controls. That is why physical security is the outer layer of defense in depth.

6Worked examples

Worked Example 1 Threat, vulnerability, compromise

The basement server

A small company keeps its only file server on the floor of a basement storage room. A heavy storm floods the basement with 30 cm of water. Identify the threat, the vulnerability, and the compromise.

  1. 1
    Threat: a natural disaster (the storm and flood).
  2. 2
    Vulnerability: the server sits on the floor of a room that can flood, with no backup elsewhere.
  3. 3
    Compromise: destruction of the server and disruption of services; the company loses access to its files.
Answer: A natural threat exploited a placement vulnerability, destroying a resource and disrupting service. Raising equipment and keeping off-site backups would reduce the risk.
Worked Example 2 Ports

The reception computer

A visitor waiting in a lobby notices the receptionist's computer has a USB port facing the guest chairs. While the receptionist steps away, the visitor plugs in a small drive for ten seconds and removes it. What could have happened?

  1. 1
    The drive could carry malware that installs itself or waits to be opened.
  2. 2
    That malware could collect data from the receptionist or give the attacker control of the computer.
  3. 3
    Because the reception computer is connected to the office network, it becomes a foothold for reaching other systems.
Answer: Malware may now be on a networked computer. Defenses: disable or block unused USB ports, and lock the computer whenever it is left.
Worked Example 3 Keylogger

The new keyboard adapter

An IT technician finds a small adapter between a finance clerk's keyboard cable and the computer. Nobody remembers installing it. What is it likely to be, and what is at risk?

  1. 1
    An unknown inline adapter on a keyboard cable fits a hardware keylogger.
  2. 2
    Everything the clerk typed while it was attached may be recorded: passwords, account numbers, messages.
  3. 3
    Response: remove it (keeping it as evidence), change every password the clerk used on that computer, and check who had physical access to the desk.
Answer: Likely a hardware keylogger; every password typed there should be treated as stolen.
Worked Example 4 Power

The flipped breakers

At 8:05 AM on test day, every computer in a school's testing lab shuts off. Someone has flipped the breakers in an unlocked electrical closet in the hallway. Which compromise is this, and which CIA principle is affected?

  1. 1
    The attacker disrupted power, making the computers and the testing service unavailable.
  2. 2
    No data was taken or changed.
  3. 3
    The vulnerability was an unlocked electrical closet in a public hallway.
Answer: Disruption of services, which hurts availability. Locking the closet and adding backup power for critical rooms would help.
Worked Example 5 Sensitive information

The whiteboard

A conference room's glass wall faces a public hallway. Inside, a whiteboard lists the Wi-Fi password and server names from a planning meeting. A visitor takes a photo as they walk by. Which compromise occurred?

  1. 1
    The visitor gained unauthorized access to sensitive information without entering the room.
  2. 2
    The information was copied; nothing looks missing, so no one may notice.
  3. 3
    With the Wi-Fi password and server names, later attacks become much easier.
Answer: Unauthorized access to sensitive data (confidentiality). Erase boards after meetings and keep sensitive work out of view of public areas.

7Common mistakes

Common Mistake 1 · Forgetting natural threats

Floods, fires, and storms are threats too. They cause destruction and disruption even with no attacker involved.

Common Mistake 2 · Thinking strong passwords protect against physical access

A keylogger captures the password as it is typed; a USB drive can bypass login entirely on some systems; a stolen device can be attacked at leisure.

Common Mistake 3 · Overlooking non-digital information

Printouts, whiteboards, and sticky notes are sensitive information too. Copying them takes seconds and leaves no trace.

Common Mistake 4 · Treating power as someone else's problem

Power is part of availability. An unlocked electrical box is a security vulnerability.

Explain an exploit like this

“The adversary exploited the receptionist computer's exposed USB port by plugging in a drive containing malware. Because the computer is connected to the internal network, this could let the adversary collect data or gain control of the device and use it to reach other systems.”

Name the threat, the vulnerability, how it was exploited, and the resulting compromise.