Changing / spoofing your MAC address in Windows and OS X #
- Windows: Expand HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}. Check "DriverDesc" in each of the four-digit subkeys to find the desired network interface. Add or edit the string value "NetworkAddress" and make its value the desired MAC address (no colons or dashes necessary). Disable and enable the network adapter - it is now assigned the new MAC address.
- OS X Ethernet:
$ ifconfig en0 lladdr 02:01:02:03:04:05
or $ ifconfig en0 ether 02:01:02:03:04:05
- OS X Airport Extreme 2.0:
$ /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport -z
$ sudo ifconfig en1 lladdr 00:11:22:33:44:55
/misc | Apr 21, 2010
Subscribe or visit the archives.