← Port Encyclopedia
548
AFP
TCP
File Transfer Medium Risk
Apple Filing Protocol — macOS file sharing, now largely replaced by SMB

🔍 How to Scan Port 548

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

🛡️ Security Considerations

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