Port Reference

+ Palo Alto App-IDs

Search by port number or service name. App-IDs shown for policy building.

Port 5985 · WinRM HTTP

Port 5985 is WinRM HTTP, TCP.

TCP
medium risk
App-IDmsrpc-base

Windows Remote Management over HTTP — used by PowerShell remoting, Invoke-Command, and Ansible.

Palo Alto

Create the service object for this port, then allow the App-ID on it. Restricting the rule to the port's service object keeps the rule working on a non-default port and stops the App-ID matching on other ports. Replace the placeholders with your own rule name and zones.

set service tcp-5985 protocol tcp port 5985
set rulebase security rules <rule-name> from <from-zone> to <to-zone> source any destination any application msrpc-base service tcp-5985 action allow

Risk and exposure

Rated medium risk. Restrict this port to the sources that need it and keep the service patched; avoid exposing it to the whole internet unless the service is meant to be public.

Check it

  • Linux ss -tlnp | grep :5985
  • PowerShell Test-NetConnection <host> -Port 5985
  • nmap nmap -p 5985 <host>

Related ports

← Search all ports