nerdexam
GIAC

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.

Web Application Penetration Testing

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

GPEN question #398 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)
  • A
    12% (6)
  • B
    4% (2)
  • C
    83% (43)
  • D
    2% (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.

AHe should change the PORT: value to match the port used by the non-transparentproxy.

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.

BHe should select the checkbox "use this proxy server for all protocols" for theproxy to function

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.

CHe should change the HTTP PROXY value to 127.0.0.1 since the non-transparentproxy isCorrect

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.

DHe should select NO PROXY instead of MANUAL PROXY CONFIGURATION as thissetting is

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

#web proxy#browser configuration#non-transparent proxy#HTTP proxy

Community Discussion

No community discussion yet for this question.

Full GPEN Practice