Monday, June 11, 2012

How to Change or Spoof MAC Address in Backtrack

Changing your MAC address can give you many security advantages when hacking wireless networks or connecting to public services. Not only can it help to “untrace” you to your laptop but it can also serve in getting past some hotel and public wifi networks allowing consistent free access to their network.

                      ethernet_mac_address

So what is a MAC address? A MAC address (Media Access Control address) is a unique 12 character string that is used to identify any device that connects to a network or has networking properties. From modems to routers, wifi cards, ethernet ports and even bluetooth devices all these devices have a unique MAC address used to identify and communicate information.
 
Below i’ve included short tutorials to change your MAC address in the BackTrack. It is very easy to change mac address in backtrack as we can change mac address to any in a minute by using simple commands.

First lets query the interface to see the existing MAC address. Open up a new shell and type in the command below:


ifconfig -a


 


You will now see a list of network interfaces, chipset details and their mac addresses. Pick the ID which corresponds to your network card you want to spoof the MAC address on. In this example we will be using “eth0″

 
First we need to bring our interface down. To do this we type the following command into the shell:


ifconfig eth0 down


To change your MAC address type the following command into the shell window swapping out 11:22:33:44:55:66 for the MAC address you want to use:


macchanger --mac 11:12:43:44:75:56 eth0



Now we need to bring our interface back up. To do this we type the following command into the shell:


ifconfig eth0 up


To verify our newly assigned MAC address we can query the interface again using:


ifconfig -a