Mac address changer

A mac address is a physical address for the network card in your device. The mac address is used to identify you on a network. All mac addresses contain 6 sets of 2 numbers/letters, the first 3 sets are used to identify the organization’s unique identifier and the last 3 are used for the universally administered address. (Shown in figure 1)

( figure 1)

A user can spoof their mac address and make the network think they are a different device. By doing this your real MAC address won’t be shared with the network, making it harder to identify you. This also could make the network believe you are somebody else and allow your device to access restricted networks/resources.

We are going to be using a tool called mac changer. This tool comes preinstalled on parrot OS so we don’t need to install anything. To get started with this tool run the command:

macchanger -h
(figure 2)

As we can see from the help screen this is pretty simple and easy to use the tool. In this example, we are just going to print out our current MAC address and then change it to a random MAC of any kind. (Tip: you can run the command: macchanger -l to see a list of all the known vendors.)

The first thing to do is identify the network interface card we are using, you can do this by running the command:

(figure 3)

As you can see from the picture I am using eth0 as my network interface card, we can also see the MAC address for this card. (e.g ether ##:##:##:##:##:##) Now we know we are using eth0 we can use mac changer to print out our current and permanent addresses by running the command:

macchanger -s eth0

We can then change the mac address to a random address from any kind of vendor by running the command:

sudo macchanger -A eth0 

(Shown in figure 4).  Note: When changing the MAC address you must run the command as root.

(figure 4)

We can also run the ifconfig command again just to ensure that are MAC address has now been changed. (Shown in figure 5) Note: This will only temporarily change your MAC address, your MAC address will reset back to its default address after a restart.

(figure 5)


Hello and welcome to Quick Time Tech. My name is Liam Baker and this is my profile.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.