1080 - Pentesting Socks

Basic Information

SOCKS is a protocol used for transferring data between a client and server through a proxy. The fifth version, SOCKS5, adds an optional authentication feature, allowing only authorized users to access the server. It primarily handles the proxying of TCP connections and the forwarding of UDP packets, operating at the session layer (Layer 5) of the OSI model.

Default Port: 1080

Enumeration

Authentication Check

nmap -p 1080 <ip> --script socks-auth-info

Brute Force

Basic usage

nmap --script socks-brute -p 1080 <ip>

Advanced usage

Output

Tunneling and Port Forwarding

Basic proxychains usage

Setup proxy chains to use socks proxy

Edit the bottom and add your proxy

With auth

Last updated