Adversaries may attempt to find unsecured credentials in Group Policy Preferences (GPP). GPP are tools that allow administrators to create domain policies with embedded credentials. These policies allow administrators to set local accounts.
These group policies are stored in SYSVOL on a domain controller. This means that any domain user can view the SYSVOL share and decrypt the password (using the AES key that has been made public).
The following tools and scripts can be used to gather and decrypt the password file from Group Policy Preference XML files:
On the SYSVOL share, adversaries may use the following command to enumerate potential GPP XML files:
dir /s * .xml
|M1015||Active Directory Configuration||
Remove vulnerable Group Policy Preferences.
Search SYSVOL for any existing GGPs that may contain credentials and remove them.
|ID||Data Source||Data Component||Detects|
Monitor executed commands and arguments that may search for SYSVOL data and/or GPP XML files, especially on compromised domain controllers.
Monitor for attempts to access SYSVOL that involve searching for XML files.