CyberHunter
// IoT & industrial (ICS)

Port 34965: PROFINET secure connection management and key provisioning

Port 34965 is assigned by IANA to profinet-cm-sec (PROFINET secure connection management and key provisioning).

34965

How profinet-cm-sec works

IoT & industrial (ICS)
controllerPLCprofinet-cm-secno authentication controllerPLCprofinet-cm-secno authentication

A controller sends commands to an industrial device on port 34965, which acts on the physical process.

Transport
TCP · UDP
Exposure risk
not rated depends on the program listening
Encryption
Unknownnot stated by the registry
IANA status
Assigned1 registered service
Range
Registered (1024-49151)
01 Security

Is port 34965 dangerous?

We have no specific security note for port 34965. Its risk depends on the program actually listening on it. General advice for iot & industrial (ics) services:

  • Industrial and IoT protocols often have no authentication: never expose them to the Internet.
  • Segment OT networks from IT and use protocol-aware firewalls.
  • Monitor with an ICS-aware intrusion detection system.
02 Registry

IANA registry entries for port 34965

ServicePortTransportDescriptionReferenceUpdated
profinet-cm-sec 34965 TCP, UDP PROFINET secure connection management and key provisioning - 2026-03-10

// source: IANA service name and port number registry

03 Check it

Which program uses port 34965, and is it reachable?

Linux

sudo ss -ltnup 'sport = :34965'      # process listening on 34965
sudo lsof -nP -i :34965

macOS

sudo lsof -nP -i :34965

Windows (PowerShell)

Get-NetTCPConnection -LocalPort 34965 -State Listen | Select LocalAddress, OwningProcess
Get-NetUDPEndpoint -LocalPort 34965
netstat -ano | findstr :34965

From another machine

nmap -p 34965 -sV <host>
sudo nmap -sU -p 34965 <host>
nc -zv <host> 34965

Block it in the firewall

sudo ufw deny 34965/tcp                                         # Linux (ufw)
New-NetFirewallRule -DisplayName "Block 34965" -Direction Inbound -LocalPort 34965 -Protocol TCP -Action Block  # Windows
04 FAQ
What is port 34965 used for?

Port 34965 is assigned by IANA to profinet-cm-sec (PROFINET secure connection management and key provisioning).

Is port 34965 TCP or UDP?

Port 34965 is registered for TCP and UDP.

Is it safe to open port 34965?

It depends on the program that listens on it. Open it only for a service you know and only to the networks that need it. Industrial and IoT protocols often have no authentication: never expose them to the Internet.

How do I check if port 34965 is open?

On Linux run "ss -ltnup 'sport = :34965'", on macOS "lsof -nP -i :34965", and on Windows "netstat -ano | findstr :34965" to see the local process. From another machine, "nmap -p 34965 <host>" shows whether it is reachable.

05 Related