- Keep directory and authentication services on internal networks.
- Require signing or TLS and disable anonymous queries.
- Monitor authentication failures for spraying and brute force.
Port 5318: PKIX Certificate Management using CMS (CMC)
Port 5318 is assigned by IANA to pkix-cmc (PKIX Certificate Management using CMS (CMC)).
How pkix-cmc works
Directory & authenticationThe client proves who it is on port 5318 and gets an answer (or a ticket) it can use with other services.
- Transport
- TCP
- Exposure risk
- not rated depends on the program listening
- Encryption
- Unknownnot stated by the registry
- IANA status
- Assigned1 registered service
- Range
- Registered (1024-49151)
- Category
- Directory & authentication
Is port 5318 dangerous?
We have no specific security note for port 5318. Its risk depends on the program actually listening on it. General advice for directory & authentication services:
IANA registry entries for port 5318
| Service | Port | Transport | Description | Reference | Updated |
|---|---|---|---|---|---|
| pkix-cmc | 5318 | TCP | PKIX Certificate Management using CMS (CMC) | RFC 10003 | 2026-02-13 |
| - | 5318 | - | Reserved | - | - |
// source: IANA service name and port number registry
Which program uses port 5318, and is it reachable?
Linux
sudo ss -ltnup 'sport = :5318' # process listening on 5318
sudo lsof -nP -i :5318macOS
sudo lsof -nP -i :5318
Windows (PowerShell)
Get-NetTCPConnection -LocalPort 5318 -State Listen | Select LocalAddress, OwningProcess Get-NetUDPEndpoint -LocalPort 5318 netstat -ano | findstr :5318
From another machine
nmap -p 5318 -sV <host> nc -zv <host> 5318
Block it in the firewall
sudo ufw deny 5318/tcp # Linux (ufw) New-NetFirewallRule -DisplayName "Block 5318" -Direction Inbound -LocalPort 5318 -Protocol TCP -Action Block # Windows
What is port 5318 used for?
Port 5318 is assigned by IANA to pkix-cmc (PKIX Certificate Management using CMS (CMC)).
Is port 5318 TCP or UDP?
Port 5318 is registered for TCP.
Is it safe to open port 5318?
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. Keep directory and authentication services on internal networks.
How do I check if port 5318 is open?
On Linux run "ss -ltnup 'sport = :5318'", on macOS "lsof -nP -i :5318", and on Windows "netstat -ano | findstr :5318" to see the local process. From another machine, "nmap -p 5318 <host>" shows whether it is reachable.