-
Hi, ZerBea Please explain in simple words Please mention two cases:
I read that What you meant by ultra fast? I think this question is a good candidate for the frequently asked questions Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments
-
If an interface support active monitor mode incoming frames addressed to the MAC of the interface are acknowledged (ACK) by the interface. To answer the question: |
Beta Was this translation helpful? Give feedback.
-
You may have noticed that hcxdumptool's options have been changed by this commit:
As of today, only mt76x0u and mt76x2u really support active monitor mode. |
Beta Was this translation helpful? Give feedback.
-
Well, sounds great, but I haven't noticed a significant decrease in attack time. I did a quick test. For example, In fact, the same time (about 7 seconds) was required to retrieve PMKIDs from three different APs. I was using a modern laptop with the latest version of Arch Linux and USB WiFi So it seems to be only a theoretical advantage, or am I wrong? By the way, you mentioned ultra fast PMKID attack. Whether it is mandatory to be in monitor mode for any attack? By the way, I noticed that hcxpcapngtool specifies the timestamp as GMT
But it's actually local time on my laptop, not GMT. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
-
I am talking about time gaps in layer 1 while you are talking about time gaps during processing hcxdumptool in user space.
This has been answered:
That can be done via a patched wpa_supplicant or a patched hostap. |
Beta Was this translation helpful? Give feedback.
-
active monitor mode:
passive monitor mode:
While a station is transmitting its frame, the channel is busy. No other station is allowed to transmit during this time. Also, some APs terminate the AUTHENTICATION, if they do not get an ACK. To really see what is going on on the channel, setup a second physical interface and monitor the entire traffic in parallel, |
Beta Was this translation helpful? Give feedback.
-
Brilliant explanation, thank you! |
Beta Was this translation helpful? Give feedback.
-
Correct, but it will be huge if hcxdumptool attacks all targets in range simultaneously.
versus active monitor mode
|
Beta Was this translation helpful? Give feedback.
-
For this real world example (handling of an AUTHENTICATION) I added some measurement code:
If that happens 7 times more, we are at 0.000168 seconds +/- due to rounding error of the measurement. |
Beta Was this translation helpful? Give feedback.
If an interface support active monitor mode incoming frames addressed to the MAC of the interface are acknowledged (ACK) by the interface.
If the target receive the ACK frame, it transmits next frame.
If the ACK is missing it doesn't transmit the next frame. Instead it re-transmits the old frame up to 7 times.
That is a huge performance decrease, because the channel is locked 7 times longer.
If hcxdumptool requests a PMKID running an interface that does not support active monitor mode, this will take 7 times longer.
To answer the question:
How fast attack will be in active monitor mode vs just monitor mode?
It will be up to 7 times faster.