How To Spoof Your MAC Address

In hacking, you need to fake/spoof a MAC address of your network interface. macchanger in Linux command is used. With the help of this command, you can change your mac address of an Ethernet network device wired or wireless. How to do it:

First type #ifconfig

To check you your network interface:

Now you have to change all the MAC address of your network interface both eth0,lo and your router. how to do it;

Turn off your network interface, by typing ifconfig(Name of a network interface)down Example

# ifconfig eth0 down

 

And use #macchanger -r (Name of a network interface) command to randomly generate new MAC address and assign it to eth0 network interface: Example

 

# macchanger -r eth0

In case you can see the following error message:

ERROR: Can't change MAC: interface up or not permission: Cannot assign requested address

Make sure that your interface is down and you are running macchanger as a root user. 

Enable the eth0 network interface and check the new MAC address:

# ifconfig eth0 up

Your MAC address s changed #ifconfig to see


# ifconfig eth0 and #macchanger -s eth0 help view new address 

Use the same process to changer lo interface and if you have router

Now we will use the crontab command to save all the changes we made. #crontab -e 

-e command help to edit changers and reboot to make the changes save and randomly generate new MAC address

anytime you turn on your computer we will do it by typing:


#crontab -e

Save changes (Ctrl + o)  press enter and exit (ctrl +x)


You can also watch our video tutorial step by step beginners guide

0 Comments

Oldest