Last updated
Last updated
Monteverde is a Medium Windows machine that features Azure AD Connect. The domain is enumerated and a user list is created. Through password spraying, the SABatchJobs
service account is found to have the username as a password. Using this service account, it is possible to enumerate SMB Shares on the system, and the $users
share is found to be world-readable. An XML file used for an Azure AD account is found within a user folder and contains a password. Due to password reuse, we can connect to the domain controller as mhope
using WinRM. Enumeration shows that Azure AD Connect
is installed. It is possible to extract the credentials for the account that replicates the directory changes to Azure (in this case the default domain administrator).
Scope
IP Address: 10.10.10.172
Nmap Scan
DNS Enumeration
No zone transfer
RPC Enumeration
Got a list of usernames from rpcclient
, then filter and add the output to a list
SMB Enumeration
No thing found after trying enumerating smb
KERBEROS Enumeration
I attempted ASREP-Roasting
attack but failed
After I run all options I know, I tried password spraying with the name usernames as passwords
List the shares on the box and permissions we have on each one with crackmapexec
and list the content of available share with spider_plus
module
Download that Interesting file
I found a password 4n0therD4y@n0th3r$
and I give it a try of the usernames list I have
We got a valid credential, Let's see if we have remote access to the box
Yes. we have :)
User Flag: 91d393fd513501e700cxxxxxxxxxxxxx
Modify the connection string line with the following argument:
Server=127.0.0.1
Database=DCSync
Integrated Security=True
Root Flag: bb3e0436d4588c2baxxxxxxxxxxxxx
Useful Post: