DCE/RPC endpoint mapper: Windows clients ask it which dynamic port (49152-65535) a service such as WMI, DCOM or AD replication listens on.
DCE/RPC endpoint mapper: Windows clients ask it which dynamic port (49152-65535) a service such as WMI, DCOM or AD replication listens on.
Do not expose to the internet. Block at the perimeter. It exposes a lot of Windows attack surface and was the vector of the Blaster worm. Inside the network, limit it to the hosts that need it.
sudo ss -tlnp 'sport = :135'sudo ss -ulnp 'sport = :135'sudo lsof -nP -i :135sudo netstat -tlnp | grep ':135 'netstat -ano | findstr :135Get-NetTCPConnection -LocalPort 135 -State Listen | Select LocalAddress,OwningProcessnc -vz -w 5 HOST 135Test-NetConnection HOST -Port 135nc -vzu -w 5 HOST 135sudo ufw deny 135/tcpsudo iptables -A INPUT -p tcp --dport 135 -j DROPsudo nft add rule inet filter input tcp dport 135 dropNew-NetFirewallRule -DisplayName 'Block TCP 135' -Direction Inbound -Protocol TCP -LocalPort 135 -Action Blocksudo ufw deny 135/udpsudo iptables -A INPUT -p udp --dport 135 -j DROPsudo nft add rule inet filter input udp dport 135 dropNew-NetFirewallRule -DisplayName 'Block UDP 135' -Direction Inbound -Protocol UDP -LocalPort 135 -Action BlockAll port numbers · Open port checker
Assignment data: IANA port number registry (public domain), retrieved 2026-11-10.