Open in the explorer

Specify channel binding token hardening level

Spécifier le niveau de sécurisation renforcée des jetons de liaison de canaux

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Windows Remote Management (WinRM) › WinRM Service FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Gestion à distance de Windows (WinRM) › Service WinRM
Supported on
At least Windows Vista FR: Au minimum Windows Vista
ADMX file
WindowsRemoteManagement.admx
Internal name
WindowsRemoteManagement/CBTHardeningLevel_1

Explanation

This policy setting allows you to set the hardening level of the Windows Remote Management (WinRM) service with regard to channel binding tokens.

If you enable this policy setting, the WinRM service uses the level specified in HardeningLevel to determine whether or not to accept a received request, based on a supplied channel binding token.

If you disable or do not configure this policy setting, you can configure the hardening level locally on each computer.

If HardeningLevel is set to Strict, any request not containing a valid channel binding token is rejected.

If HardeningLevel is set to Relaxed (default value), any request containing an invalid channel binding token is rejected. However, a request that does not contain a channel binding token is accepted (though it is not protected from credential-forwarding attacks).

If HardeningLevel is set to None, all requests are accepted (though they are not protected from credential-forwarding attacks).

French text from Windows 11 26H2

Ce paramètre de stratégie permet de définir le niveau de sécurisation renforcée que le service Gestion à distance de Windows (WinRM) applique pour les jetons de liaison de canaux.

Si vous activez ce paramètre de stratégie, le service WinRM applique le niveau de sécurisation renforcée défini dans HardeningLevel pour déterminer s’il doit ou non accepter une demande qu’il a reçue, sur la base d’un jeton de liaison de canaux fourni.

Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, vous pouvez configurer le niveau de sécurisation renforcée localement sur chaque ordinateur.

Si HardeningLevel a la valeur Strict, toute demande qui ne contient pas un jeton de liaison de canaux valide est rejetée.

Si HardeningLevel a la valeur Détendu (valeur par défaut), toute demande qui contient un jeton de liaison de canaux non valide est rejetée. En revanche, une demande ne contenant aucun jeton de liaison de canaux est acceptée (mais elle n’est pas protégée contre les attaques par transfert d’informations d’identification).

Si HardeningLevel a la valeur Aucun, toutes les demandes sont acceptées (mais elles ne sont pas protégées contre les attaques par transfert d’informations d’identification).

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WinRM\Service
Value name
CBTHardeningLevelStatus
StateValue written
Enablednot defined in the ADMX (see the options below)
Disablednot defined in the ADMX (see the options below)

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

The ADMX does not specify the value written when enabled; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled). The commands below use 1/0 as an assumption.

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: WindowsRemoteManagement/CBTHardeningLevel_1
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'CBTHardeningLevelStatus' -Value 1 -Type DWord  # assumed value (not defined in the ADMX)
# Hardening Level
# Possible options:
#   None = None
#   Relaxed = Relaxed
#   Strict = Strict
Set-ItemProperty -Path $k -Name 'CbtHardeningLevel' -Value 'Relaxed' -Type String

Disable

# Disable: WindowsRemoteManagement/CBTHardeningLevel_1
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'CBTHardeningLevelStatus' -Value 0 -Type DWord  # assumed value (not defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": WindowsRemoteManagement/CBTHardeningLevel_1
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WinRM\Service'
Remove-ItemProperty -Path $k -Name 'CBTHardeningLevelStatus' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'CbtHardeningLevel' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Hardening Level:Niveau de sécurisation renforcée :HardeningLevelComboDrop-down listenumCbtHardeningLevelREG_SZ
Default choice (UI): #1
LabelValue
NoneREG_SZ = None
RelaxedREG_SZ = Relaxed
StrictREG_SZ = Strict

Availability