Hi everyone,
I stumbled over some strange behaviour with macchanger in the latest rolling release of Kali
When I change the MAC of my wifi card to a specific MAC address and enable the interface, the MAC is changed again.
Even though the ifupdown.sh script in /etc/default/macchanger has been disabeld
Code:
root@kali:/etc/default# cat macchanger
# before bringing up any network interface, run macchanger. Careful, this is
# not guaranteed to prevent leaking your real MAC address before the new one
# gets assigned!
#
ENABLE_ON_POST_UP_DOWN=false
root@kali:/etc/default# uname -a
Linux kali 4.7.0-kali1-amd64 #1 SMP Debian 4.7.6-1kali1 (2016-10-17) x86_64 GNU/Linux
# by default, macchanger runs on all network interfaces but loopback (lo). If
# you only want it to run on specific network interfaces, set them here:
#
#ENABLE_INTERFACES="wlan0"
root@kali:/etc/NetworkManager# macchanger --mac=b4:30:52:9b:43:b5 wlan0
Current MAC: 00:30:a2:ab:f5:3c (Lightner Engineering)
Permanent MAC: 18:a6:f7:1c:f9:b7 (unknown)
New MAC: b4:30:52:9b:43:b5 (unknown)
root@kali:/etc/NetworkManager# ifconfig wlan0
wlan0: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether b4:30:52:9b:43:b5 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
root@kali:/etc/NetworkManager# ifconfig wlan0 up
root@kali:/etc/NetworkManager# ifconfig wlan0
wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 76:67:e9:b2:fe:22 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Am I blind or what do I miss here?