TMAegis
Thêm quy tắc cho windows

TMA-WIN-RDP-NLA

Ensure Network Level Authentication is required for RDP

CaoCấp 1Tự độngwindows

Mô tả

UserAuthentication=1 requires NLA before a session is created.

Cách kiểm tra

Phương pháp kiểm tra: Lệnh shell

shell
(Get-ItemProperty 'HKLM:\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp').UserAuthentication
Đầu ra mong đợi
1

Cách khắc phục

Phương pháp khắc phục: Lệnh shell

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

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
windowsrdp
Tham chiếu
CIS Microsoft Windows Server Benchmark - Remote Desktop Services / Security

Kiểm tra máy này

Chạy lệnh này trên máy bạn được phép kiểm tra. Lần quét chỉ ở chế độ đọc.

shell
tmaegis scan --target windows