MAC Changer -- Change MAC Address

MAC address is stands for Media Access Control Address. MAC address is an unique identifier assigned to a network interface controller (NIC).

Basically it's a hardware id when we are connecting an Ethernet and Wi-fi.
As we know that MAC address is unique that means every device have a MAC address that doesn't match with any other devices. We can't change it permanently, but we are able to spoof it. MACchanger will help us to do that.

Why we need to change MAC address

For the normal purpose we don't need to change our MAC but in the penetration testing we have many benefits. Suppose some wireless system has blocked our original mac address then we can bypass it easily, or we can spoof our original MAC address before perform penetration test activity on wireless networks so if the admin of network can't see or ban our original MAC address. Then the admin can see or block/ban our spoofed MAC address.

How to Change MAC address

Spoofing MAC address is very very easy in Kali Linux. To do that we need to open the terminal window in our Kali Linux system. At first we check all the adapters using ifconfig command :

ifconfig
The screenshot of the command is following:

The highlighted MAC address in the above screenshot is the MAC address of our eth0 Ethernet interface.

We need to turn off our network interface. We are going to change MAC address of our eth0 so we type following command :

ifconfig eth0 down
The screenshot is following:


Then we can change our MAC address by using following command:


macchanger -r eth0
-r will change our MAC address in a random MAC address in eth0 network interface. The screenshot is following:


We can see in the screenshot that we have successfully spoofed our mac address.

Then we need to turn on our network interface again. To do this we use following command:

ifconfig eth0 up

The screenshot is following:


Now we will check our MAC address by using ifconfig command again:

ifconfig
The screenshot is following :


Check the highlighted area of MAC address it's changed.

If we learned something new together or got any error discuss it in the comment section.
MAC Changer -- Change MAC Address MAC Changer -- Change MAC Address Reviewed by Kali Linux on April 25, 2019 Rating: 5

No comments:

Powered by Blogger.