morrownr / USB-WiFi

USB WiFi Adapter Information for Linux
2.4k stars 161 forks source link

Deauth has stop working for 5GHz on MediaTek chipsets since kernel linux-image-6.1.0-12-amd64 #390

Open LightMoon opened 4 months ago

LightMoon commented 4 months ago

I have noticed, I am no longer able to deauth against the 5Ghz channels on kernels 6.3, 6.5 and 6.6; although it works fine on kernel 6.1.

This issue is only related to the 5Ghz band and can be reproduced by following the command.

aireplay-ng -0 10 -a wlan1mon

I have tried on multiple channels, for example, 132 and also set the regulatory domain to the US prior - iw reg set US. Can this be confirmed that the bug exists and is being tracked?

Wireless cards that I've tried and are problematic:

Mediatek MT7921AUN | Alfa AWUS036AXML Mediatek MT7921AUN | Alfa AWUS036AXM MediaTek MT7612U | Alfa AWUS036ACM

This issue is indifferent to CPU architecture and can be reproduced on arm ex, Raspi 5.

morrownr commented 4 months ago

How are you going into monitor mode?

LightMoon commented 4 months ago

I have tried your script and also airmon-ng, both are not working. with Monitor_Mode script which pauses the processes, airodump-ng --channel 132 --bssid A0:04:60:43:xx:xx wlan1mon

aireplay-ng -0 10 -a A0:04:60:43:xx:xx wlan1mon             
19:25:05  Waiting for beacon frame (BSSID: A0:04:60:43:xx:xx) on channel 132
19:25:15  No such BSSID available.

with airmon-ng:

airmon-ng check kill
airmon-ng start wlan1 

airodump-ng --channel 132 --bssid A0:04:60:43:xx:xx wlan1mon

19:26:08  Waiting for beacon frame (BSSID: A0:04:60:43:xx:xx) on channel 132
NB: this attack is more effective when targeting
a connected wireless client (-c <client's mac>).
19:26:08  Sending DeAuth (code 7) to broadcast -- BSSID: [A0:04:60:43:xx:xx]
19:26:09  Sending DeAuth (code 7) to broadcast -- BSSID: [A0:04:60:43:xx:xx]
19:26:09  Sending DeAuth (code 7) to broadcast -- BSSID: [A0:04:60:43:xx:xx]

This results are for the card - Mediatek MT7921AUN | Alfa AWUS036AXML

morrownr commented 4 months ago

This results are for the card - Mediatek MT7921AUN | Alfa AWUS036AXML

I have one those. I'll do some testing and see what I come up with. So, 5 GHz band I'll use kernel 6.6.

LightMoon commented 4 months ago

This results are for the card - Mediatek MT7921AUN | Alfa AWUS036AXML

I have one those. I'll do some testing and see what I come up with. So, 5 GHz band I'll use kernel 6.6.

By any chance have you managed to do some testing? I am waiting for your confirmation before opening a bug case on kernel.org. Hope you can make time to test and keep me posted.

morrownr commented 4 months ago

Sorry for the delay. I'm not feeling well but will do it when able.