Change or spoof a MAC address in Windows

Posted on September 11, 2008 at 5:43 am

Every network interface card (NIC) has a unique MAC Address (Media Access Control address). This applies to all types of network cards, including Ethernet cards and WiFi cards. The MAC Address is a six-byte number or 12-digit hexadecimal number number that is used to uniquely identify a host on an Ethernet network.

An example of a MAC address is 1F-2E-3D-4C-5B-6A and it falls into the Layer 2 networking protocol of the OSI model. In today’s networks, a MAC address is converted to a Layer 3 protocol address, such as an IP address, by ARP, or Address Resolution Protocol. Read my post on how to find your MAC address if you don’t know it.

All MAC Addresses are hard-coded into a network card and can never be changed. However, you can change or spoof the MAC address in the operating system itself using a few simple tricks.

So why would you want to change your MAC address? Well there are many reasons for this, mostly related to bypassing some kind of MAC Address filter set on a router or firewall. Changing the MAC Address can help to get you past some type of network restriction by emulating an unrestricted MAC Address or to get access by spoofing a MAC address that is already authorized.

For example, a WiFi network may allow only authorized computers to connect to the network and filters based on MAC address. If you can sniff out a legitimate MAC Address, you can then spoof your MAC address and gain access to the WiFi network.

Another example is if you have an ISP that allows only a certain number of computers to connect to the Internet from your home. If you have more computers that need to connect, you can spoof the MAC address of an authorized computer and connect from a different computer.

You can change the MAC Address on your network card pretty easily following the steps below:

Step 1: Click on Start, then Control Panel, then Network Connections, and right-click on the network connection you want to change the MAC address for and select Properties. It will normally either be Local Area Connection or Wireless Network Connection.

local area connection

If you are using Windows Vista, you have to go to Control Panel, then Network and Internet, then Network and Sharing Center, and then Manage Network Connections.

Step 2: On the General tab, click the Configure button

configure network

Step 3: Now click on the Advanced tab and click on the “Locally Administered Address” property or the “Network Address” property.

locally administered address

By default, the “Not Present” value is selected. Go ahead and click on the Value radio button and enter in a new MAC address. The MAC address is a combination of 6 pairs of numbers and characters, i.e. 40-A2-D9-82-9F-F2. You should enter the MAC address without the dashes.

new mac address

You can check that the MAC address has been changed by going to the command prompt and typing in IPCONFIG /ALL. Go ahead and restart the computer in order for the changes to take effect.

This is the simplest way to change your MAC address in Windows. You can also do so via the registry, but it’s much more technical and probably not required by most people.

Enjoyed this post? Subscribe to Online Tech Tips via RSS Feed or via Email and receive free daily productivity tips.

» Filed Under Computer Tips

Add to Delicious Save this page Mixx it Stir it up on Mixx
Reddit Add to Reddit StumbleUpon Stumble this page  

Related Posts

22 Responses to “Change or spoof a MAC address in Windows”

  1. Dave said on :

    In WinXP Home, I don’t see the “Locally Administered Address”.

    Does this technique only work on certain versions of windows?


  2. akishore said on :

    Dave, you should be able to change the MAC address on any version of Windows. If you don’t see Locally Administered Address, do you see an option called Network Address?


  3. Andy said on :

    ok…So can I change it back to its original after this change?
    Thanks


  4. Dave said on :

    I see 3 choices in that dialog:

    802.1p QOS
    Flow Control
    Speed & Duplex
    Wake Up Capabilities

    That’s all


  5. akishore said on :

    Andy, yes you can change it back to the original MAC address by simply selecting the “Not Present” option.

    Dave, do you have the most up to date driver for your network card? Try to download the latest driver and then let me know if the option is still missing.


  6. Dave said on :

    I’m not sure if I have the most current driver, but changing something that works is not an idea I like.

    I’ve had bad things happen when I’ve upgraded stuff that worked.

    I think I can live without the spoof.

    But thanks for trying.


  7. Angelo R. said on :

    Actually, not all network cards offer this service. Some do, but for most, you’ll have to work with the registry to change it. Since most people are uncomfortable working with the registry, there are a few free tools available.

    Also, just changing your MAC address to a random string most likely won’t work. The best thing to do, is to scan a network for valid ip’s and then steal one of their MAC’s.

    I posted a quick way to do this a couple days ago:
    http://xangelo.nookish.com/200.....-bad-idea/


  8. Dave said on :

    Thanks for the instructions.


  9. Angelo R. said on :

    The program macshift should work for you regardless if your card supports changing it’s MAC address through a windows dialog.


  10. Joel Haasnoot said on :

    This is indeed driver specific. Some drivers do, others don’t support this.


  11. Nicolai X said on :

    This is actually quite easy, simple, and difficult to screw up.

    I use SMAC 2.0 when I need access to a critical network or database, but as this method is much simpler and requires no external hardware, I give it top rating.

    A note - entering random digits might not be the best way to generate a key - I’d suggest learning hexadecimal code/representation before randomly typing keys, as sometimes this can deny you access.


  12. Keith Dsouza said on :

    This is a good trick, back home in India my ISP restricted access to only certain Mac Addresses so when I had to use another one I would simply change the MAC address of the PC to the one where Internet worked.

    And it used to allow me to login and access Internet from multiple computers.


  13. Eric Blue said on :

    I’ve been using a program called SMAC (http://www.klcconsulting.net/smac/) for at least 3-4 years now. The technique you described works. But, the beauty of SMAC is that it doesn’t require a reboot.


  14. Transcontinental said on :

    Is it possible that a MAC address be inconsistent otherwise than not being a combination of 6 pairs of numbers and characters ? I mean, just for the story, must those 6 pairs correspond to a criteria, could I for instance choose them random ?


  15. Angelo R. said on :

    @Transcontinental: No it can’t. MAC Addresses are hardware creator specific. So random characters will not result in a proper worked MAC Address.

    @Eric Blue: Changing your MAC Address normally require you to reboot your system. At most, you might be required to disable/enable your network card for it to run again.


  16. Madhur Kapoor said on :

    Great Tutorial. Will come in handy later


  17. Nat said on :

    Worked


  18. Bob said on :

    It looks to me like it’s dependent on the adapter.


  19. Angelo R. said on :

    @Bob - The method outlined in the post IS nic specific. Not all cards support changing your MAC through XP.


  20. JAB_au said on :

    This is dependant on the NIC Drivers, not all drivers will have the same set of advanced options and the naming can be different.

    There is another method that is NIC independent, Method 2 at the link bellow
    http://www.nthelp.com/NT6/change_mac_w2k.htm


  21. Jeff said on :

    1. Whether or not you have “Locally Administered Address” in the property panel of your NIC is dependent on a registry entry. It is possible to add this for any NIC. I had this issue with one WiFi card, and exported the registry entries from a different card, and hand edited it in for the card that was lacking them in the registry. All NICs can have their address changed; most had DOS utils back in the day for doing this.

    2. Any valid Hex number (00-FF) will work in each slot, but it’s possible that the AP or DHCP server could refuse to connect.

    3. “F0C0FFF0C0FF” will work, unless the AP/DHCP server is somehow set as described above.

    4. I used this method all the time when parking my semi at truck stops that offered (pay) WiFi. Works in airports and any place using only mac addresses for authorization.

    Jeff


    Pingbacks
  1. Favorite Posts of the Week: Sept. 7 - Sept. 13 « Techin’ it up Says:

    [...] Online Tech Tips - Change Your Mac Address in Windows [...]

Please post your comments/suggestions!