CyberHunter
Local dataset, no network
// Other services

Port 120: CFDPTKT

Port 120 is assigned by IANA to cfdptkt (CFDPTKT).

120

How cfdptkt works

Other services
client:120cfdptktresponse client:120cfdptktresponse

The client sends a request to port 120 and the cfdptkt 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
Well-known (0-1023)
01 Security

Is port 120 dangerous?

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

  • Close the port if nothing on the host needs it.
  • Identify the process that listens on it (commands below) before opening it in a firewall.
  • Expose a service only to the networks that use it.
02 Registry

IANA registry entries for port 120

ServicePortTransportDescriptionReferenceUpdated
cfdptkt 120 TCP, UDP CFDPTKT - -

// source: IANA service name and port number registry

03 Check it

Which program uses port 120, and is it reachable?

Linux

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

macOS

sudo lsof -nP -i :120

Windows (PowerShell)

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

From another machine

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

Block it in the firewall

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

Port 120 is assigned by IANA to cfdptkt (CFDPTKT).

Is port 120 TCP or UDP?

Port 120 is registered for TCP and UDP.

Is it safe to open port 120?

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. Close the port if nothing on the host needs it.

How do I check if port 120 is open?

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

05 Related

Latest vulnerability news

All news