Remediation Steps
Follow the steps below to remediate this finding on Windows.
Disable the Telnet Server Windows feature:
Dism /Online /Disable-Feature /FeatureName:TelnetServerOr via PowerShell:
Disable-WindowsOptionalFeature -Online -FeatureName TelnetServerEnsure Remote Desktop (RDP) or WinRM with HTTPS is used as the encrypted management alternative.
Block port 23 in Windows Firewall:
New-NetFirewallRule -DisplayName "Block Telnet" -Protocol TCP -LocalPort 23 -Direction Inbound -Action Block