Network Attacks & Defenses: ARP Spoofing

Attackers target specific network protocol weaknesses at each layer: (1) ARP Spoofing / Poisoning (Layer 2): Because standard ARP is.

What to practice

  • Diagnose ARP spoofing, MAC flooding, VLAN hopping, DNS poisoning, and SYN flood attacks from CLI and packet-capture outputs.
  • Map exact switch and router defenses (DAI, DHCP Snooping, Port Security, 802.1X, DNSSEC, SYN Cookies) to each attack.
  • Explain how rogue Wi-Fi access points (Evil Twins) and WPA2/WPA3 enterprise authentication operate.

1. Core Concept Instruction

Attackers target specific network protocol weaknesses at each layer: (1) ARP Spoofing / Poisoning (Layer 2): Because standard ARP is stateless and unauthenticated, an on-path LAN attacker sends forged gratuitous ARP replies associating the attacker's MAC address with the default gateway's IP address, intercepting traffic in a Man-in-the-Middle (MITM) attack. Mitigation: enable DHCP Snooping + Dynamic ARP Inspection (DAI) on managed switches. (2) MAC Flooding / CAM Table Overflow (Layer 2): Flooding a switch with thousands of bogus source MAC addresses fills its CAM table so the switch fails open and broadcasts frames like a hub. Mitigation: IEEE 802.1X and Switch Port Security (sticky MAC limits). (3) TCP SYN Flood (Layer 4 DDoS): Sending thousands of TCP SYN packets with spoofed source IPs and never completing the final ACK exhausts the server's half-open connection queue. Mitigation: SYN Cookies, rate limiting, and DDoS scrubbing.

2. Worked Examples

Worked Packet Capture (PCAP) Attack Diagnosis: ARP Cache Poisoning & SYN Flood

Artifact 1: A workstation's `arp -a` table shows two different IP addresses (192.168.1.1 Default Gateway and 192.168.1.45 Host) both mapped to the exact same MAC address `00:1a:2b:99:88:77`. Artifact 2: Wireshark on a web server shows 50,000 incoming `[SYN]` packets per second to port 443 from random source IPs with `[SYN, ACK]` responses and zero `[ACK]` completions. Diagnose both attacks and specify the exact technical controls.

Result:

TCP SYN Flood Exhaustion vs. SYN Cookie Mitigation & DNSSEC Validation

A public web server receives 50,000 spoofed TCP SYN packets per second that never complete the final ACK of the 3-way handshake, filling its half-open connection queue.

Result: TCP SYN flood attack; mitigated by enabling stateless TCP SYN cookies and rate-limiting at the edge

Core Concept Review

Attackers target specific network protocol weaknesses at each layer: (1) ARP Spoofing / Poisoning (Layer 2): Because standard ARP is stateless and unauthenticated, an on-path LAN attacker sends forged gratuitous ARP replies associating the attacker's MAC address with the default gateway's IP address, intercepting traffic in a Man-in-the-Middle (MITM) attack. Mitigation: enable DHCP Snooping + Dynamic ARP Inspection (DAI) on managed switches. (2) MAC Flooding / CAM Table Overflow (Layer 2): Flooding a switch with thousands of bogus source MAC addresses fills its CAM table so the switch fails open and broadcasts frames like a hub. Mitigation: IEEE 802.1X and Switch Port Security (sticky MAC limits). (3) TCP SYN Flood (Layer 4 DDoS): Sending thousands of TCP SYN packets with spoofed source IPs and never completing the final ACK exhausts the server's half-open connection queue. Mitigation: SYN Cookies, rate limiting, and DDoS scrubbing.

Extended Concept Analysis

Attackers target specific network protocol weaknesses at each layer: (1) ARP Spoofing / Poisoning (Layer 2): Because standard ARP is stateless and unauthenticated, an on-path LAN attacker sends forged gratuitous ARP replies associating the attacker's MAC address with the default gateway's IP address, intercepting traffic in a Man-in-the-Middle (MITM) attack. Mitigation: enable DHCP Snooping + Dynamic ARP Inspection (DAI) on managed switches. (2) MAC Flooding / CAM Table Overflow (Layer 2): Flooding a switch with thousands of bogus source MAC addresses fills its CAM table so the switch fails open and broadcasts frames like a hub. Mitigation: IEEE 802.1X and Switch Port Security (sticky MAC limits). (3) TCP SYN Flood (Layer 4 DDoS): Sending thousands of TCP SYN packets with spoofed source IPs and never completing the final ACK exhausts the server's half-open connection queue. Mitigation: SYN Cookies, rate limiting, and DDoS scrubbing.

Worked Problem Walkthrough

Worked Packet Capture (PCAP) Attack Diagnosis: ARP Cache Poisoning & SYN Flood

Artifact 1: A workstation's arp -a table shows two different IP addresses (192.168.1.1 Default Gateway and 192.168.1.45 Host) both mapped to the exact same MAC address 00:1a:2b:99:88:77. Artifact 2: Wireshark on a web server shows 50,000 incoming [SYN] packets per second to port 443 from random source IPs with [SYN, ACK] responses and zero [ACK] completions. Diagnose both attacks and specify the exact technical controls.

TCP SYN Flood Exhaustion vs. SYN Cookie Mitigation & DNSSEC Validation

A public web server receives 50,000 spoofed TCP SYN packets per second that never complete the final ACK of the 3-way handshake, filling its half-open connection queue.

Common Exam Traps & How to Avoid Them

  • Attempting to block Layer 2 ARP spoofing on the same local switch VLAN using only a perimeter Layer 3 router firewall (intra-VLAN Layer 2 traffic never reaches the perimeter firewall!).

  • Confusing DNSSEC (which digitally signs DNS records for Integrity/Authenticity) with encrypting DNS queries for Confidentiality (DoH / DoT).

Key Vocabulary

  • Dynamic ARP Inspection (DAI): A Layer 2 switch security feature that validates ARP packets against the trusted DHCP Snooping binding table and drops forged ARP replies.

  • SYN Cookies: A stateless TCP defense that encodes connection metadata in the initial sequence number so half-open connections do not exhaust server memory during a SYN flood.

Use this chapter companion

Review the lesson, attempt the original practice, then check the explanation. Your printed study guide remains complete without the website.

Independence

Skill by Skill Prep is independent. SAT® and AP® are trademarks registered by the College Board, which is not affiliated with, and does not endorse, this website or book. PSAT/NMSQT® is a registered trademark of the College Board and the National Merit Scholarship Corporation, which are not affiliated with, and do not endorse, this site. Bluebook™ is a trademark of the College Board. ACT® is a trademark of ACT Education Corp., which is not affiliated with and does not endorse this website or book. Desmos is a trademark of Desmos Studio PBC. Practice results describe these questions, not official scores or admission predictions.

Last updated .