Saturday, February 20, 11:19
Home how To macchanger: How to spoof the MAC address of your computer

macchanger: How to spoof the MAC address of your computer

MAC spoofing is a technique that allows us to change the MAC address (Media Access Control) of our electronic device. The MAC address is unique and encrypted in our electronic device for never changing. It is on the second level of OSI and we can perceive it as the physical address of our interface. To macchanger is a tool that helps us change the MAC address of our network card to any other until the next reboot. In this article we will look at how to install this tool on our computer as well as how to use it.

MAC

How to install it

Macchanger installation is only supported in the environment Linux. You will find it pre-installed in the well known distro, Kali Linux.

Ubuntu & Debian

To install macchanger in ubuntu and debian open a terminal and type the following commands:

sudo apt-get update
sudo apt-get install macchanger

Fedora

 To install the macchanger in fedora and debian, open a terminal and type the following commands:

dnf install macchanger

How to use it

To see the different parameters we can use in this tool we will open a terminal and run the following command:

macchanger –options

The result is shown below.

root @ kali: ~ # macchanger –option
macchanger: unrecognized option '-option'
GNU MAC Changer
Usage: macchanger [options] device-h, –help Print this help
-V, –version Print version and exit
-s, –show Print the MAC address and exit
-e, –ending Don't change the vendor bytes
-a, –another Set random vendor MAC of the same kind
-A Set random vendor MAC of any kind
-p, –permanent Reset to original, permanent hardware MAC
-r, –random Set fully random MAC
-l, –list [= keyword] Print known vendors
-b, –bia Pretend to be a burned-in-address
-m, –mac = XX: XX: XX: XX: XX: XX
–Mac XX: XX: XX: XX: XX: XX: XX Set the MAC XX: XX: XX: XX: XX: XX

Report bugs to https://github.com/alobbs/macchanger/issues

Let's see now how we can use it to change the MAC address of our network card.

First we will try to change the MAC address to a random one. To see the current state of our eth0 interface we will use the -s parameter:

macchanger -s eth0

MAC

To proceed with the change we need to download the interface using ifconfig:

ifconfig eth0 down

Next, we will change the MAC address to a random hexadecimal value:

macchanger -r eth0

MAC

Now, we will re-enable it interface us and we will check out his new items:

ifconfig eth0 up
macchanger -s eth0

macchanger

We see that the MAC address has changed. We can confirm this with the help of the ifconfig command:

macchanger

Let's now try to change the MAC address of our network card to a string of our choice. To do this we will use the -m parameter:

ifconfig eth0 down
macchanger -m 00:d0:70:00:20:69 eth0
ifconfig eth0 up
macchanger -s eth0

So we see that the address has changed.

Let's see now how we can use the -l parameter to find the prefix for each hardware manufacturer:

macchanger -l

macchanger

 

How did you like it; We look forward to your comments ...

 

 

 

 

LEAVE ANSWER

Please enter your comment!
Please enter your name here

stormi
stormi
Here's the crazy ones, the misfits, the rebels, the troublemakers ...

LIVE NEWS

Microsoft: Office 2021 / Office LTSC coming in the second half of 2021

Microsoft announced that the Microsoft Office Long Term Service Channel (LTSC) and Office 2021 will be released in 2021, for ...

How to quickly create QR codes with Bing

If you ever need to create a QR code, but you do not know how, Microsoft has an easy-to-use tool available in any program ...

Brave: Onion addresses leaked to DNS traffic

The Tor function included in the Brave web browser, allows users to access .onion dark web domains within ...

What are the 6 most known attacks on gaming companies?

A few days ago, the gaming company Big Huge Games informed the players that it was the victim of an attack, which affected its data ...

Xbox gift cards are sold at a 10% discount on Amazon

Xbox owners can save some money on games, add-ons, subscriptions and more if they buy Xbox gift cards at ...

Perseverance: NASA spacecraft lands on Mars!

The spacecraft "Perseverance" successfully landed yesterday, shortly before 11 pm Greek time on Mars. Aim of this mission of ...

YouTube: You can play 4K videos on devices with low resolution screens

Youtube application on Android allows you to play videos up to 4K resolution. All you need is a phone with ...

Top positions Software Engineering and coding skills for 2021

Due to COVID-19, recruitment efforts and employment opportunities fell sharply last year. However, the technology industry has proven to be more resilient ...
00:10:13

Phishing emails: How to recognize them and how to protect yourself?

https://www.youtube.com/watch?v=iME-CzlKVzc Το phishing είναι ίσως η μεγαλύτερη απειλή στον κυβερνοχώρο εδώ και περισσότερα από πέντε χρόνια. Γι΄...

US and UK condemn Facebook for blocking Australia

Politicians, news agents and civil rights groups in the UK and US have targeted Facebook for its decision to ...