- Machine
- Eighteen
- OS
- Windows
- Difficulty
- Easy
- Steps
- 4
- Added
- 15 Nov 2025
MSSQL creds from the web app pivot to a WinRM user; a BadSuccessor dMSA whose predecessor is Administrator inherits admin and reads the root flag over SMB.
How it went
- 0nmap
nmap shows only IIS (a Flask app) and WinRM on a Windows 2025 domain controller.
- 1MSSQL creds
MSSQL creds (kevin) from the app lead to a webapp DB holding adam.scott's password.
- 2adam.scott
adam.scott logs in over WinRM for the user flag.
- 3BadSuccessor
adam.scott's IT group has CreateChild on OU=Staff, so a new dMSA whose predecessor is Administrator inherits admin, and Rubeus extracts its keys and PAC.
- 4dMSA admin
Through a chisel tunnel, the dMSA's ticket reads Administrator's files over SMB.