CyberHunter
Local dataset, no network
// Network services

Port 3954: AD Replication RPC

Port 3954 is assigned by IANA to adrep (AD Replication RPC).

3954

How adrep works

Network services
client:3954adrepresponse client:3954adrepresponse

The client sends a request to port 3954 and the adrep 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 3954 dangerous?

We have no specific security note for port 3954. 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 3954

ServicePortTransportDescriptionReferenceUpdated
adrep 3954 TCP, UDP AD Replication RPC - 2008-03-26

// source: IANA service name and port number registry

03 Check it

Which program uses port 3954, and is it reachable?

Linux

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

macOS

sudo lsof -nP -i :3954

Windows (PowerShell)

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

From another machine

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

Block it in the firewall

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

Port 3954 is assigned by IANA to adrep (AD Replication RPC).

Is port 3954 TCP or UDP?

Port 3954 is registered for TCP and UDP.

Is it safe to open port 3954?

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 3954 is open?

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

05 Related

Latest vulnerability news

All news