BadUSB keyboard layout feature doesn't work
Closed this issue · 3 comments
Describe the bug.
When I use BadUSB and select de-CH as the keyboard layout it somehow doesn't work. When I run the test payload for Windows which opens a text editor and writes this test message into it, the keyboard layout is clearly not de-CH. Also when I try other keyboard layouts they won't work neither. It is always the same layout. I guess the standard layout is the US layout?
The test message is mixed up with random symbols and it is clearly QWERTY and not QWERTZ (de-CH is QWERTZ).
I didn't have this problem on Release 73.
Reproduction
- Open BadUSB
- Connect via USB to Windows 11 Computer
- Select the "demo_windows" payload
- Press left arrow to open configuration
- Select the wanted keyboard layout
- Run the payload
Target
No response
Logs
No response
Anything else?
No response
Little Note: It works fine on the current release of Momentum. mmtm-005
I did find out what the issue is.
This problem only appears when the text is printed in Notepad.
I tested it on multiple Windows 11 computers with the keyboard layout de-CH and it always was the same issue.
When I run the demo_windows on Notepad++ it worked fine.
Also all other payloads work fine (They weren't working because some related github file linked in the payload was deleted).
So it works perfectly fine, only in Notepad on Windows 11 this issue seems to appear.