Skip to content

Conversation

@SimonWessling
Copy link

When using smartbrute with Kerberos authentication, smartbrute tries to look up the KDC hostname (get_machine_name()), which it requires to construct the SPN, via SMB anonymous login. This leads to an unhandled exception in environments where NTLM authentication is disabled. I added a command line argument --dc-host to specify the KDC host directly, eliminating the lookup via SMB. This is similar to the approach taken in some impacket example scripts.

While I was at it, I also fixed a small bug and added a hint to use --use-ldaps when Kerberos login over plain LDAP fails.

Simon Wessling added 3 commits September 9, 2022 13:57
…erberos authentication.

Specifying this option prevents a machine name lookup via SMB anonymous login, which may not be enabled in Kerberos environments.
self.options has no attribute domain when using smart attack with Kerberos auth -> use function argument instead
@ShutdownRepo
Copy link
Owner

Thank you for this addition, can you resolve the conflicts that probably raised with the last merge?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants