← Port Encyclopedia
5986
WinRM-HTTPS
TCP
Windows Critical Risk
WinRM HTTPS — encrypted Windows remote management

🔍 How to Scan Port 5986

nmap -sV -p 5986 target
nmap -sV -sC --script=banner -p 5986 target
nc -zv target 5986

🛡️ Security Considerations

  • Scan port 5986 with nmap -sV to identify the exact service and version
  • If WinRM-HTTPS is not needed, close or firewall this port immediately
  • Check for default credentials if a management interface runs on this port
  • Use searchsploit winrm-https to find known exploits
  • Monitor traffic on port 5986 with Wireshark or tcpdump for anomalies
  • Ensure the service is patched to the latest version to prevent known CVE exploitation