Network Attacks: ARP, MAC Flooding, DNS Poisoning | AP Cybersecurity

AP Cybersecurity Topics › Network Attacks
Unit 3 • Topic 3.1 • Network Vulnerabilities and Attacks

Network Attacks Explained: ARP, MAC Flooding, DNS Poisoning & More

Topic 3.1 covers how networks are attacked. The framework names specific attacks, ARP spoofing, MAC flooding, DNS poisoning, and smurf attacks, and the ways adversaries gain access to a network in the first place.

4named attacks (EK 3.1.A)
Accesswired, wireless, or physical
Goalintercept, redirect, or disrupt
ARPMAC floodingDNS poisoningDoSsmurf
The named network attacks target different layers of trust.

The named network attacks

ARP spoofing abuses the address resolution protocol to associate the attacker's MAC address with another device's IP, putting the attacker between two parties (on-path). MAC flooding overwhelms a switch so it broadcasts traffic to everyone, letting the attacker sniff it. DNS poisoning corrupts name resolution so a domain points to a malicious IP.

Smurf attacks attempt to overwhelm a target with traffic, a form of denial of service. Each attack targets a different layer, but all exploit how trust is handled on a network.

Scenario

An attacker makes every device on a LAN believe the attacker is the gateway. Which attack is this?

Reveal answer

ARP spoofing. By forging ARP replies, the attacker maps their MAC to the gateway's IP, so traffic flows through them (an on-path position).

Exam tip

Match the attack to its mechanism: forged ARP replies = ARP spoofing, overwhelmed switch = MAC flooding, corrupted name resolution = DNS poisoning, flood of traffic = smurf/DoS.

How adversaries reach a network

Adversaries get onto networks in several ways (EK 3.1.B): sending malicious traffic from outside, using a device they already compromised, physically plugging into a data port, joining or cracking a wireless network, or exploiting an open network port.

Each entry point is a vulnerability to close, which is what the protect topics in this unit address.

Scenario

An attacker finds an unused, live network jack in a lobby and plugs in a small device. What vulnerability is this?

Reveal answer

Physical access to a data port. Plugging directly into the network can bypass perimeter defenses, which is why open ports and jacks are a risk.

Real-world example

Local-network attacks are still common

ARP spoofing and DNS attacks remain go-to techniques on local and public networks because the underlying protocols were built for function, not security. Attackers exploit that built-in trust.

Each attack exploits how a network handles trust.

Key Terms

ARP spoofing Forging address replies to get on-path between devices.
MAC flooding Overflowing a switch so it broadcasts traffic.
DNS poisoning Corrupting name resolution to redirect users.
Smurf attack Amplified traffic flood that denies service.

Match It Up

Tap a term, then tap its definition. Correct pairs lock in green.
Term
Definition
All matched. Nice work.

Common Mistakes

!

Confusing ARP spoofing with DNS poisoning

ARP spoofing forges hardware-address mappings; DNS poisoning corrupts name-to-IP resolution.

!

Thinking attacks only come from the internet

Adversaries also use compromised devices, physical ports, and wireless.

!

Ignoring open ports

An open, unused network port is a real entry point.

!

Treating a smurf attack as theft

A smurf attack is a denial of service; the goal is disruption, not data theft.

Check for Understanding

Predict your answer before you tap. Click a choice to check it and read why.
Question 1
An attacker forges ARP replies so traffic for the gateway flows through their machine. This is:
B. Forging ARP replies to map your MAC to another device's IP is ARP spoofing, which enables an on-path position.
Question 2 Predict first
Which attack corrupts name resolution so a domain points to a malicious server?
C. DNS poisoning corrupts the mapping of a domain name to an IP address.
Question 3
Which are ways adversaries reach a network? I. Physically plugging into a port. II. Cracking wireless. III. An open network port.
D. All three are listed entry points in the framework (EK 3.1.B).
Question 4 Predict first
Overwhelming a switch so it broadcasts traffic to all ports is:
A. MAC flooding fills the switch's address table so it floods traffic, letting the attacker sniff it.
Question 5
A smurf attack is best classified as a:
B. A smurf attack floods a target with traffic to disrupt it, a form of denial of service.
Question 6
Why is a live, unused network jack in a public area a risk?
A. Physical access to a data port lets an attacker join the network directly, past the perimeter.

Frequently Asked Questions

ARP spoofing, MAC flooding, DNS poisoning, and smurf attacks, plus the various ways adversaries gain access to a network.
ARP spoofing forges address resolution protocol replies so the attacker's MAC address is mapped to another device's IP, placing the attacker on-path between two parties.
By sending malicious traffic from outside, using a compromised device, physically plugging into a port, joining or cracking wireless, or exploiting an open network port.

Get in Touch

Whether you're a student, parent, or teacher — I'd love to hear from you.

Just want free AP CS resources?

Enter your email below and check the subscribe box — no message needed. Students get daily practice questions and study tips. Teachers get curriculum resources and teaching strategies.

Typically responds within 24 hours

Message Sent!

Thanks for reaching out. I'll get back to you within 24 hours.

🏫 Welcome, fellow educator!

I offer curriculum resources, practice materials, and study guides designed for AP CS teachers. Let me know what you're looking for — whether it's classroom materials, a guest speaker, or Teachers Pay Teachers resources.

Email

[email protected]

📚

Courses

AP CSA, CSP, & Cybersecurity

Response Time

Within 24 hours

Prefer email? Reach me directly at [email protected]