首页/安全/安全加固速查/Credential Guard 凭据保护
主机加固基线90 条

Credential Guard 凭据保护

用虚拟化隔离保护 LSA 机密(NTLM 哈希、Kerberos 票据),让抓取 LSASS 内存获取凭据的手段失效;核查以 SecurityServicesRunning 含 1 为准。

安全加固速查安全更新于 2026-10-12
加固项凭据隔离保护
适用平台Windows 10/11 企业版、Server 2016+(需 VBS)
风险等级高
基线Win32_DeviceGuard.SecurityServicesRunning 包含 1

核查运行状态

核查运行状态
Get-CimInstance -ClassName Win32_DeviceGuard | Select-Object SecurityServicesConfigured, SecurityServicesRunning

启用(注册表方式,需重启)

启用(注册表方式,需重启)
reg add "HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard" /v EnableVirtualizationBasedSecurity /t REG_DWORD /d 1 /f
reg add "HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard" /v RequirePlatformSecurityFeatures /t REG_DWORD /d 1 /f
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LsaCfgFlags /t REG_DWORD /d 1 /f
只配置未运行时 SecurityServicesRunning 为空:常见原因是无 UEFI 安全启动或 VBS 硬件被占用;先在测试 OU 验证兼容性。

易错点

  • LsaCfgFlags=1 为带 UEFI 锁的启用方式(无法远程关闭),=2 为不带锁;生产按组织策略选型
  • 与旧版虚拟化软件/未适配的 NTLM 单点登录方案可能冲突,启用前过一遍兼容清单

数据来源与参考

  • Microsoft Learn:Credential Guard 规划与配置
  • CIS Windows Benchmark:Credential Guard 条目

相关工具

​‌‌​​‌​​​‌‌​‌‌‌‌​‌‌​​​‌‌​‌‌‌​​‌‌​​‌​‌‌‌​​‌‌‌​​​‌​‌‌​‌​​‌​‌‌‌​​​‌​‌‌​‌​​‌​‌‌​​​‌‌​‌‌‌​‌​​​‌‌​‌‌‌‌​​‌​‌‌‌​​‌‌​​​‌‌​‌‌​‌‌‌‌​‌‌​‌‌​‌