vanhauser-thc / thc-hydra

hydra
GNU Affero General Public License v3.0
9.24k stars 1.93k forks source link

RDP brute force failed with correct password #921

Closed wgf4242 closed 5 months ago

wgf4242 commented 5 months ago

Describe the bug Attempting an RDP brute force with correct user and password, but not found any valid password.

To Reproduce hydra -vV -l test -p test -S rdp://192.168.127.130 -t 1

Desktop (please complete the following information):

Additional context

$ hydra -vV -l test -p test -S rdp://192.168.127.130 -t 1
Hydra v9.5 (c) 2023 by van Hauser/THC & David Maciejak - Please do not use in military or secret service organizations, or for illegal purposes (this is non-binding, these *** ignore laws and ethics anyway).

Hydra (https://github.com/vanhauser-thc/thc-hydra) starting at 2024-01-03 18:54:07
[WARNING] the rdp module is experimental. Please test, report - and if possible, fix.
[DATA] max 1 task per 1 server, overall 1 task, 1 login try (l:1/p:1), ~1 try per task
[DATA] attacking rdps://192.168.127.130:3389/
[VERBOSE] Resolving addresses ... [VERBOSE] resolving done
[ATTEMPT] target 192.168.127.130 - login "test" - pass "test" - 1 of 1 [child 0] (0/0)
[STATUS] attack finished for 192.168.127.130 (waiting for children to complete tests)
1 of 1 target completed, 0 valid password found
Hydra (https://github.com/vanhauser-thc/thc-hydra) finished at 2024-01-03 18:54:07

192.168.127.130 OS:

I can login with test/test using remote desktop.

dmclazaro01 commented 5 months ago

I'm having the same problem with v9.6dev. RDP bruteforce matches passwords that are not valid. It's strange because I think that always find correctly the wordlist that has the password (I use a list of wordlists) but at the moment of choose the password always choose one that is wrong (and always before to try with the correct password).

The correct password is "root" and the tool thinks that is "letmein". I removed letmein from the wordlist and tried again and choose another wrong password image Captura de pantalla 2024-01-11 141817

vanhauser-thc commented 5 months ago

follow up in #923