Configure validation of ROCA-vulnerable WHfB keys during authentication
Configurer la validation de clés WHfB vulnérables au ROCA lors de l’authentification
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.
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 DWordDisable
# 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 SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Options for handling ROCA-vulnerable WHfB keys:Options de gestion des clés WHfB vulnérables au ROCASamNGCKeyROCAValidation_Settings | Drop-down listenum | SamNGCKeyROCAValidation | REG_DWORD | Default choice (UI): #2
|