TMAegis
更多 windows 规则

TMA-WIN-RDP-NLA

Ensure Network Level Authentication is required for RDP

高级别 1自动化windows

说明

UserAuthentication=1 requires NLA before a session is created.

检查方式

审计方法: Shell 命令

shell
(Get-ItemProperty 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp').UserAuthentication
预期输出
1

修复方式

修复方法: Shell 命令

shell
Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp' -Name UserAuthentication -Value 1 -Type DWord

属性

操作系统
任意
标签
windowsrdp
参考
CIS Microsoft Windows Server Benchmark - Remote Desktop Services / Security

检查本机

请在您有权审计的机器上运行此命令。扫描为只读操作。

shell
tmaegis scan --target windows