Manual Changing and Randomizing the MAC Address in Kali Linux

Broker

Moderator
Staff member
Moderator
Exclusive
Infinity
Premium
Member
Joined
Apr 23, 2026
Messages
109
Reaction score
158
🥷 Changing and Randomizing the MAC Address in Kali Linux

Open a Kali Linux terminal and run the following commands:
sudo ifconfig eth0 down
sudo macchanger -r eth0
sudo ifconfig eth0 up

You can also configure NetworkManager to change the MAC address to a random one each time you connect to the network:
echo -e "\n[connection]\nwifi.cloned-mac-address=random\n\n[connection]\nethernet.cloned"
 
2,499Threads
28,626Messages
4,599Members
CyberWardenLatest member
Top Bottom