SySS-Research / Seth

Perform a MitM attack and extract clear text credentials from RDP connections
MIT License
1.38k stars 325 forks source link

Issue with keyboard layout #53

Closed SquirrelKing88 closed 3 years ago

SquirrelKing88 commented 3 years ago

Hello) At first I want to thank you for great work. Your soft is really helping me. Everything is working fine except one thing. I think I have some issues with detecting keyboard layout. The error message says "Keyboard Layout not recognized". The client's (victim's) system is Windows 10 system language is Russian, current keyboard layout is English US, also Russian and Ukrainian layouts are present. It makes no difference which layout I use while using the Seth, the result recognition of keyboard layout is the same. Can you give me some advise to solve this issue?

AdrianVollmer commented 3 years ago

We're using this list to detect the keyboard layout: https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-adts/a29e5c28-9fb9-4c49-8e43-4b9b8e733a05

However, it's purely informational. I never implemented the correct mapping from scancodes to characters depending on the layout. So if the victim is using english, what you see should be the correct letters. If the victim is using an Ukrainian keyboard, you'd have to translate the letters manually... sorry about that.

The password should still appear correctly, though.

SquirrelKing88 commented 3 years ago

I see) Thank you for help