Exploiting Network Vulnerabilities
The weaknesses that let adversaries flood, map, spoof, eavesdrop on, or move through a network, and what each one makes possible.
1What adversaries want from a network
A network carries data between devices. Adversaries exploit network weaknesses to steal that data (eavesdropping), disrupt it (denial of service), or destroy or alter it, and to reach more valuable systems. This page walks through the common vulnerabilities and what each lets an adversary do.
2Weak or missing firewalls
A firewall checks traffic going into and out of a network and blocks what is not allowed. Networks without firewalls, or with improperly configured ones, let adversaries send malicious traffic in to:
- flood the network and create a denial of service;
- map the internal structure of the network: which devices exist, which addresses they use, which services they run (for example by sending pings and connection attempts and seeing what answers);
- spoof a legitimate device: pretend to be a trusted machine by faking its address.
3Moving across the LAN
A local area network (LAN) connects the devices in one building or site. Inside a LAN, devices often trust each other more than they trust the internet. Adversaries who compromise one device, say through a phishing email, often use that access to attack other devices on the same LAN. This is why one infected laptop can become a breach of the file server: the laptop becomes the attacker's base inside the network.
4Physical ports and rogue access points
Wall jacks and switch ports are doors into the network. An adversary who physically plugs into a data port can join the LAN through the switch, unless port security is enabled. (Port security is a switch setting that only allows known devices, by MAC address, on each port and shuts the port if an unknown device connects.) From an open port, an adversary can launch DoS attacks or perform MAC flooding or MAC spoofing.
Worse, an adversary can plug a small wireless access point into an open port, creating a rogue access point. They can then connect to the internal network wirelessly, possibly from outside the building, with direct access to the LAN that bypasses the firewall entirely.
5Wireless weaknesses
- Signal leaking outside. An adversary standing outside the physically secure space can pick up the signals and beacon frames of an access point that broadcasts beyond the walls. That lets them gather information about the network and attempt eavesdropping and cryptographic attacks without entering.
- No authentication. Adversaries try to join networks so they can launch attacks from inside. Networks that do not require devices and users to prove who they are make joining easy.
- Breakable encryption. Wireless traffic is encrypted to keep eavesdroppers out. Adversaries can try to break weak wireless encryption (older standards and short, guessable Wi-Fi passwords are the usual targets) and then intercept, steal, or tamper with data.
6All seven at a glance
| Vulnerability | How it is exploited | What it lets the adversary do |
|---|---|---|
| 1 No firewall, or a misconfigured one | Malicious traffic sent in from outside | Flood (DoS), map the network, spoof devices |
| 2 Trust between devices on the LAN | A compromised device attacks its neighbors | Spread to more valuable systems |
| 3 Open data port without port security | Plug a device into the switch | DoS, MAC flooding, MAC spoofing |
| 4 Wi-Fi signal reaching outside | Listen from the parking lot | Gather information; eavesdrop; attack encryption |
| 5 No device or user authentication | Join the network freely | Launch attacks from inside |
| 6 Open port, again | Plug in a rogue access point | Wireless access to the LAN that bypasses the firewall |
| 7 Weak wireless encryption | Break the encryption | Intercept, steal, or alter data in transit |
Every exploit gives the adversary one of three things: a way in, a way to listen, or a way to disrupt. Defenses work by closing the way in (firewalls, port security, authentication), protecting what is heard (encryption), and limiting how far one compromise spreads.
7Worked examples
The cleaning crew's laptop
After hours, someone plugs a laptop into an unused wall jack in a conference room. The switch has no port security. What can they do?
- 1Without port security, the switch accepts the unknown device onto the LAN.
- 2From there, they can flood the switch with fake MAC addresses (MAC flooding) to eavesdrop, spoof another device's MAC address, or launch a DoS attack.
- 3They are now inside the firewall, so outside defenses never see them.
The tiny box under the desk
An IT audit finds a small wireless access point plugged into a wall port under a reception desk. Nobody in IT installed it. Why is this dangerous?
- 1It is a rogue access point: an unauthorized device connected directly to the internal network.
- 2Anyone within its Wi-Fi range, maybe even outside the building, can connect to it.
- 3Traffic through it reaches the LAN directly, bypassing the firewall that protects the network's edge.
From one laptop to the server
An employee's laptop is infected through a phishing email. A week later, the file server is breached, though it was never exposed to the internet. How?
- 1The compromised laptop sits on the same LAN as the server.
- 2The adversary uses the laptop as a base to scan the LAN and attack other devices, including the server.
- 3Devices inside a LAN often trust each other, so the server accepted connections it would block from outside.
No firewall at the edge
A small office connects its network to the internet with no firewall. What three things can an outside adversary now do?
- 1Flood the network with traffic to cause a denial of service.
- 2Map the internal network by probing addresses and seeing which devices and services answer.
- 3Spoof a legitimate device by sending traffic that pretends to come from a trusted address.
The café across the street
A company's Wi-Fi uses an outdated encryption standard and a short password, and its signal reaches a café across the street. Describe the risk.
- 1The adversary can sit in the café, out of sight, within range of the signal.
- 2They can capture the network's traffic and try to break the weak encryption.
- 3If they succeed, they can read, steal, or alter data, or join the network.
8Common mistakes
Firewalls guard the network's edge. A rogue access point, an open wall port, or a compromised internal device are already past it.
An active jack with no port security is an open door to the LAN. Turn off unused ports and enable port security on the rest.
Radio signals leak outside. Adversaries can gather information and attack encryption from the parking lot.
“Because the switch port in the conference room has no port security, an adversary could plug a wireless access point into it, creating a rogue access point. They could then connect to the internal network over Wi-Fi from outside the building, bypassing the firewall, and steal or disrupt network traffic.”
Name the vulnerability, how it is exploited, and what the adversary can then do.