TMAegis
More rules for windows

Windows (desktop and server)

TMA-WIN-RDP-NLA

Ensure Network Level Authentication is required for RDP

HighLevel 1Automatedwindows

Description

UserAuthentication=1 requires NLA before a session is created.

How it is checked

Audit method: Shell command

shell
(Get-ItemProperty 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp').UserAuthentication
Expected output
1

How it is fixed

Fix method: Shell command

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

Properties

Operating systems
Any
Tags
windowsrdp
Reference
CIS Microsoft Windows Server Benchmark - Remote Desktop Services / Security

Check this host

Run this on a machine you are allowed to audit. The scan is read-only.

shell
tmaegis scan --target windows