CyberHunter
// Databases & caches

Port 7982: Spotlight on SQL Server Desktop Agent

Port 7982 is assigned by IANA to sossd-agent (Spotlight on SQL Server Desktop Agent), sossd-disc (Spotlight on SQL Server Desktop Agent Discovery).

7982

How sossd-agent works

Databases & caches
app:7982sossd-agent app:7982sossd-agent

The application sends a SQL query to the sossd-agent server on port 7982, which returns rows from its tables.

Transport
TCP · UDP
Exposure risk
not rated depends on the program listening
Encryption
Unknownnot stated by the registry
IANA status
Assigned2 registered services
Range
Registered (1024-49151)
01 Security

Is port 7982 dangerous?

We have no specific security note for port 7982. Its risk depends on the program actually listening on it. General advice for databases & caches services:

  • Bind the service to localhost or a private network, never to a public address.
  • Enable authentication, use per-application accounts and require TLS.
  • Watch for exposed Docker ports: publish them on 127.0.0.1 only.
02 Registry

IANA registry entries for port 7982

ServicePortTransportDescriptionReferenceUpdated
sossd-agent 7982 TCP Spotlight on SQL Server Desktop Agent - 2010-09-13
sossd-disc 7982 UDP Spotlight on SQL Server Desktop Agent Discovery - 2010-09-13

// source: IANA service name and port number registry

03 Check it

Which program uses port 7982, and is it reachable?

Linux

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

macOS

sudo lsof -nP -i :7982

Windows (PowerShell)

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

From another machine

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

Block it in the firewall

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

Port 7982 is assigned by IANA to sossd-agent (Spotlight on SQL Server Desktop Agent), sossd-disc (Spotlight on SQL Server Desktop Agent Discovery).

Is port 7982 TCP or UDP?

Port 7982 is registered for TCP and UDP.

Is it safe to open port 7982?

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. Bind the service to localhost or a private network, never to a public address.

How do I check if port 7982 is open?

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

05 Related