CyberHunter
Local dataset, no network
// Voice & chat

Port 5004: RTP media data

Port 5004 is assigned by IANA to avt-profile-1 (RTP media data).

5004

How avt-profile-1 works

Voice & chat
callercalleeavt-profile-1 callercalleeavt-profile-1

Port 5004 sets up the call (who calls whom), then the voice travels as a stream of audio packets.

Transport
TCP · UDP · DCCP
Exposure risk
not rated depends on the program listening
Encryption
Unknownnot stated by the registry
IANA status
Assigned1 registered service
Range
Registered (1024-49151)
Category
Voice & chat
01 Security

Is port 5004 dangerous?

We have no specific security note for port 5004. Its risk depends on the program actually listening on it. General advice for voice & chat services:

  • Use strong credentials and TLS for signalling.
  • Rate-limit registrations to stop extension scanning and toll fraud.
  • Alert on unexpected chat protocols leaving servers (possible command and control).
02 Registry

IANA registry entries for port 5004

ServicePortTransportDescriptionReferenceUpdated
avt-profile-1 5004 TCP, UDP, DCCP RTP media data RFC 3551, RFC 4571 -

// source: IANA service name and port number registry

03 Check it

Which program uses port 5004, and is it reachable?

Linux

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

macOS

sudo lsof -nP -i :5004

Windows (PowerShell)

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

From another machine

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

Block it in the firewall

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

Port 5004 is assigned by IANA to avt-profile-1 (RTP media data).

Is port 5004 TCP or UDP?

Port 5004 is registered for TCP and UDP and DCCP.

Is it safe to open port 5004?

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. Use strong credentials and TLS for signalling.

How do I check if port 5004 is open?

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

05 Related

Latest vulnerability news

All news