How to Change MAC Address Using Macchanger

If you’re using Kali Linux, parrot or using any OS for hacking, It’s very important to anonymize your connection, By hiding your identity. I’ll demonstrate to you how to Change MAC Address Using Macchanger.

Mainly your identity will be shown by your IP address and by your MAC address. And in this blog, I’ll demonstrate how to hide your real MAC address.

MAC Address stands for “Media Access Control Address,”. A MAC address is a hardware identification number that uniquely identifies each device on a network. The MAC address is manufactured into every network card. such as an Ethernet card or Wi-Fi card, and therefore cannot be changed.

The 1st 3 parts are defining the vendor. Each vendor has his own mac extension.

Change MAC Address Using Macchanger

Because there are millions of networkable devices in existence, and each device needs to have a unique MAC address. There must be a very wide range of possible addresses. For this reason. MAC addresses are made up of six two-digit hexadecimal numbers, separated by colons. For example, an Ethernet card may have a MAC address of 00:0d:83:b1:c0:8e.

Macchanger is a tool used to changer your permanent MAC address. It’s installed by default on Kali. You can check if it’s installed by opening terminal and type macchanger.

If it’s not installed please follow the below steps.

Install macchanger

sudo apt-get update && sudo apt-get upgrade
sudo apt-get install net-tools
sudo apt-get install macchanger

How to Use macchanger

~$ ifconfig
 enp7s0: flags=4099  mtu 1500
         ether XX:XX:XX:XX:XX:XX  txqueuelen 1000  (Ethernet)
         RX packets 0  bytes 0 (0.0 B)
         RX errors 0  dropped 0  overruns 0  frame 0
         TX packets 0  bytes 0 (0.0 B)
         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
 lo: flags=73  mtu 65536
         inet 127.0.0.1  netmask 255.0.0.0
         inet6 ::1  prefixlen 128  scopeid 0x10
         loop XX:XX:XX:XX:XX:XX txqueuelen 1000  (Local Loopback)
         RX packets 64364  bytes 5437545 (5.4 MB)
         RX errors 0  dropped 0  overruns 0  frame 0
         TX packets 64364  bytes 5437545 (5.4 MB)
         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
 wlp8s0: flags=4163  mtu 1500
         inet 192.168.1.214  netmask 255.255.255.0  broadcast 192.168.2.255
       
         ether XX:XX:XX:XX:XX:XX  txqueuelen 1000  (Ethernet)
         RX packets 1284621  bytes 1732472949 (1.7 GB)
         RX errors 0  dropped 0  overruns 0  frame 0
         TX packets 744366  bytes 85727225 (85.7 MB)
         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
ifconfig eth0 down
sudo macchanger -s eth0

The above command will show the current and permanant MAC addresses of eth0. Replace eth0 with your network card name, which is shown in the ifconfig command.

ifconfig eth0 down
macchanger -r eth0
ifconfig eth0 up

It’ll choose a new random MAC address

macchanger -l

It’ll generate all vendor names with their MAC addresses

ifconfig eth0 down
macchanger -m=XX:XX:XX:XX:XX:XX eth0
ifconfig eth0 up

It’ll change your mac address to a fully customized one.

ifconfig eth0 down
macchanger -p eth0
ifconfig eth0 up

Restores the permanent MAC address

Finally, as you’ve seen Change MAC Address Using Macchanger is very easy and straight forward. If you’re interested in more hacking topics and how to use hacking tools, check this Link.

Thank you for reading!

Leave a Comment