As you already know, MAC (Media Access Control) is a Layer 2 address assigned to each network card or interface (either wired or wireless). MAC address filtering involves administrating who will have access to the network based on the Layer 2 address of the devices. This ensures that unauthorized users cannot access network resources and it provides a granular control mechanism within the environment.
As traffic flows through a wireless network, associated MAC addresses are never encrypted so they can be easily discovered through a standard wireless LAN analysis. However, MAC address filtering must be used with caution because MAC addresses can be spoofed. This means that an unauthorized user can scan the network to see what the allowed legitimate Layer 2 addresses are and can then change its wireless network interface card MAC to an authorized value to gain access to network resources.
MAC address filtering is recommended in association with other security techniques to provide optimal protection of the network.
MAC Filtering – DD-WRT
To exemplify the MAC address filtering technique, we will analyze how this is performed in a common open source wireless router operating system, namely DD-WRT.
The first step is to access the wireless network menu and enter the “MAC Filter” submenu. The next step is to enable MAC address filtering functionality by selecting “Enable” and “Prevent clients listed from accessing the wireless network,” as shown in Figure 27.1 below:
Figure 27.1 – DD-WRT – MAC Filtering General Menu
The last step in this process is to edit the MAC Filter List and insert the MAC addresses of unauthorized users you want to block, as shown in Figure 27.2 below:
Figure 27.2 – DD-WRT – MAC Filter List

