CyberHunter
Local dataset, no network
// Directory & authentication

Port 3407: LDAP admin server port

Port 3407 is assigned by IANA to ldap-admin (LDAP admin server port).

3407

How ldap-admin works

Directory & authentication
userdirectoryldap-adminresponse userdirectoryldap-adminresponse

The client proves who it is on port 3407 and gets an answer (or a ticket) it can use with other services.

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

We have no specific security note for port 3407. Its risk depends on the program actually listening on it. General advice for directory & authentication services:

  • Keep directory and authentication services on internal networks.
  • Require signing or TLS and disable anonymous queries.
  • Monitor authentication failures for spraying and brute force.
02 Registry

IANA registry entries for port 3407

ServicePortTransportDescriptionReferenceUpdated
ldap-admin 3407 TCP, UDP LDAP admin server port - 2002-02

// source: IANA service name and port number registry

03 Check it

Which program uses port 3407, and is it reachable?

Linux

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

macOS

sudo lsof -nP -i :3407

Windows (PowerShell)

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

From another machine

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

Block it in the firewall

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

Port 3407 is assigned by IANA to ldap-admin (LDAP admin server port).

Is port 3407 TCP or UDP?

Port 3407 is registered for TCP and UDP.

Is it safe to open port 3407?

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

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

05 Related

Latest vulnerability news

All news