-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LDAP Channel binding implementation from #1697 #1844
LDAP Channel binding implementation from #1697 #1844
Conversation
4d30151
to
3e297ae
Compare
I updated the ntlmv2 values Lines 937 to 941 in 835e175
Edit: |
Hello @anadrianmanrique hope you are doing well :) Can you review this one ? this is fixing a big problem on nxc 🎉 |
Hello guys, first, thank you for taking care of #1697, hope we will finally integrate it :)/ |
Enjoy the vacation! That is a good question. As far as my tests go the current implementation should also work for Channel binding not being active, but I will test that again. I assumed that the new variable introduced bytes that are ignored by non channel binding connections, but I will dig into the Microsoft documentation to find out what is happening here! |
So, according to the microsoft documentation for the NTLMv2_CLIENT_CHALLENGE the object has the AvPairs variable as last parameter. These AvPairs (attribute-value) are terminated by
Effectively resulting in 8 null bytes: I would assume that on the Microsoft side of things the unnecessary 4 null bytes just got thrown away. With this PR we just add the AvPair to the, which does the termination of the object with |
@NeffIsBack I confirm what you said. I'll run some remote testcases regarding ntlm. If that's ok, the PR will be ready |
Awesome! Really looking forward to this being merged🚀 |
Thanks @anadrianmanrique ! 🔥 |
Merging, Thank you all!! |
Hi folks,
following up on #1697 (comment), this is a fixed version to finish up the review of @anadrianmanrique. No changes besides the one requested, so this can get merged as soon as possible 🚀
Tested on the NetExec side of things: