RDP Module hangs against systems with interactive logon messages

Open
#51 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
c

Research direction

Start with the RDP module and trace how it handles the authentication handshake against a server that presents an interactive logon message first. Reproduce the behavior against the described Windows Server 2012 R2 setup, then identify where the handshake stops progressing. Done means Ncrack handles the message and continues authentication instead of repeatedly trying without progress.

Written by the indexing model from the issue text.

Description

Hello!
I was testing ncrack today against my Windows 2012 R2 server. It works beautifully with standard RDP. However, when the interactive logon message is presented prior to the authentication step, ncrack seems to try over and over but gets nowhere.

More information about interactive logon messages can be found here: https://docs.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/interactive-logon-message-text-for-users-attempting-to-log-on

Dominant language
C
Stars
1.2k
Forks
275
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nmap/ncrack

All issues in nmap/ncrack

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.