entra-id-phs-integration
kali# Entra ID PHS Integration
Methodology
Enumerate the accounts with the
MSOL_attribute.Get administrative privileges on the computer where it's setup.
Read the password.
Run commands as
MSOL_user.DCSync (Optional).
Powershell
[!INFO] Remember to follow the Powershell methodology
PowerView
Get the MSOL user and the computer where it's setup:
Get-DomainUser -Identity "MSOL_*" -Domain contoso.localRetrieve the password:
With administrative privileges, if we run adconnect.ps1, we can extract the credentials of the MSOL_ account used by Entra Connect in clear-text
https://gist.github.com/xpn/0dc393e944d8733e3c63023968583545#file-azuread_decrypt_msol-ps1
.\azuread_decrypt_msol.ps1Run commands:
And can then execute the DCSync attack
Last updated