Common attacks and weaknesses
- PLAINTEXT listeners without authentication exposing every topic.
Kafka broker.
Applications append events to an ordered log; consumers read it from any position. Encryption is optional: traffic is only protected if TLS is enabled on the server and the client.
Unofficial use. The IANA assignment below differs from what is usually found on this port in practice.
| Service | Port | Transport | Description | Reference | Updated |
|---|---|---|---|---|---|
| XmlIpcRegSvc | 9092 | TCP, UDP | Xml-Ipc Server Reg | - | 2006-01 |
// source: IANA service name and port number registry
Linux
sudo ss -ltnup 'sport = :9092' # process listening on 9092
sudo lsof -nP -i :9092macOS
sudo lsof -nP -i :9092
Windows (PowerShell)
Get-NetTCPConnection -LocalPort 9092 -State Listen | Select LocalAddress, OwningProcess Get-NetUDPEndpoint -LocalPort 9092 netstat -ano | findstr :9092
From another machine
nmap -p 9092 -sV <host> sudo nmap -sU -p 9092 <host> nc -zv <host> 9092
Block it in the firewall
sudo ufw deny 9092/tcp # Linux (ufw) New-NetFirewallRule -DisplayName "Block 9092" -Direction Inbound -LocalPort 9092 -Protocol TCP -Action Block # Windows
Kafka broker.
Port 9092 is registered for TCP and UDP. In practice the service mostly uses TCP.
It is rated 7/10 (high) when exposed to the Internet. PLAINTEXT listeners without authentication exposing every topic. Use SASL with TLS listeners and topic ACLs.
On Linux run "ss -ltnup 'sport = :9092'", on macOS "lsof -nP -i :9092", and on Windows "netstat -ano | findstr :9092" to see the local process. From another machine, "nmap -p 9092 <host>" shows whether it is reachable.