Open in the explorer

Configure validation of ROCA-vulnerable WHfB keys during authentication

Configurer la validation de clés WHfB vulnérables au ROCA lors de l’authentification

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › System › Security Account Manager FR: Configuration ordinateur › Stratégies › Modèles d'administration › Système › Gestionnaire de comptes de sécurité
Supported on
At least Windows Vista FR: Au minimum Windows Vista
ADMX file
sam.admx
Internal name
sam/SamNGCKeyROCAValidation

Explanation

This policy setting allows you to configure how domain controllers handle Windows Hello for Business (WHfB) keys that are vulnerable to the "Return of Coppersmith's attack" (ROCA) vulnerability.

For more information on the ROCA vulnerability, please see:

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-15361

https://en.wikipedia.org/wiki/ROCA_vulnerability

If you enable this policy setting the following options are supported:

Ignore: during authentication the domain controller will not probe any WHfB keys for the ROCA vulnerability.

Audit: during authentication the domain controller will emit audit events for WHfB keys that are subject to the ROCA vulnerability (authentications will still succeed).

Block: during authentication the domain controller will block the use of WHfB keys that are subject to the ROCA vulnerability (authentications will fail).

This setting only takes effect on domain controllers.

If not configured, domain controllers will default to using their local configuration. The default local configuration is Audit.

A reboot is not required for changes to this setting to take effect.

Note: to avoid unexpected disruptions this setting should not be set to Block until appropriate mitigations have been performed, for example patching of vulnerable TPMs.

More information is available at https://go.microsoft.com/fwlink/?linkid=2116430.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de configurer la façon dont les contrôleurs de domaine gèrent les clés Windows Hello Entreprise (WHfB) qui sont sensibles à la vulnérabilité au «Retour des attaques de Coppersmith» (ROCA).

Pour plus d’informations sur la vulnérabilité au ROCA, voir:

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-15361

https://en.wikipedia.org/wiki/ROCA_vulnerability

Si vous activez ce paramètre de stratégie, les options suivantes sont prises en charge:

Ignorer: au cours de l’authentification, le contrôleur de domaine ne doit pas détecter les clés WHfB pour la vulnérabilité au ROCA.

Audit: lors de l’authentification, le contrôleur de domaine présente des événements d’audit pour les clés WHfB qui sont soumises à la vulnérabilité du ROCA (les authentifications réussissent).

Bloquer: pendant l’authentification, le contrôleur de domaine bloque l’utilisation des clés WHfB qui sont sujettes à la vulnérabilité du ROCA (les authentifications échouent).

Ce paramètre ne prend effet que sur les contrôleurs de domaine.

Si cette option n’est pas configurée, les contrôleurs de domaine utilisent leur configuration locale par défaut. La configuration locale par défaut est Audit.

Un redémarrage n’est pas nécessaire pour que les modifications apportées à ce paramètre prennent effet.

Remarque: pour éviter des perturbations inattendues, ce paramètre ne doit pas être défini sur Bloquer tant que les atténuations appropriées n’ont pas été effectuées (par exemple, mise à jour corrective des Modules de plateforme sécurisée vulnérables).

Plus d’informations sont disponibles sur https://go.microsoft.com/fwlink/?linkid=2116430.

Registry

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\SAM
Value name
not defined in the ADMX

Enable / disable values: not 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.

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: sam/SamNGCKeyROCAValidation
$k = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\SAM'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Options for handling ROCA-vulnerable WHfB keys
# Possible options:
#   Ignore ROCA-vulnerable WHfB keys = 0
#   Audit ROCA-vulnerable WHfB keys on use = 1
#   Block ROCA-vulnerable WHfB keys on use = 2
Set-ItemProperty -Path $k -Name 'SamNGCKeyROCAValidation' -Value 2 -Type DWord

Disable

# Disable: sam/SamNGCKeyROCAValidation
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": sam/SamNGCKeyROCAValidation
$k = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System\SAM'
Remove-ItemProperty -Path $k -Name 'SamNGCKeyROCAValidation' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Options for handling ROCA-vulnerable WHfB keys:Options de gestion des clés WHfB vulnérables au ROCASamNGCKeyROCAValidation_SettingsDrop-down listenumSamNGCKeyROCAValidationREG_DWORD
Default choice (UI): #2
LabelValue
Ignore ROCA-vulnerable WHfB keysREG_DWORD = 0
Audit ROCA-vulnerable WHfB keys on useREG_DWORD = 1
Block ROCA-vulnerable WHfB keys on useREG_DWORD = 2

Availability

Windows 10

— 22H2— 21H2— 21H1— 20H2— 2004— 1909— 1903— 1809— 1803— 1709— 1703— 1607— 1511— 1507

Windows Server