title: Remote Desktop / RDP credentials check from command line (no GUI)
body: <p>We're currently writing a tool aimed at checking the validity of credentials over various applications (http, ssh, smb, rdp). No problem for the 3 former. But for RDP, I couldn't find a single way of doing this easily.</p>
  
  <p>The tool is embedded within a web app hosted on a linux box, therefore there is no X Server available.</p>
  
  <p>The only tool I have successfully used to validate RDP credentials from the command line is THC-Hydra, by supplying a single username and password, it works correctly for older versions of RDP servers, of for those where the Network Level Authentication has been lowered.</p>
  
  <p>However, THC-Hydra seems to hang when checking RDP credentials for newest versions of Windows, or where Network Level Authentication has been hardened.</p>
  
  <p>Medusa with a patched version of the rdesktop client fails as well. (some servers require CredSSP, SSL, ...)</p>
  
  <p>There's also nmap's ncrack, but for some reason I only get "READ" timeouts.</p>
  
  <p><strong>EDIT:</strong> I got Ncrack to work, however it fails - at least on Windows 2008 R2 (doesn't find credentials even when providing the correct ones).</p>
  
  <p>Any clues to help me?</p>
  
  <p>Cheers</p>