# SOCKS - SOCKS는 방화벽 제한이 존재하는 상황에서 서버와 통신할 수 있도록 도와주는 프로토콜. - 일반적인 경우에는 클라이언트가 서비스에 직접 연결을 시도하지만, SOCKS의 경우에는 **SOCKS 클라이언트가 먼저 SOCKS 서버 (공격자가 제어하는 서버)에 연결을 시도한다.** - 이 연결이 설정되면, SOCKS 서버가 클라이언트를 대신해 네트워크 트래픽을 전달할 수 있다. # Proxychains - Proxychains can often slow down a connection. Nmap scan through it is especially slow. - `sock4 <IP> <PORT>` default port is 9050 - `sock5 <IP> <PORT>` - The master config file is located at `/etc/proxychains.conf` - The locations (in order) are: - The current directory `./proxychains.conf` - `~/.proxychains/proxychains.conf` - `/etc/proxychains.conf` # Note - **When scanning through proxychains, you can only use TCP scans (`sT`)** - ICMP Echo packets (ping requests) will also not work through the proxy, so use `-Pn` - It will be extremely slow ```bash proxychains nc <IP> ```