Site icon Thetechhacker

How To Spoof A MAC address in Windows, Mac, and Linux

How To Spoof A MAC address in Windows, Mac, and Linux

Media Access Control aka MAC address exists in every network-enabled devices. It is a physical address assigned to every hardware which deals with network connections.

In detail, the MAC address gives a unique identifier for every hardware that’s connected to a network. You can identify the device connected to the network from checking the MAC address.

In routers, you can see the connected devices to a specific network by checking the MAC address in the list.

Some people want to change the MAC address for their reasons. Few popular reasons are, to hide the identity of a device, or to fool a network to regain its access to connect to the Internet.

MAC address spoofing is popular among colleges and educational institutions. The Universities and colleges block specific MAC addresses to stop accessing the Internet from the network. People use to change the MAC address to regain the connection.

In this article, we will know how to spoof a MAC address on Windows, Mac and Linux systems.

How to spoof a MAC address in Windows?

In Windows, you have an easy option to set a custom MAC address from the Device Manager. Follow the below steps to spoof MAC address on Windows.

  1. Open Device Manager.
  2. Select Network adapters to expand the options.
  3. Right-click your network adapter, then select Properties.
  4. Select the Advanced tab.
  5. Here, select Network Address or Locally Administered Address in the list of properties.
  6. Now, enter your desired MAC address in the Value box, then select OK.

To verify the MAC address change, follow the step on Windows.

Open the command prompt and enter ipconfig /all to verify that your new MAC address has been set.

How to spoof a MAC address in macOS?

Changing the MAC address on macOS is an easy process and requires Terminal to perform the action. However, it is not a permanent change of MAC address on macOS. You will need to do these steps again every time you restart your computer.

  1. Open Terminal from the Applications folder.
  2. Type sudo ifconfig en0 xx:xx:xx:xx:xx:xx and press Enter.
  3. Type ifconfig and press Enter to verify that your new MAC address has been set.
Note: Replace en0 with the name of your network interface, and xx:xx:xx:xx:xx: xx with your desired MAC address.

How to spoof MAC address in Linux?

Changing of MAC address on Linux is purely depends on the distribution you are using. The terminal needs action to change the MAC address on a Linux computer. The steps are as follows.

  1. Open the terminal.
  2. Type sudo ifconfig eth0 down, and then press Enter to take your network interface down.
  3. Type sudo ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx and press Enter to change your MAC address.
  4. Type sudo ifconfig eth0 up and press Enter to bring your network back up.
  5. To check the changes, type ifconfig and press Enter to verify that your new MAC address has been set.

That’s it. Now you will have the desired MAC address on you Windows, Mac, or Linux computer. Let us know your feedback in the comment section below.

Exit mobile version