Skip to main content

Port Details

Port
1080
Transport
TCP
Service
SOCKS
IANA service name
socks
Range
User port (1024-49151)

Security Exposure

A SOCKS server that offers the no-authentication method lets anyone relay traffic through it, which hides the true source of abuse behind the proxy's address. RFC 1929 notes that username/password authentication sends the password in cleartext. The FBI has warned that criminal proxy services install proxies on compromised end-of-life routers to conduct crimes anonymously.

Hardening

  • +Bind SOCKS proxies to localhost or internal interfaces unless remote use is required.
  • +Disable the no-authentication method and require GSSAPI or username/password over an encrypted tunnel.
  • +Restrict allowed client addresses and destination ports on the proxy.
  • +Replace end-of-life routers and disable remote administration, as the FBI recommends.

Monitoring

Alert on unexpected listeners on TCP 1080 and on hosts relaying large numbers of outbound connections to many destinations. Review proxy logs for client addresses outside approved ranges.

Tools for Auditing and Monitoring SOCKS

Nmap

Free / Commercial
Penetration Testing Tools

Network discovery scanner and port auditor for discovering live hosts, open ports, running services, and OS fingerprints.

LicenseNPSL-0.95 (Nmap Public Source License, not OSI-approved)
PlatformLinux, macOS, Windows

Zeek

Open Source
Network Monitoring Tools

Network security monitoring framework that translates raw packet traffic into structured transaction logs and network events.

LicenseBSD-3-Clause
PlatformLinux, FreeBSD, macOS, OpenBSD

Suricata

Open Source
Network Monitoring Tools

High-speed network intrusion detection, prevention, and security monitoring engine with deep protocol parsing capabilities.

LicenseGPL-2.0-only
PlatformLinux, FreeBSD, macOS, Windows

Frequently Asked Questions

Is SOCKS on port 1080 encrypted?→

No. SOCKS itself does not encrypt traffic, and RFC 1929 notes its username/password method carries the password in cleartext.

Does SOCKS5 support UDP?→

Yes. RFC 1928 defines a UDP ASSOCIATE command, while the client connects to the SOCKS server over TCP, conventionally on port 1080.

Sources

Port assignments from the IANA Service Name and Transport Protocol Port Number Registry. Services can be configured to run on any port, so traffic on port 1080 is not guaranteed to be SOCKS. Exploited-in-the-wild data from the CISA KEV catalog (CC0).