Finding wireless devices doing MAC spoofing

Changing the MAC address of a wireless interface can be trivial; here's how to detect spoofing

MAC spoofing on a wireless network creates an interesting problem - you want to locate the imposter, but how do you tell the different between it and the legitimate device from the network's perspective? Like Ethernet, 802.11 makes use of a device's MAC address to uniquely identify it on the network. However, it's trivial to change the MAC address of a wireless interface under most operating systems. While MAC spoofing can be detected it can be difficult to locate the offending device once you know it's occurring.

Device triangulation (or more correctly trilateration) relies on tracking the received signal strength indication (RSSI) of frames received from a particular device. These values can then be converted to a distance from the receiving device using well-known radio propagation models. However these values can be inconsistent and vary widely even if the transmitting and receiving devices haven't changed locations. Therefore the RSSI value is somewhat unreliable when dealing with single samples. This is usually compensated for by averaging together the RSSI values for a MAC address. Unfortunately this is a one way operation, so it becomes impossible to tell whatever discernable differences there may be between a device and an impersonator once this has been done. Still it is possible to locate a device via something akin to a signal strength meter (it doesn't need to average values), but this can be time consuming. This necessitates other methods for uniquely identifying a wireless device.

One method that goes beyond MAC addresses is to use the duration field in 802.11 frames, which is currently the research project of Jon Ellch. The duration field is used by 802.11's virtual carrier sense system to reserve the wireless medium for a specified amount of time. For instance a device will transmit a data frame with the duration set to the inter-frame space (the time required between each frame transmitted) plus enough time for the receiver to send the resulting ACK frame. The method of identification basically relies on each driver/chipset combination using a somewhat unique duration value. However, if the legitimate device and the imposter are using the same driver and chipset then it will still be nearly impossible to tell them apart.

Another method proposed by Hall, Barbeau, and Kranakis seeks to achieve truly unique identification by looking past the MAC layer and actually fingerprinting devices based on characteristics of their radio transmissions, the PHY layer. The theory behind this is that even devices that share the same chipset/driver will have small variations in their transceiver circuitry that fall within manufacturing tolerances, so no two devices will have the same fingerprint. With this information it would be possible to track RSSI averages via fingerprint rather than MAC address.

802.11 device fingerprinting is a truly interesting area of research where a lot of cutting edge work is being done. Expect to see more refinements and techniques in the future.

Andrew Lockhart is lead security analyst at Network Chemistry, author of O'Reilly Media's "Network Security Hacks", and author of Snort-Wireless, an open source project adding wireless intrusion detection to Snort. He is also an editorial board member of the WVE.

Join the newsletter!


Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Andrew Lockhart

Network World
Show Comments

Father’s Day Gift Guide

Brand Post

Most Popular Reviews

Latest Articles


PCW Evaluation Team

Luke Hill


I need power and lots of it. As a Front End Web developer anything less just won’t cut it which is why the MSI GT75 is an outstanding laptop for me. It’s a sleek and futuristic looking, high quality, beast that has a touch of sci-fi flare about it.

Emily Tyson

MSI GE63 Raider

If you’re looking to invest in your next work horse laptop for work or home use, you can’t go wrong with the MSI GE63.

Laura Johnston

MSI GS65 Stealth Thin

If you can afford the price tag, it is well worth the money. It out performs any other laptop I have tried for gaming, and the transportable design and incredible display also make it ideal for work.

Andrew Teoh

Brother MFC-L9570CDW Multifunction Printer

Touch screen visibility and operation was great and easy to navigate. Each menu and sub-menu was in an understandable order and category

Louise Coady

Brother MFC-L9570CDW Multifunction Printer

The printer was convenient, produced clear and vibrant images and was very easy to use

Edwina Hargreaves

WD My Cloud Home

I would recommend this device for families and small businesses who want one safe place to store all their important digital content and a way to easily share it with friends, family, business partners, or customers.

Featured Content

Product Launch Showcase

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?