GPEN · Question #398
A junior penetration tester at your firm is using a non-transparent proxy for the first time to test a web server. He sees the web site In his browser but nothing shows up In the proxy. He tells you…
The correct answer is C. He should change the HTTP PROXY value to 127.0.0.1 since the non-transparentproxy is. A non-transparent proxy requires explicit browser configuration pointing to its host address. Since the proxy is installed locally on the tester's machine, the browser must be directed to 127.0.0.1.
Question
A junior penetration tester at your firm is using a non-transparent proxy for the first time to test a web server. He sees the web site In his browser but nothing shows up In the proxy. He tells you that he just installed the non-transparent proxy on his computer and didn't change any defaults. After verifying the proxy is running, you ask him to open up his browser configuration, as shown in the figure, which of the following recommendations will correctly allow him to use the transparent proxy with his browser?
Exhibit
Options
- AHe should change the PORT: value to match the port used by the non-transparentproxy.
- BHe should select the checkbox "use this proxy server for all protocols" for theproxy to function
- CHe should change the HTTP PROXY value to 127.0.0.1 since the non-transparentproxy is
- DHe should select NO PROXY instead of MANUAL PROXY CONFIGURATION as thissetting is
How the community answered
(52 responses)- A12% (6)
- B4% (2)
- C83% (43)
- D2% (1)
Why each option
A non-transparent proxy requires explicit browser configuration pointing to its host address. Since the proxy is installed locally on the tester's machine, the browser must be directed to 127.0.0.1.
Changing the port value alone is insufficient if the proxy host address field is still blank or set to a wrong value, so traffic will still not route through the proxy.
The 'use this proxy server for all protocols' checkbox only controls which protocols are proxied, not whether the proxy can be reached - a missing or incorrect proxy address means no traffic reaches the proxy regardless of that setting.
A non-transparent (explicit) proxy does not intercept traffic automatically - the browser must be told exactly where to send proxied requests. Because the proxy is installed on the same machine as the browser, the HTTP Proxy address must be set to 127.0.0.1 (the loopback address for localhost) so the browser routes requests through it. Without this address configured, the browser sends requests directly to the web server, completely bypassing the proxy.
Selecting 'No Proxy' explicitly disables proxy use in the browser, causing all traffic to bypass the proxy entirely and defeating the purpose of the penetration test.
Concept tested: Non-transparent proxy browser localhost configuration
Source: https://support.mozilla.org/en-US/kb/connection-settings-firefox
Topics
Community Discussion
No community discussion yet for this question.
