-
Notifications
You must be signed in to change notification settings - Fork 85
Description
I used a Redmi 10 2022 (codename selene, MTK chipset) with a compiled NetHunter kernel (4.14) and a Wi-Fi adapter. Wi-Fi cracking is working fine, but it doesn’t fully meet my needs. So, I started working on HID attacks, but none of the methods I’ve tried have worked so far. Here’s a summary of my steps:
Steps I’ve Taken:
USB Gadget Tool Attempts:
used the USB Gadget tool in NetHunter. When I pressed the "+" button and selected "Keyboard & Mouse," my phone crashed every time.
I added the keyboard and mouse functions manually using the Gadget tool app and wrote a Ducky script. I launched the attack, first using Kali NetHunter and then Rucky. However, my computer didn’t detect the attack from my phone—it simply didn’t work.
I then flashed a clean Hydrogen kernel and repeated the same steps. Unfortunately, the result was the same.
Kernel HID Patching:
I applied a generic HID kernel patch for kernel 4.9 to my 4.14 kernel. The patching process was successful, and it created keyboard.hid and mouse.hid files in the gadget directory of the source code.
After compiling and flashing the kernel, the issue persisted. Whenever I pressed the "+" button in the USB Gadget tool app, my phone crashed. Adding any function caused a crash. Whether I opened the NetHunter terminal, selected HID, or used Rucky, my phone crashed every time.
I kindly request guidance on what steps I should take next. Thank you!
(Note: Apologies for any errors—I'm not very fluent in English.)