T1552.006SubTechniquecredential-accessagent-callable

T1552.006Group Policy Preferences

Sub-technique of T1552

Platforms: Windows

ATT&CK version: 14.1

What it is

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.(Citation: Microsoft GPP 2016) 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).(Citation: Microsoft GPP Key) The following tools and scripts can be used to gather and decrypt the password file from Group Policy Preference XML files: * Metasploit’s post exploitation module: <code>post/windows/gather/credentials/gpp</code> * Get-GPPPassword(Citation: Obscuresecurity Get-GPPPassword) * gpprefdecrypt.py On the SYSVOL share, adversaries may use the following command to enumerate potential GPP XML files: <code>dir /s * .xml</code>

ATT&CK tactics· 1

Credential Access

References

  1. https://attack.mitre.org/techniques/T1552/006
  2. https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/dn581922(v%3Dws.11)
  3. https://msdn.microsoft.com/library/cc422924.aspx
  4. https://obscuresecurity.blogspot.co.uk/2012/05/gpp-password-retrieval-with-powershell.html
  5. https://adsecurity.org/?p=2288
Sourced from MITRE ATT&CK Enterprise v14.1. Curated and contextualized for EU compliance use cases by Adam Lundqvist, Founder at SQUR.