Media access control (MAC) is a unique hardware address given for network interfaces [ethernet and wireless] for communication on the physical network segment.
In many situations, we have to change/fake our MAC address in order to protect hardware information.
Fortunately, guys with kali it is one of the easiest things to do.You are just two steps away from faking your MAC address.
We will be using a special tool called “macchanger”. It is quicker and more convenient method to change MAC address.
First, open your terminal and type macchanger -h.
( -h option brings the help menu.It displays options that you can use with macchanger)
Bring Interface Down
Before, changing we must bring our interface down. I am connected to the internet with the wired [ethernet] interface. So if you are connected to the internet with wireless [wi-fi] then type wlan0 instead of eth0.
root@dedsec:~# ifconfig eth0 down
root@dedsec:~# macchanger -r eth0
* -r: flagis for generating a random address.It basically tells macchanger to give any random address.
* eth0: Which card you want to change MAC on.If your card is wireless then write wlan0.
Bring Interface Up
root@dedsec:~# ifconfig eth0 up