CyberHunter
// Network services

Port 7022: CT Discovery Protocol

Port 7022 is assigned by IANA to ctdp (CT Discovery Protocol).

7022

How ctdp works

Network services
client:7022ctdpresponse client:7022ctdpresponse

The client sends a request to port 7022 and the ctdp service answers.

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 7022 dangerous?

We have no specific security note for port 7022. Its risk depends on the program actually listening on it. General advice for network services services:

  • Answer only the networks that need the service (no open resolvers, relays or reflectors).
  • UDP services can be abused for DDoS amplification: rate-limit or block them at the edge.
  • Disable legacy test services that have no use in production.
02 Registry

IANA registry entries for port 7022

ServicePortTransportDescriptionReferenceUpdated
ctdp 7022 TCP, UDP CT Discovery Protocol - 2005-06

// source: IANA service name and port number registry

03 Check it

Which program uses port 7022, and is it reachable?

Linux

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

macOS

sudo lsof -nP -i :7022

Windows (PowerShell)

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

From another machine

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

Block it in the firewall

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

Port 7022 is assigned by IANA to ctdp (CT Discovery Protocol).

Is port 7022 TCP or UDP?

Port 7022 is registered for TCP and UDP.

Is it safe to open port 7022?

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. Answer only the networks that need the service (no open resolvers, relays or reflectors).

How do I check if port 7022 is open?

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

05 Related