️ Beyond The Perimeter Cracking Sysco With Kerberos Exploitation Gpo Task Injection ️
A public-facing web server on a domain controller leaked employee names from its page source, and one of those accounts was configured without Kerberos preauthentication, so its password hash could be requested and cracked offline. The cracked credentials, plus a plain-text password found in a PuTTY shortcut and a reused password, let the tester reach a system administrator account and inject a scheduled task through a Group Policy Object to gain domain admin.
Nicholas K70n0s510 Mullenski Follow
Published on infosecwriteups.com
When WinRM fails, persistence wins. See how a simple PuTTY shortcut metadata leak led to the total collapse of a Windows Server 2022 Domain Controller. 🏁👑
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a combination of a user account with Kerberos preauthentication disabled, plain-text credentials stored in a shortcut file, and password reuse across accounts.
Impact
An attacker could take over a helpdesk account, then a system administrator account, and finally gain domain admin rights over the whole domain.
What the attacker needed
Network access to the domain controller; a wordlist for offline cracking; weak, reused passwords
The fix
Kerberos preauthentication should be required for all accounts, passwords should never be stored in plain text in shortcut files, passwords should not be reused, and GPO editing rights should be tightly restricted.
How it was found
- Scan the target to find the web server, Kerberos and other services.
- Brute-force directories on the web server and inspect the page source for employee names.
- Build a username list and request Kerberos tickets for accounts without preauthentication.
- Crack the returned hash offline with a wordlist.
- Log in to webmail with the cracked account and read an email containing a router configuration hash.
- Crack that hash, reuse the password against other accounts, and log in over RDP.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
A domain controller is the central server that checks who is allowed to log in to a Windows network. One login setting let anyone ask the server for a scrambled copy of a user's password, which was then guessed offline with a wordlist. Separately, a shortcut file on a user's desktop stored a password in plain text, and that password belonged to an administrator.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.