Mastering MAC Spoofing: A Comprehensive Guide for Windows 10 and Linux

mac spoofing

In this article you will learn how to change mac address by MAC spoofing in Windows and Linux (ubuntu and Kali Linux ) manually and by macchanger software.

mac-spoofin-and-macchanger

Scenario about MAC spoofing

MAC address is the unique identification of computers all over the world, and every device has been identified by its physical address in the network, It doesn’t matter network is local or public.

For your basic knowledge, I am telling you “When the data travel over the network it consists of MAC address value of destination device and source device as well”.

Some people want to hide their device in the network by using mac spoofing method. It totally depends on the people why he wants to hide? for bad or good intentions.

Why do you want to change mac?

I don’t know, But I suggest you use it for good work, not for bad. Illegal work doesn’t have a long life.

 MAC spoofing in Windows 10

Change the physical address in Windows 10 and the previous version is quite easy. Before going on to the next step, I am going to tell you How to check the MAC address in Windows 10? 

Open CMD (command prompt) and run the following command

ipconfig /all

Step 2: Press Windows Key + X on the keyboard and click on network connections.

open netwok conections

Step 3: Choose an adapter and right-click on it, then click on properties.

choose adapter

Step 4: Click on Configure 

click on configure

A new window will be popup, click on the Advanced tab

Select Network address property in left-hand side property bar.

change mac address in windows 10

Check on Value and fill in the new MAC address value. and click on OK.

Now, the Ethernet adapter will be reset and take a little bit to come into effect. So check again MAC address by using the same command ipconfig /all

check-spoofed-mac

Note: This is temporary MAC spoofing so if you want to get your original Physical address just use the reverse process. If you are not able to get it again, write in a comment box.

MAC spoofing in Ubuntu by macchanger

You have seen in windows it is quite easy, but when you are going to change MAC address in Ubuntu or other Linux you need an extra utility called macchanger.

macchanger doesn’t exist in Ubuntu by default so you will have to install it first.

Step 1: Install macchanger in Ubuntu, open terminal, and run the following command.

$sudo apt-get install macchanger

install-macchanger-on-ubuntu

At the time of installation, it will ask about the running status of macchanger. Select yes for changing MAC address automatically to bring up network adapter otherwise select no. I suggest to select no so you can do it manually.

change-mac-automatically

  Note: Make sure your repository should be added and have active internet connection.

Step 2: Check the current MAC address: you can use the following commands to check the mac Address:

$ifconfig

check-mac-address

$macchanger -s enp0s3

show the mac by macchanger

Here enp0s3 is the name of the adapter, this adapter name you can find by using $ifconfig command.

Step 3: MAC spoofing, change the mac address by using macchanger utility, just executing the following command.

$ sudo macchanger -m AA:AA:AA:AA:AA:AA enp0s3

change the mac address

here AA:AA:AA:AA:AA:AA is the value of a new Address you can replace this value with a new MAC address whatever you want to assign. and enp0s3 is the name of the interface.

STEP 4: check again mac spoofing is done or not.

$ifconfig

$macchanger -s enp0s3

check spoofed mac address

MAC spoofing in Kali Linux by macchanger

Whenever I write an article about doing some fun with Linux, I never forget Kali Linux, because it is the most used Operating System by me. So I am going to tell you about mac spoofing in Kali Linux.

macchanger utility is installed in Kali Linux by default, so you don’t need anymore to install it. and you can follow the same commands to check the mac address and change MAC address easily.

If you have still any questions related to mac changing, macchanger or mac spoofing, Please write in a comment box below.

MODULE 11:- Sniffing and Spoofing

  1. Using Wireshark filter ip address and port in Kali Linux
  2. Learn about macchanger or MAC spoofing in Windows 10 & Linux
  3. Arp poising attack with ettercap tutorial in Kali Linux
  4. Kali Linux man in the middle attack tutorial step by step

If Appreciate My Work, You should consider:

One thought on “Mastering MAC Spoofing: A Comprehensive Guide for Windows 10 and Linux

  1. hi, when adding a new MAC address in the advace setting, after the is doesn’t change (even after restart computer)
    I am working on windows 10 – with wifi connection

    Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *