aircrack-ng / rtl8812au

RTL8812AU/21AU and RTL8814AU driver with monitor mode and frame injection
GNU General Public License v2.0
3.58k stars 783 forks source link

Ubuntu/PopOS - AES Encryption Issue #556

Open FroggMaster opened 4 years ago

FroggMaster commented 4 years ago

My Setup:

Device: Alfa AWUS036AC Linux Distro: PopOS 19.10 (Ubuntu Derivative) Linux Kernel: 5.3.0-7625-generic Branch / Driver Version: v5.3.4 and v5.6.4.2

I cloned the repo, installed as per ./dkms-install.sh Adapter is now flashing, and displaying wifi access points. However when I try to connect with the correct key for any SSID it fails to connect and prompts for the key again. Appears to be an error somewhere in the handshake.

I checked out similar issues but it doesn't appear I've encountered any functional solutions. Any help that could be provided would be heavily appreciated. dmesg output:


[  528.639882] ---[ end trace bad3839da59a5ac8 ]--- |   |  
-- | -- | --
[  528.764510] usb 1-12: reset high-speed USB device number 10 using xhci_hcd |   |  
[ 1458.920296] usb 1-12: 88XXau 00:c0:ca:8f:2d:53 hw_info[d7] |   |  
[ 1458.927270] usbcore: registered new interface driver 88XXau |   |  
[ 1458.930781] 88XXau 1-12:1.0 wlx00c0ca8f2d53: renamed from wlan0 |   |  
[ 1459.415765] IPv6: ADDRCONF(NETDEV_CHANGE): wlx00c0ca8f2d53: link becomes ready |   |  
[ 3701.294678] sr 4:0:0:0: [sr0] tag#7 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE |   |  
[ 3701.294680] sr 4:0:0:0: [sr0] tag#7 Sense Key : Illegal Request [current] |   |  
[ 3701.294682] sr 4:0:0:0: [sr0] tag#7 Add. Sense: Read of scrambled sector without authentication |   |  
[ 3701.294684] sr 4:0:0:0: [sr0] tag#7 CDB: Read(10) 28 00 00 00 e1 50 00 00 20 00 |   |  
[ 3701.294685] blk_update_request: I/O error | dev sr0 | sector 230720 op 0x0:(READ) flags 0x80700 phys_seg 5 prio class 0
[ 3701.330650] sr 4:0:0:0: [sr0] tag#8 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE |   |  
[ 3701.330652] sr 4:0:0:0: [sr0] tag#8 Sense Key : Illegal Request [current] |   |  
[ 3701.330653] sr 4:0:0:0: [sr0] tag#8 Add. Sense: Read of scrambled sector without authentication |   |  
[ 3701.330668] sr 4:0:0:0: [sr0] tag#8 CDB: Read(10) 28 00 00 00 e1 50 00 00 01 00 |   |  
[ 3701.330669] blk_update_request: I/O error | dev sr0 | sector 230720 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 3701.330672] Buffer I/O error on dev sr0 | logical block 57680 | async page read
[ 3701.358687] sr 4:0:0:0: [sr0] tag#9 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE |   |  
[ 3701.358689] sr 4:0:0:0: [sr0] tag#9 Sense Key : Illegal Request [current] |   |  
[ 3701.358691] sr 4:0:0:0: [sr0] tag#9 Add. Sense: Read of scrambled sector without authentication |   |  
[ 3701.358692] sr 4:0:0:0: [sr0] tag#9 CDB: Read(10) 28 00 00 00 e1 51 00 00 01 00 |   |  
[ 3701.358694] blk_update_request: I/O error | dev sr0 | sector 230724 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 3701.358697] Buffer I/O error on dev sr0 | logical block 57681 | async page read
[ 3701.390922] sr 4:0:0:0: [sr0] tag#27 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE |   |  
[ 3701.390925] sr 4:0:0:0: [sr0] tag#27 Sense Key : Illegal Request [current] |   |  
[ 3701.390926] sr 4:0:0:0: [sr0] tag#27 Add. Sense: Read of scrambled sector without authentication |   |  
[ 3701.390928] sr 4:0:0:0: [sr0] tag#27 CDB: Read(10) 28 00 00 00 e1 50 00 00 01 00 |   |  
[ 3701.390929] blk_update_request: I/O error | dev sr0 | sector 230720 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 3701.390932] Buffer I/O error on dev sr0 | logical block 57680 | async page read
[ 3701.422703] sr 4:0:0:0: [sr0] tag#10 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE |   |  
[ 3701.422705] sr 4:0:0:0: [sr0] tag#10 Sense Key : Illegal Request [current] |   |  
[ 3701.422707] sr 4:0:0:0: [sr0] tag#10 Add. Sense: Read of scrambled sector without authentication |   |  
[ 3701.422708] sr 4:0:0:0: [sr0] tag#10 CDB: Read(10) 28 00 00 00 e1 51 00 00 01 00 |   |  
[ 3701.422723] blk_update_request: I/O error | dev sr0 | sector 230724 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 3701.422726] Buffer I/O error on dev sr0 | logical block 57681 | async page read
[ 3749.595267] sr 4:0:0:0: [sr0] tag#1 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE |   |  
[ 3749.595269] sr 4:0:0:0: [sr0] tag#1 Sense Key : Illegal Request [current] |   |  
[ 3749.595272] sr 4:0:0:0: [sr0] tag#1 Add. Sense: Read of scrambled sector without authentication |   |  
[ 3749.595273] sr 4:0:0:0: [sr0] tag#1 CDB: Read(10) 28 00 00 31 d9 c8 00 00 08 00 |   |  
[ 3749.595275] blk_update_request: I/O error | dev sr0 | sector 13068064 op 0x0:(READ) flags 0x80700 phys_seg 4 prio class 0
[ 3749.635227] sr 4:0:0:0: [sr0] tag#12 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE |   |  
[ 3749.635235] sr 4:0:0:0: [sr0] tag#12 Sense Key : Illegal Request [current] |   |  
[ 3749.635241] sr 4:0:0:0: [sr0] tag#12 Add. Sense: Read of scrambled sector without authentication |   |  
[ 3749.635246] sr 4:0:0:0: [sr0] tag#12 CDB: Read(10) 28 00 00 31 d9 c8 00 00 01 00 |   |  
[ 3749.635251] blk_update_request: I/O error | dev sr0 | sector 13068064 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 3749.635260] Buffer I/O error on dev sr0 | logical block 3267016 | async page read
[ 3749.663225] sr 4:0:0:0: [sr0] tag#2 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE |   |  
[ 3749.663232] sr 4:0:0:0: [sr0] tag#2 Sense Key : Illegal Request [current] |   |  
[ 3749.663238] sr 4:0:0:0: [sr0] tag#2 Add. Sense: Read of scrambled sector without authentication |   |  
[ 3749.663244] sr 4:0:0:0: [sr0] tag#2 CDB: Read(10) 28 00 00 31 d9 c9 00 00 01 00 |   |  
[ 3749.663249] blk_update_request: I/O error | dev sr0 | sector 13068068 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 3749.663258] Buffer I/O error on dev sr0 | logical block 3267017 | async page read
[ 3749.695217] sr 4:0:0:0: [sr0] tag#13 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE |   |  
[ 3749.695225] sr 4:0:0:0: [sr0] tag#13 Sense Key : Illegal Request [current] |   |  
[ 3749.695231] sr 4:0:0:0: [sr0] tag#13 Add. Sense: Read of scrambled sector without authentication |   |  
[ 3749.695236] sr 4:0:0:0: [sr0] tag#13 CDB: Read(10) 28 00 00 31 d9 c8 00 00 01 00 |   |  
[ 3749.695242] blk_update_request: I/O error | dev sr0 | sector 13068064 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 3749.695250] Buffer I/O error on dev sr0 | logical block 3267016 | async page read
[ 3749.731160] sr 4:0:0:0: [sr0] tag#3 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE |   |  
[ 3749.731167] sr 4:0:0:0: [sr0] tag#3 Sense Key : Illegal Request [current] |   |  
[ 3749.731173] sr 4:0:0:0: [sr0] tag#3 Add. Sense: Read of scrambled sector without authentication |   |  
[ 3749.731178] sr 4:0:0:0: [sr0] tag#3 CDB: Read(10) 28 00 00 31 d9 c9 00 00 01 00 |   |  
[ 3749.731184] blk_update_request: I/O error | dev sr0 | sector 13068068 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 3749.731194] Buffer I/O error on dev sr0 | logical block 3267017 | async page read
[ 3753.907289] sr 4:0:0:0: [sr0] tag#19 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE |   |  
[ 3753.907296] sr 4:0:0:0: [sr0] tag#19 Sense Key : Illegal Request [current] |   |  
[ 3753.907302] sr 4:0:0:0: [sr0] tag#19 Add. Sense: Read of scrambled sector without authentication |   |  
[ 3753.907308] sr 4:0:0:0: [sr0] tag#19 CDB: Read(10) 28 00 00 31 d9 c8 00 00 01 00 |   |  

iwconfig output:

lo        no wireless extensions.

enp0s31f6  no wireless extensions.

wlx00c0ca8f2d53  unassociated  Nickname:"<WIFI@REALTEK>"
          Mode:Managed  Frequency=5.18 GHz  Access Point: Not-Associated   
          Sensitivity:0/0  
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=0/100  Signal level=0 dBm  Noise level=0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
FroggMaster commented 4 years ago

After further investigation it appears this is an issue with the encryption type. AES encryption does not seem to be properly supported.

After investigating this issue for the last week and testing multiple dongles it seems the only thing that will allow successful connection is modifying my networks encryption to strictly use TKIP.