Airzero Sec

We Do Not Give Up ! Trust US !

How To Change Mac Address On Kali Linux With Just 9 Steps

- Posted in Website Security by

enter image description here

Changing MAC address or we also can tell that MAC address spoofing will be useful in some situations, but we will discuss it later in the conclusion of this blog.

The main requirement needed for this spoofing is a Linux terminal.

Steps needed to change mac address:

  • The first step is to Open your terminal, and enter

    ifconfig | grep HWaddr

  • To change your mac address temporarily, we need to switch off the network interface first by running the below command

    ifconfig eth0 down

  • he next step is that we can configure the new MAC address

    ifconfig eth0 hw ether 00:00:00:00:00:02

  • Next we can switch on the network interface again

    ifconfig eth0 up

  • And the last step we can check again our MAC whether it's changed or not. Go to the next page to display how to change MAC addresses permanently.

  • Kali Linux was made based on Debian. In Debian all the network interfaces were located on


  • We will merge the /etc/network/interfaces. In this blog I will use a pico text editor, but you can select any of the text editors.

    pico /etc/network/interfaces

  • Now we will include one line of script to change our MAC address forever

    pre-up ifconfig eth0 hw ether 00:00:00:00:00:02

  • If we want to store again the default MAC address, just add the # sign in front of command in the above step.

    #pre-up ifconfig eth0 hw ether 00:00:00:00:00:02

What is the conclusion:

Changing MAC addresses is basically required for privacy and to prevent tracking in the local network about your hardware details. Some network administrators make blocking rights in proxy and router by including the MAC address. To ensure interoperability and prevent being removed by the proxy and router blacklist rule, we can atlast change our MAC address.

If you have any questions about this topic or have to get advice and get the best services and consultation against cyber problems. Feel free to contact us. AIRZERO SEC will be your strong firewall. Email id: [email protected]

enter image description here Author - Johnson Augustine
Ethical Hacker and Data Security Researcher
Founder: Airo Global Software Inc
LinkedIn Profile: