Change MAC Address in Kali Linux

Learn how to change MAC addresses using the terminal without using any software.

Media Access Control Address (MAC Address):
  • Permanent
  • Physical
  • Unique
  • Assigned by manufacturer
Why change the MAC address?
  • Increase anonymity
  • Impersonate other devices
  • Bypass filters

To change the MAC address you first need to open the terminal in Kali Linux. For the demonstration, we are using Wi-Fi Adapter Alfa AWUS036NHA 
  • Check the name of the Network Device using the command ifconfig. In our case it is wlan0.
The name of the Network Device is case-sensitive.
  • Disable your network card using the command:
    • Syntax: ifconfig <network_device_name> down
    • Example: ifconfig wlan0 down
  • Change the MAC address using the command: 
    • Syntax: ifconfig <network_device_name> hw ether <new_mac>
    • Example: ifconfig wlan0 hw ether e4:22:33:44:55:66
  • Enable your network card using the command:
    • Syntax: ifconfig <network_device_name> up
    • Example: ifconfig wlan0 up

If you want to know the rules for MAC Address, Check the Rules for changing MAC Address -  Click here
  • You can check if it's changed or not using the command:
    • Syntax: ifconfig <network_device_name>
    • Example: ifconfig wlan0

If you want this all to be done automatically by typing one command you can use MAC CHANGER, a command-line software for Debian/Linux distribution exclusively made by us.

We hope this helps. If any suggestions or doubts you can add a comment and we will reply as soon as possible.

No comments:

Post a Comment