CyberHunter
Local dataset, no network
// File transfer & sharing

Port 5120: Barracuda Backup Protocol

Port 5120 is assigned by IANA to barracuda-bbs (Barracuda Backup Protocol).

5120

How barracuda-bbs works

File transfer & sharing
client:51201/32/33/3barracuda-bbs client:51201/32/33/3barracuda-bbs

Files are sent over port 5120 in pieces and reassembled on the other side.

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

We have no specific security note for port 5120. Its risk depends on the program actually listening on it. General advice for file transfer & sharing services:

  • Prefer encrypted protocols (SFTP, FTPS, SMB 3 with encryption).
  • Disable anonymous access and restrict shares or exports to known hosts.
  • Never publish file sharing protocols to the Internet.
02 Registry

IANA registry entries for port 5120

ServicePortTransportDescriptionReferenceUpdated
barracuda-bbs 5120 TCP, UDP Barracuda Backup Protocol - 2013-04-05

// source: IANA service name and port number registry

03 Check it

Which program uses port 5120, and is it reachable?

Linux

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

macOS

sudo lsof -nP -i :5120

Windows (PowerShell)

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

From another machine

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

Block it in the firewall

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

Port 5120 is assigned by IANA to barracuda-bbs (Barracuda Backup Protocol).

Is port 5120 TCP or UDP?

Port 5120 is registered for TCP and UDP.

Is it safe to open port 5120?

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. Prefer encrypted protocols (SFTP, FTPS, SMB 3 with encryption).

How do I check if port 5120 is open?

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

05 Related

Latest vulnerability news

All news