Exam GCIH All QuestionsBrowse all questions from this exam
Question 174

Which of the following SSH commands will start a SOCKS proxy server on the local system?

    Correct Answer: A

    The SSH command that will start a SOCKS proxy server on the local system is 'ssh -D 2000 [email protected]'. The -D option specifies a local application-level port forwarding, which means it will set up a SOCKS proxy on the given port ('2000' in this case). This command allows the local system to use the specified port to relay traffic through the SSH connection as a proxy server.

Discussion
korruptsystemsOption: A

Correct answer: A The -D argument, followed by an arbitrary port number greater than 1024 (unless the SSH client runs as root; otherwise, any port number can be used), will start a SOCKS proxy server on the attacker system, allowing them to use any SOCKS proxy-aware client to communicate through the SSH tunnel to a destination target system. Source: 504.5 Evasive and Post-Exploitation Attacks p.21