Commit Graph

55 Commits

Author SHA1 Message Date
Mathy Vanhoef
6fd347ee1c fragattacks: always encrypt EAPOL Request frames
When the parameter --rekey-plaintext is used, the rekey 4-way handshake
itself should be sent in plaintext. But possible EAPOL Request frames,
which ask the AP for a new 4-way handshake, should ideally still be sent
using encryption.

This patch assures that EAPOL (Rekey) Request frames are always sent
encrypted, even when --rekey-plaintext is used.
2023-10-11 22:42:55 +02:00
Mathy Vanhoef
7ca38f02ab fragattacks: add note on DHCP server IP address 2023-01-07 17:38:11 +01:00
Mathy Vanhoef
6af88a2dcb fragattacks: include server_id in DHCP request 2023-01-07 16:25:21 +01:00
Mathy Vanhoef
b7a520637e fragattacks: do not use format strings
There are only supported on Python 3.6 and above. With openwifi we
likely need to support an older Python version.

This patch may be reverted in the future once support for older
Python versions is no longer needed.
2022-10-16 18:44:11 +02:00
Angelo Compagnucci
4c59cdfffd research/fraginternals: Test: adding enforce_pre_delay
Adding a delay before actually executing the test. This can be useful in
all the cases the network stack of the victim is still not ready to
receive packets leading to a timed out test result.

Suggested-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
2022-03-31 13:43:58 +08:00
Angelo Compagnucci
33b49cbad3 research/fraginternals: Test: adding pre_delay
pre_delay can be used to add a delay before actually executing the test.

Suggested-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
2022-03-31 13:25:54 +08:00
Mathy Vanhoef
1bc7636768 fragattacks: option to never send QoS data frames
Fixes #5. This option is experimental and may break some tests that
rely on sending QoS Data frames with different priorities.
2021-05-16 22:09:28 +04:00
Mathy Vanhoef
5346a3a5d2 fragattacks: kernel 5.11 and 5.12 and device updates 2021-05-08 02:21:33 +04:00
Mathy Vanhoef
0b99805f78 fragattacks: basic support for 40 MHz channels 2021-05-07 13:30:47 +04:00
Mathy Vanhoef
6f8d45f37e fragattack: improved scapy fix and driver/hostap version check 2021-01-21 01:49:12 +04:00
Mathy Vanhoef
d7718bc6f6 fragattack: use set_amsdu and is_amsdu functions 2021-01-16 14:39:21 +04:00
Mathy Vanhoef
cab3422a38 fragattack: bugfixes and move to new scapy 2021-01-13 04:18:13 +04:00
Mathy Vanhoef
4fc8340205 fragattack: minor driver check bug 2021-01-05 20:45:34 +04:00
Mathy Vanhoef
ac5dea5903 fragattack: check hostap and driver for version 1.3 2020-12-19 04:47:04 +04:00
Mathy Vanhoef
641c4a5f2d fragattack: add --stay-up argument 2020-12-18 21:18:51 +04:00
Mathy Vanhoef
d10941c8bc fragattack: minor tweaks to README and tool output 2020-11-12 11:49:03 +04:00
Mathy Vanhoef
78f9833e0f fragattack: minor tweaks to output 2020-11-12 00:17:53 +04:00
Mathy Vanhoef
9727be0348 fragattack: automatically close tool after test 2020-11-11 23:30:51 +04:00
Mathy Vanhoef
6c4d55a698 fragattack: detect when 4-way HS gets stuck 2020-11-11 22:59:40 +04:00
Mathy Vanhoef
dd3f2ba7f2 fragattack: automatically detect rekey request timeout 2020-11-11 21:22:08 +04:00
Mathy Vanhoef
b934c6c17b fragattack: bugfix: always send EAPOL to bss or sta MAC 2020-11-11 19:56:20 +04:00
Mathy Vanhoef
e94b04ff57 fragattack: check if hostapd/wpa_sup was recompiled on updates 2020-11-04 12:26:50 +04:00
Mathy Vanhoef
6860499262 fragattacks: fix displayed encryption key in debug output 2020-10-25 06:26:19 +04:00
Mathy Vanhoef
5ed2ba7e06 fragattack: fix SSP to SPP 2020-10-20 14:33:09 +04:00
Mathy Vanhoef
a41e1e7740 Minor updates 2020-10-07 13:44:23 +04:00
Mathy Vanhoef
d02e2d60b1 fragattack: remove old code 2020-08-21 14:47:53 +04:00
Mathy Vanhoef
e8b8b1a573 fragattack: improve tracking of the 4-way handshake 2020-08-05 08:59:42 +04:00
Mathy Vanhoef
303b9cbec8 fragattack: add --amsdu-ssp option 2020-08-05 07:17:59 +04:00
Mathy Vanhoef
d3e11e9bc1 fragattack: test output improvements 2020-08-05 00:35:24 +04:00
Mathy Vanhoef
4350e3d24a fragattack: ignore key request as event 2020-08-03 07:30:14 +04:00
Mathy Vanhoef
4514ec79fa fragattack: more output improvements 2020-08-03 06:20:40 +04:00
Mathy Vanhoef
f45f6c5eb2 fragattack: minor output improvement 2020-08-03 05:57:03 +04:00
Mathy Vanhoef
4bc992c609 fragattack: ignore group key handshake frames 2020-08-03 05:43:12 +04:00
Mathy Vanhoef
318b356251 fragattack: improved methd to rekey in plaintext 2020-08-03 05:42:58 +04:00
Mathy Vanhoef
d2cf9da0eb fragattack: fix wpaspy event handling 2020-08-03 04:41:33 +04:00
Mathy Vanhoef
9d7378a562 fragattacks: experimental udp injection 2020-07-30 17:54:04 +04:00
Mathy Vanhoef
e29d23e75c fragattack: confirmed associating event with Broadcom chip 2020-07-30 16:22:56 +04:00
Mathy Vanhoef
72fed7499d fragattack: draft reconnect fix 2020-07-30 14:52:28 +04:00
Mathy Vanhoef
e81f640cf5 fragattack: remove some old comments 2020-07-27 00:00:00 +04:00
Mathy Vanhoef
7392e6a216 fragattacks: check if modified drivers/firmware are used 2020-07-26 22:55:22 +04:00
Mathy Vanhoef
3d65e9c2ef fragattcks: only test ack injection postauth 2020-07-25 11:05:59 +04:00
Mathy Vanhoef
4e29602da0 fragattacks: fix preauth client injection test 2020-07-13 05:24:41 +04:00
Mathy Vanhoef
f88fd2476b fragattack: fix debug output 2020-06-28 13:06:11 +04:00
Mathy Vanhoef
83c4ef27e0 fragattack: improved injection tests 2020-06-28 12:55:11 +04:00
Mathy Vanhoef
7c039f5581 fragattack: add copyright banners 2020-06-28 12:35:45 +04:00
Mathy Vanhoef
edaf1abf56 fragattack: ignore unrelated messages on wpaspy control channel 2020-06-28 09:29:08 +04:00
Mathy Vanhoef
9431a8c39b fragattack: improved injection testing 2020-06-27 17:27:46 +04:00
Mathy Vanhoef
62133588da fragattack: use GET_CHANNEL command 2020-06-26 15:50:39 +04:00
Mathy Vanhoef
c6e8086d10 fragattack: updated event handling to support more devices 2020-06-26 15:50:18 +04:00
Mathy
67093175a5 Prep for bad-mic options, some TODOs, and notes 2020-06-19 15:24:12 -04:00