Change the MAC address in Linux with ifconfig
What is the mac address?
A media access control address (MAC address) is a unique identifier assigned to a network interface controller (NIC) for use as a network address when communicating within a network segment. This usage is common in most IEEE 802 network technologies, including Ethernet, Wi-Fi, and Bluetooth.
Mac address spoofing
MAC address spoofing is a technique to temporarily change your Media Access Control (MAC) address on a network device. A MAC address is a unique and hard-coded address programmed into network devices that cannot be permanently changed. The MAC address is at OSI layer 2 and should be treated as the physical address of your interface. Mac changer is a tool that comes with any version of Kali Linux including the 2016 rolling edition and can change the MAC address to any desired address until the next reboot. In this tutorial, we will spoof the MAC address of our wireless adapter with a random MAC address generated by the Mac changer on Kali Linux.
Kali Linux 2.0, an Advanced Penetration Testing Linux distribution used for penetration testing, ethical hacking, and network security assessment.
Process of changing MAC Address :
- Make a note of your original MAC address.
- Take the interface for which you want to change the MAC address. ...
- The next step is to configure a new MAC address, which will be temporary and will be lost after restarting the computer. ...
- Bring your interface back up.
Watch the complete Practical video: LINK
Commands :
- sudo su
- ifconfig
- ifconfig wlan0 down
- ifconfig wlan0 hw ether 00:11:22:33:44:55 ( Any MAC but start with 00 )
- ifconfig wlan0 up
- ifconfig
If MAC changes after restart and shutdown:
- apt-get install leafpad
- leafpad /etc/NetworkManager/NetworkManager.conf
Paste:
[device]
wifi.scan-rand-mac-address=no
[connection]
ethernet.cloned-mac-address=preserve
wifi.cloned-mac-address=preserve
Save the file and run the command :
- service network-manager restart
0 Response to "How we Change our WIFI Adapter MAC Address using Kali Linux"
Post a Comment