ntlmrelayx: Add --dump-pre2k to enumerate Pre-Windows 2000 vulnerable computers#2145
Open
H4ckT0Th3Futur3 wants to merge 2 commits into
Open
ntlmrelayx: Add --dump-pre2k to enumerate Pre-Windows 2000 vulnerable computers#2145H4ckT0Th3Futur3 wants to merge 2 commits into
H4ckT0Th3Futur3 wants to merge 2 commits into
Conversation
… computer accounts Add a new LDAP relay attack option that identifies computer accounts potentially vulnerable to pre-Windows 2000 authentication, where the password is predictable (lowercase machine name without trailing $). Detection is based on the PASSWD_NOTREQD flag (0x0020) in userAccountControl and computer accounts with pwdLastSet=0. Results are displayed in the console and saved as JSON in the lootdir. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Collaborator
|
Hey @H4ckT0Th3Futur3, thanks! I just pushed one commit to dedupe the candidates processing in There's one case, though, that is missing to be considered in the function. The one that's in the comment there
I quickly tried in my lab (Win2022) creating a Computer Account with the Assign this computer account as a pre-Windows 2000 computer checkbox checked and the password was set as the account name with these values: we may need to consider some seconds as tolerance I guess |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--dump-pre2koption to ntlmrelayx LDAP relay attacks$)PASSWD_NOTREQDflag (0x0020) inuserAccountControland accounts withpwdLastSet=0Usage
Output example
Test plan