Sécurité réseau : Restreindre NTLM : Auditer le trafic NTLM entrant : valeur de Registre AuditReceivingNTLMTrafficOrdinateurHKLM\System\CurrentControlSet\Control\Lsa\MSV1_0
- Catégorie
- Paramètres de sécurité › Stratégies locales › Options de sécurité
- Étendue
- Configuration ordinateur
- Source
- Windows 11 (version 26H2 · 26300.9457)
Registre
AuditReceivingNTLMTraffic
REG_DWORDOrdinateurHKLM\System\CurrentControlSet\Control\Lsa\MSV1_0 Clé actuelle
- Valeur si activée
- Dépend de la valeur de l'option
- Élément
- Sécurité réseau : Restreindre NTLM : Auditer le trafic NTLM entrant
| Entrée | Valeur stockée |
|---|---|
| Désactiver | 0 |
| Activer l’audit pour les comptes de domaine | 1 |
| Activer l’audit pour tous les comptes | 2 |
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa\MSV1_0] ; Options (en utiliser une seule) ; Désactiver "AuditReceivingNTLMTraffic"=dword:00000000 ; Activer l’audit pour les comptes de domaine "AuditReceivingNTLMTraffic"=dword:00000001 ; Activer l’audit pour tous les comptes "AuditReceivingNTLMTraffic"=dword:00000002
CMD
:: Options (en utiliser une seule) :: Désactiver reg add "HKLM\System\CurrentControlSet\Control\Lsa\MSV1_0" /v "AuditReceivingNTLMTraffic" /t REG_DWORD /d 0 /f :: Activer l’audit pour les comptes de domaine reg add "HKLM\System\CurrentControlSet\Control\Lsa\MSV1_0" /v "AuditReceivingNTLMTraffic" /t REG_DWORD /d 1 /f :: Activer l’audit pour tous les comptes reg add "HKLM\System\CurrentControlSet\Control\Lsa\MSV1_0" /v "AuditReceivingNTLMTraffic" /t REG_DWORD /d 2 /f
PowerShell
# Commun : créer la clé New-Item -Path 'HKLM:\System\CurrentControlSet\Control\Lsa\MSV1_0' -Force | Out-Null # Options (en utiliser une seule) # Désactiver New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Lsa\MSV1_0' -Name 'AuditReceivingNTLMTraffic' -PropertyType DWord -Value 0 -Force | Out-Null # Activer l’audit pour les comptes de domaine New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Lsa\MSV1_0' -Name 'AuditReceivingNTLMTraffic' -PropertyType DWord -Value 1 -Force | Out-Null # Activer l’audit pour tous les comptes New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Lsa\MSV1_0' -Name 'AuditReceivingNTLMTraffic' -PropertyType DWord -Value 2 -Force | Out-Null