PDA

View Full Version : mac address is continally switching



nobody12
2016-11-24, 17:47
my mac address continually switches while not connected to wifi
and does not let me change it either or set it to the permanent one.
however it set back to permanent one while connecting to wifi and let's me change it.
so the problem is why my mac address is not the default one normally ? and why i can't change it while not trying to connect to wifi?

mmusket33
2016-11-25, 07:28
Go to:

/etc/NetworkManager/system-connections folder

You will find files for all your connections

Open one of your connection files with leafpad or other text editor

In the [wifi] block you will find the command

mac-address-randomization=0

MTeams thinks setting to 0 turns off random mac addresses for that connection

You must set each connection file in the system connections folder

However there may be other ways thru the NetworkManager.conf file found in the /etc/NetworkManager folder. Check the man pages or others in these forums may have a better solution.


Musket Teams

nobody12
2016-11-26, 03:51
may be i didn't get it or you bro. when i'm connect to network it uses my actual mac but when i am disconnected it uses the random one and i can't change it to one i want.
and worst it keeps on changing every few minutes.
in case like if reaver or aircrack i'm using it's not helpful as they have a mac filtering.

clone
2016-11-26, 06:28
You should probably specify which wireless interface you are using. Setting a random or specific address in macchanger isn't that complicated.

mmusket33
2016-11-26, 09:43
To nobody12

In this case try removing network manager from the process

Type airmon-ng check kill

This will end Network Manager functions

Now enter the spoofed mac address you require

We will assume for this that your device is wlan0 and your mac address required is 00:11:22:33:44:55

Put your device in monitor mode with

airmon-ng start wlan0

This will give you wlan0mon

Next spoof your mac address to your required mac address with

ifconfig wlan0mon down
macchanger -m 00:11:22:33:44:55 wlan0mon
ifconfig wlan0mon up

Now start reaver and MAKE SURE you add the --mac=00:11:22:33:44:55 to your reaver command line.

Now open up airodump-ng and set it to the same channel as your reaver target and add the --bssid mac address of your target to your airodump-ng command line and watch reaver try and get pins in airodump-ng found in the essid probes at the bottom. See what happens to your mac address.

If your mac still changes while running reaver let us know and we will let our R.V. people look at it.

If you want to use NetworkManager again reboot the computer do not try and restore with service commands like service NetworkManager start.

You might cross reference this thread and see if it helps

https://forums.kali.org/showthread.php?33405-SOLVED-NetworkManager-reverts-spoofed-MAC-to-permanent-one-or-randomizes-it

Musket Teams