LAN Security Concepts and Threat Mitigation
Local Area Networks (LANs) are the backbone of modern enterprises, but they also present a rich attack surface for malicious actors. This course explores the most common LAN‑level threats,…

What is the primary limitation of using a local password database for AAA authentication on multiple devices?
In a MAC address table flooding attack, why does the switch begin to flood frames to all ports?
Which mitigation technique specifically prevents ARP spoofing attacks?
A threat actor performs a VLAN double‑tagging attack. Which condition must be true for the attack to succeed?
Which of the following statements best describes the role of the authentication server in 802.1X?
Why does implementing BPDU Guard on access ports mitigate STP manipulation attacks?
Which Layer 2 attack exploits the automatic trunking feature on a switch port?
What is the main security benefit of using DHCP Snooping on a LAN?
When a switch’s MAC address table overflows, which additional network element can be affected beyond the compromised switch?
Understanding LAN Security: Core Concepts and Threat Mitigation
Local Area Networks (LANs) are the backbone of modern enterprises, but they also present a rich attack surface for malicious actors. This course explores the most common LAN‑level threats, the devices designed to counter them, and best‑practice mitigation techniques. By the end of this module, you will be able to identify key security appliances, explain authentication limitations, and implement protective controls such as Dynamic ARP Inspection and BPDU Guard.
1. Next‑Generation Firewalls (NGFW) – The All‑In‑One Security Appliance
When selecting a security device for perimeter and internal protection, the Next‑Generation Firewall (NGFW) stands out because it combines three essential capabilities:
- Stateful packet inspection – tracks active connections and enforces policies based on session state.
- Application visibility and control – identifies traffic by application, not just port, allowing granular policy enforcement.
- Advanced malware protection – integrates sandboxing and threat intelligence to block zero‑day exploits.
Unlike traditional firewalls, which rely on static ACLs, NGFWs provide dynamic, context‑aware security that adapts to modern, encrypted traffic patterns.
2. Limitations of Local Password Databases for AAA
Authentication, Authorization, and Accounting (AAA) are critical for controlling access to network devices. Using a local password database on each device may seem simple, but it introduces a major scalability issue:
- User accounts must be configured on each device, which leads to inconsistent credentials, increased administrative overhead, and a higher risk of human error.
For large deployments, centralized authentication protocols such as RADIUS or TACACS+ are preferred because they store credentials in a single repository, simplify policy updates, and provide detailed accounting logs.
3. MAC Address Table Flooding – Why Switches Flood Frames
Switches rely on a MAC address table to forward frames efficiently. In a MAC address table flooding attack, the attacker overwhelms the table with bogus MAC entries until it is full. Once the table reaches capacity, the switch treats subsequent frames as unknown unicast and floods them out of all ports, similar to broadcast traffic. This behavior:
- Exposes traffic to unintended recipients.
- Degrades network performance due to unnecessary frame replication.
Mitigation strategies include enabling port security with a limited number of MAC addresses per port and configuring MAC address aging timers to purge stale entries quickly.
4. Preventing ARP Spoofing with Dynamic ARP Inspection (DAI)
ARP spoofing (or ARP poisoning) allows an attacker to associate their MAC address with the IP address of a legitimate host, enabling man‑in‑the‑middle attacks. The most effective built‑in mitigation is Dynamic ARP Inspection (DAI). DAI works by:
- Validating ARP packets against a trusted DHCP Snooping database.
- Discarding any ARP replies that do not match the recorded IP‑MAC binding.
- Generating logs and alerts for suspicious ARP activity.
When combined with DHCP Snooping, DAI ensures that only legitimate ARP responses are allowed on the network.
5. VLAN Double‑Tagging Attacks – The Role of the Native VLAN
A VLAN double‑tagging attack exploits the way Ethernet frames are processed on trunk links. For the attack to succeed, the attacker must be connected to a port that belongs to the native VLAN of the trunk. The steps are:
- The attacker inserts two VLAN tags: an outer tag matching the native VLAN and an inner tag targeting a privileged VLAN.
- When the frame reaches the trunk, the switch strips the outer (native) tag but forwards the inner tag, effectively delivering the frame to the target VLAN.
Mitigation includes configuring a dedicated, unused native VLAN (often VLAN 999) and disabling dynamic trunking protocol (DTP) on access ports.
6. The Authentication Server in 802.1X
802.1X provides port‑based network access control. The authentication server (typically a RADIUS server) plays a pivotal role:
- It receives the client’s credentials from the authenticator (the switch).
- It validates the credentials against a directory service (e.g., Active Directory).
- It returns an accept or reject message, informing the authenticator whether to grant network access.
This separation of duties ensures that credential verification is centralized, secure, and auditable.
7. BPDU Guard – Stopping Spanning‑Tree Manipulation
Spanning‑Tree Protocol (STP) protects against loops, but rogue devices can inject BPDUs to become the root bridge, causing traffic disruption. BPDU Guard mitigates this risk on access ports by:
- Monitoring for any received BPDUs.
- Immediately shutting down the port (or placing it in err‑disable) when a BPDU is detected.
This rapid response prevents unauthorized devices from influencing the spanning‑tree topology.
8. VLAN Hopping – Exploiting Automatic Trunking
One of the most common Layer 2 attacks is VLAN hopping, which leverages the automatic trunking feature (often DTP) on switch ports. Attackers can:
- Send frames with a double‑tag (as described earlier) to cross VLAN boundaries.
- Force a port into trunk mode by sending DTP messages, then transmit traffic on unauthorized VLANs.
Best practices to prevent VLAN hopping include:
- Disabling DTP on all access ports (
switchport nonegotiate). - Assigning a non‑default native VLAN and ensuring it is unused.
- Implementing port security to limit MAC addresses per port.
9. Consolidated Mitigation Checklist for LAN Security
To reinforce the concepts covered, use the following checklist when hardening a LAN environment:
- Deploy a Next‑Generation Firewall with stateful inspection and malware sandboxing.
- Replace local password databases with centralized RADIUS/TACACS+ authentication.
- Enable port security and set appropriate MAC address limits to thwart MAC flooding.
- Configure Dynamic ARP Inspection alongside DHCP Snooping.
- Assign a dedicated, unused native VLAN and disable DTP on access ports to block VLAN hopping and double‑tagging.
- Implement BPDU Guard on all edge ports to protect against STP attacks.
- Use 802.1X with a reliable authentication server for robust access control.
By systematically applying these controls, network administrators can dramatically reduce the attack surface of their LANs and ensure a resilient, secure infrastructure.
