Anonymize Yourself on a Network (Change Your MAC Address)

June 22, 2016 | Views: 17963

Begin Learning Cyber Security for FREE Now!

FREE REGISTRATIONAlready a Member Login Here

Welcome! Let’s get started…

Changing the MAC Address with the MAC Changer in Kali Linux

As a Hacker, you should know that being anonymous is really important. In some great hacking books, they write that hiding yourself is the first step of hacking. Especially when you’re attacking a network, you should know that your physical address or MAC address is broadcast in the list of computers connected to that network. You don’t want expose your real MAC address and get caught.


For Complete Beginners

What’s a MAC Address?

The MAC address or “Media Access Control address” (or we can even say physical address of a computer) is as its assigned on the network interfaces for communication on the physical network segments. MAC is used as a network address for IEEE 802 network technologies like WiFi and Ethernet. It’s given to your computer when it’s manufactured in the factory. It’s permanent, hard-wired and hard-coded on your network card. ARP (Address Resolution Protocol) translates IP addresses into MAC addresses.


How to Find Your MAC Address

In Windows

Step 1. Open command prompt, then press windows + r. Next, simply type cmd press okay.



Step 2. Type “get mac” and you’ll get your MAC address



In Linux

Step 1. Open your terminal

Step 2. Type in “ifconfig” and press enter


Step 3. Look for HWaddr

macaddrNow we know what MAC is and how we can check our MAC address.


Lets Change The Mac!!!

Step 1. Open your Kali Linux terminal type in “macchanger” For the wireless interface, I’m going to write eth0, because I don’t have a wireless card on this computer

“macchanger eth0 –s” to show the permanent MAC address



Step 2. Type in “macchanger –r” and hit enter. BOOM!!!! – one last time and you did it.



Extra Things

You can do macchanger your-interface –l to get a list of MAC address of 15,000 different vendors around the world including Cisco routers. If you’re on a network where your MAC address is from unknown vendors, this could cause suspicion. You can change your MAC on the routers though which the network usually runs (which could decrease your chances of getting caught, getting noticed and getting blocked by the network admin).


If you get blocked, you can change your MAC again and invade the network again :p  – as simple as that!


Thanks. Your appreciation will keep me motivated!

Share with Friends
Use Cybytes and
Tip the Author!
Share with Friends
Ready to share your knowledge and expertise?
  1. How can i return to my original MAC address ??

    • Rebooting the workstation will change the mac address back to the original (for most methods used). Personally I took my mac address and created a bash alias to change it back to the original. (simply because I found typing one word to be the easiest way of changing it back, for me at least)

      This is what the alias looks like:

      alias mchange=’ifconfig eth0 down; ifconfig eth0 hw ether 00:00:00:00:00:00; ifconfig eth0 up’

      Just change the word to whatever you want and the MAC address to your actual MAC address.

  2. i am using windows how can i change my mac address

    • In windows: First open CMD and write getmac, check your current MAC and then go to Network and Sharing Center, click Change Adapter Settings, then click the network adapter, select Properties, select configure, select Advanced Options, click in to network address and write the new MAC address, then confirm that it has been changed, open CMD and write getmac again, and voila, greetings.

    • use this bro but you are not safe on windows

  3. thank you for your efforts

  4. thank you for your Significant efforts

  5. Every time I change my mac I lose internet until I change it back and reset the network manager. Any suggestions on fixing that?

    • sudo service network-manager stop
      sudo ifconfig eth0 down
      sudo macchanger -m XX:XX:XX:XX:XX:XX eth0
      sudo ifconfig eth0 up
      sudo service network-manager start
      ;Note – XX:XX:XX:XX:XX:XX being the spoofed MAC Address

      try this

Page 3 of 6«12345»...Last »
Comment on This

You must be logged in to post a comment.

Our Revolution

We believe Cyber Security training should be free, for everyone, FOREVER. Everyone, everywhere, deserves the OPPORTUNITY to learn, begin and grow a career in this fascinating field. Therefore, Cybrary is a free community where people, companies and training come together to give everyone the ability to collaborate in an open source way that is revolutionizing the cyber security educational experience.

Support Cybrary

Donate Here to Get This Month's Donor Badge


We recommend always using caution when following any link

Are you sure you want to continue?