A MAC duplicating (MAC spoofing) attack occurs when an attacker configures their network interface to use the MAC address of a legitimate device already connected to the switch. Because switches maintain a MAC address (CAM) table that maps each MAC address to a single port, having the same MAC address appear from two different ports causes the switch's table to flap or overwrite entries, confusing the switch about which port the legitimate traffic should be forwarded to. This can be used to intercept traffic intended for the spoofed device or to cause denial-of-service conditions. This differs from ARP spoofing, which manipulates the ARP caches of hosts (mapping IP addresses to attacker MAC addresses) rather than the switch's own port-to-MAC association table; from replay attacks, which involve capturing and resending valid data; and from brute-force attacks, which involve exhaustive guessing of credentials or keys.
Community Discussion