Concepts / Interception

Interception

MAC flooding

Also called CAM table overflow, macof, port security

Filling a switch's MAC table with made-up addresses so that it floods everyone's frames to every port.

A full table makes the switch flood
A full table makes the switch flood

Invented source addresses fill the MAC table. With no room to learn real addresses, the switch sends frames for them out of every port, including the attacker's.

MAC flooding fills a switch's MAC table with invented addresses. The table has a fixed size, so an attacker sends frames from thousands of made-up source addresses (macof); once it is full the switch cannot learn where real devices are and floods their frames to every port, where the attacker reads them. The defence is port security: a limit on how many MAC addresses one port may teach the switch.

See it on real machines

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab