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