← Port Encyclopedia
540
UUCP
TCP
System Low Risk
Unix-to-Unix Copy — legacy file transfer between Unix systems

🔍 How to Scan Port 540

nmap -sV -p 540 target
nmap -sV -sC --script=banner -p 540 target
nc -zv target 540

🛡️ Security Considerations

  • Scan port 540 with nmap -sV to identify the exact service and version
  • If UUCP is not needed, close or firewall this port immediately
  • Check for default credentials if a management interface runs on this port
  • Use searchsploit uucp to find known exploits
  • Monitor traffic on port 540 with Wireshark or tcpdump for anomalies
  • Ensure the service is patched to the latest version to prevent known CVE exploitation