Remote host allows delegation of non-exportable credentials
L'hôte distant autorise la délégation d'informations d'identification non exportables
Explanation
Remote host allows delegation of non-exportable credentials
When using credential delegation, devices provide an exportable version of credentials to the remote host. This exposes users to the risk of credential theft from attackers on the remote host.
If you enable this policy setting, the host supports Restricted Admin or Remote Credential Guard mode.
If you disable or do not configure this policy setting, Restricted Administration and Remote Credential Guard mode are not supported. User will always need to pass their credentials to the host.
L'hôte distant autorise la délégation d'informations d'identification non exportables
Lorsque la délégation d'informations d'identification est utilisée, les appareils fournissent une version exportable des informations d'identification à l'hôte distant. Les utilisateurs courent alors le risque de voir leurs informations d'identification volées par des personnes malveillantes sur l'hôte distant.
Si vous activez ce paramètre de stratégie, l'hôte prend en charge le mode d'administration restreinte ou Credential Guard à distance.
Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, les modes d'administration restreinte et Credential Guard à distance ne sont pas pris en charge. L'utilisateur devra toujours transmettre ses informations d'identification à l'hôte.
Use cases
Enable it on the remote host, the server or workstation you connect to over Remote Desktop, so that it accepts Restricted Admin and Remote Credential Guard modes. In those modes the client does not send exportable credentials to the target machine, so an attacker who controls that host cannot harvest them.
Microsoft lists it as a remote-host requirement for both modes, on top of allowing the user to connect through Remote Desktop. It pairs with “Restrict delegation of credentials to remote servers”, which enforces the mode on the client side.
Microsoft source: Remote Credential Guard
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CredentialsDelegation- Value name
AllowProtectedCreds
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: CredSsp/AllowProtectedCreds
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CredentialsDelegation'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowProtectedCreds' -Value 1 -Type DWordDisable
# Disable: CredSsp/AllowProtectedCreds
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CredentialsDelegation'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowProtectedCreds' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": CredSsp/AllowProtectedCreds
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CredentialsDelegation'
Remove-ItemProperty -Path $k -Name 'AllowProtectedCreds' -ErrorAction SilentlyContinue