-
Notifications
You must be signed in to change notification settings - Fork 270
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
Kerberos Auth Not Working #35
Comments
The target (-t) parameter does not accept anything other than an IP. The error says to input an IP if you send anything else. The domain flag (-d) needs to be the TLB for Kerberos auth to work. HOWEVER, I got it to work with the key generated by the tool itself... and when I was referring to the Kerb key before, there was a soft link in the path. Some code does not handle path soft links well... |
Yes the target has to be the IP, because of a similar issue I had with Kerberos authentication when you put anything else. The issue could be related to the choice of domain or host when generating the ticket (like dc01 or dc01.vintage.htb in your case). For the soft link, can you please share the error you're having? The tool uses the full path of the key file like this |
The only way I could reproduce this error is when you request a TGT using the "short" domain name instead of the full one. And the error would be also in netexec. Is this related to the issue you're facing?
|
Doesn't seem to work with Kerberos... any help. Looks like it would be an awesome tool otherwise.
Am I missing something? Tried all kinds of cred combinations... CME and NXC authenticates fine.
./linWinPwn.sh -t 10.129.100.130 -d VINTAGE.HTB -u 'P.Rosa' -K '/home/kali/E/PT/HTB/Vintage/linWinPwn_vintage.htb_P.Rosa/Credentials/P.Rosa.ccache' -I tun0 -U domain-users.txt
[+] Tue Dec 3 11:58:24 PM EST 2024
[i] Target domain: vintage.htb
[i] Domain Controller's FQDN: dc01.vintage.htb
[i] Domain Controller's IP: 10.129.100.130
[i] Domain Controller's ports: RPC open, SMB open, LDAP open, LDAPS open, KRB open, RDP filtered|closed, WinRM open
[i] Output folder: /home/kali/E/PT/HTB/Vintage/linWinPwn_vintage.htb_P.Rosa
[i] User wordlist file: domain-users.txt
[i] Password wordlist file: /usr/share/wordlists/rockyou.txt
[i] Attacker's IP: 10.10.16.3
[i] Attacker's Interface: tun0
[i] Current target(s): Domain Controllers
SMB 10.129.100.130 445 10.129.100.130 [-] VINTAGE.HTB\P.Rosa from ccache KDC_ERR_S_PRINCIPAL_UNKNOWN
[-] Error authenticating to domain! Please check your credentials and try again...
The text was updated successfully, but these errors were encountered: