Port 1080 is the SOCKS proxy port. SOCKS proxies relay TCP connections at the network layer – they work with any protocol (HTTP, SMTP, SSH) without understanding the application data. SOCKS5 (RFC 1928) adds UDP relay and authentication. Open SOCKS proxies on port 1080 are heavily abused for anonymizing malicious traffic.
Port Number
1080
Protocol
TCP
Service
SOCKS Proxy Protocol
Range
IANA Registered (1024–49151)
Test SOCKS5 proxy connectivity (shows the proxy's external IP)
curl --socks5 localhost:1080 http://ifconfig.meCheck if target is an open SOCKS proxy (security audit)
nmap -p 1080 --script socks-open-proxy targetIdentify which process is running a SOCKS proxy locally
ss -tlnp | grep 1080Create SSH-based SOCKS5 proxy through bastion host (secure alternative)
ssh -D 1080 -N -f user@bastionssh -D 1080 user@host
curl --socks5 127.0.0.1:1080 http://example.com
proxychains -f /etc/proxychains.conf nmap targetSOCKS (Socket Secure) was created by David Koblas at MIPS Computer Systems in 1990. SOCKS4 (1996) supported TCP proxying. SOCKS5 (RFC 1928, 1996) added UDP support, authentication (username/password, GSSAPI), and DNS resolution on the proxy side. Port 1080 was the conventional default (not IANA-registered for SOCKS specifically). The protocol gained renewed relevance with Tor (SOCKS on port 9050), Shadowsocks (China firewall circumvention), and SSH dynamic forwarding (-D flag).
SOCKS4 vs SOCKS5 – what is the difference?
SOCKS4: TCP only, no authentication, client resolves DNS (leaks destinations), no IPv6. SOCKS4a: adds proxy-side DNS resolution (client sends hostname). SOCKS5 (RFC 1928): TCP + UDP, authentication methods (none, user/pass, GSSAPI), proxy-side DNS, IPv6 support. Always use SOCKS5. SOCKS4 leaks DNS queries to the local network, defeating the purpose of proxying for privacy.
How do I detect unauthorized SOCKS proxies on my network?
1. Scan for common ports: nmap -p 1080,1081,9050,7890,8388 --open <subnet>. 2. Monitor for outbound connections on unusual ports (Chisel often uses 8080 or random high ports). 3. Look for SSH tunnels: ps aux | grep 'ssh.*-D' on servers. 4. Network traffic analysis: SOCKS5 handshake starts with 0x05 (version byte) – DPI/IDS can detect it. 5. EDR: alert on Chisel, EarthWorm, revsocks, or frp binaries.