Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Free GIAC Certified Penetration Tester GPEN Exam Questions

Last updated: · 14 practice questions with answers and explanations

Page: 1 / 27 Total 391 questions

Want more questions? Get Premium Access.

Question 1

New Single answer

Topic: Penetration Test Planning

Skill tested: Prioritize rules of engagement, authorization boundaries, and safe test execution.

A consulting team is preparing an internal penetration test for a manufacturer. The signed authorization covers two corporate subnets and specifies a testing window, but the discovery phase identifies an externally hosted payroll portal operated by a third party. The portal is reachable from the corporate network and appears to use the same identity provider as the in-scope systems. The client wants the team to assess whether an employee account can reach sensitive payroll data, but the authorization does not mention the portal or the provider. What is the best next action?

Correct Answer: D. Pause testing of the portal and obtain explicit written authorization and scope clarification covering the asset and any third-party dependencies.
Explanation:

Reachability from an authorized network does not make a third-party-hosted service part of the approved scope. The tester must confirm both the target asset and any relevant provider authorization before active testing. A client request made informally does not amend the signed rules of engagement. Using a low-privilege account or limiting activity to a password spray still constitutes testing. Passive reconnaissance may be lower impact, but it does not resolve the authorization boundary or permission to interact with the service.

Question 2

New Single answer

Topic: Reconnaissance

Skill tested: Correlate public information sources to identify an organization's external attack surface.

During an authorized assessment of a regional engineering firm, the team has been given only the company name and primary website. The firm recently rebranded, and its current web presence does not list all subsidiaries. Before performing active scans, the lead wants to develop a defensible list of likely owned domains and public address ranges while minimizing unnecessary contact with the organization. Which approach is most appropriate?

Correct Answer: D. Correlate passive DNS, certificate transparency data, public registration records, and search-engine results, then validate ownership with the client before active scanning.
Explanation:

Passive sources can reveal historical and current domains, certificates, DNS relationships, and public ranges without immediately generating traffic to potentially unrelated systems. Correlation matters because rebrands, subsidiaries, shared hosting, and stale records can produce false associations; client confirmation should precede active testing. A broad scan risks touching third parties and exceeds the evidence available. robots.txt is not an authoritative asset inventory, while email suffixes alone do not establish network ownership or authorization.

Question 3

New Multiple answers

Topic: Scanning and Host Discovery

Skill tested: Select discovery probes that identify live hosts while accounting for filtering and network position.

A tester is mapping an approved internal IPv4 segment from a workstation on the same Ethernet LAN. Many Windows endpoints ignore ICMP echo requests, and the network team confirms that ARP traffic is permitted. The assessment must identify responsive systems without treating filtered hosts as definitely offline. Which two actions best meet the requirement? Select TWO.

Correct Answer: D. Use TCP SYN probes to selected commonly exposed ports and interpret missing responses as inconclusive where filtering may apply.; E. Use ARP requests to discover hosts on the directly connected subnet.
Explanation:

On a directly connected Ethernet segment, ARP discovery is effective even when hosts do not answer ICMP echo. TCP SYN probes to likely service ports can uncover additional live systems, but filtering or host firewall behavior means a lack of response is not proof that a host is absent. ICMP-only discovery would miss the stated Windows endpoints. A single UDP port is unreliable because silence is common for both open and filtered ports, and successful TCP connections alone miss hosts without an exposed service.

Question 4

New Single answer

Topic: Vulnerability Scanning

Skill tested: Validate scanner findings against authenticated evidence and application context.

An authenticated vulnerability scan reports a critical remote-code-execution issue on a production application server. The finding is based on a detected version string, but the server administrator says the vendor backported the security fix without changing that string. The scan window allows no disruptive proof-of-concept testing, and the final report must distinguish verified vulnerabilities from scanner inferences. What should the assessor do next?

Correct Answer: A. Record the finding as unverified and corroborate patch status through safe package, build, or vendor advisory evidence before assigning a confirmed status.
Explanation:

Version-based checks can produce false positives when vendors backport fixes while retaining an upstream version string. Safe corroboration - such as installed package revision, vendor patch records, or an approved configuration review - can resolve the discrepancy without disruptive exploitation. Reporting the issue as confirmed solely from the banner overstates evidence. An aggressive exploit test violates the stated safety constraint. Conversely, backports are possible but not guaranteed, so the finding should not simply be discarded without validation.

Question 5

New Single answer

Topic: Password Formats and Hashes

Skill tested: Distinguish salted adaptive password hashes from fast unsalted digests.

A Linux application stores account credentials in a database. During a review, the team finds that passwords are transformed with SHA-256 and a unique random salt before storage, but the application performs only one digest operation. Management argues that SHA-256 is a cryptographic hash and therefore the stored passwords are adequately protected. The application must remain self-hosted and can tolerate a modest increase in login CPU usage. Which change most directly improves resistance to offline password cracking?

Correct Answer: B. Use a password-hashing function such as Argon2id, bcrypt, or scrypt with per-password salts and appropriately tuned work factors.
Explanation:

A single SHA-256 operation is designed to be fast, which benefits attackers testing many guesses offline. A purpose-built password-hashing function deliberately increases computational or memory cost; a unique salt prevents precomputed tables and makes equal passwords produce different stored values. MD5 is weaker and remains fast. A global salt does not provide the same per-account separation and does not make a fast digest expensive. Reversible encryption introduces key-management risks and is not a substitute for password hashing.

Question 6

New Multiple answers

Topic: Attacking Password Hashes

Skill tested: Choose hash-cracking modes and wordlist transformations that fit acquired hash evidence.

An assessor has written authorization to test a copied set of Windows domain credential hashes obtained during a controlled lab engagement. The hashes are identified as NTLM, and the organization requires the team to estimate whether users chose common seasonal passwords with predictable substitutions. The team has a large wordlist and a GPU-capable cracking system, but no plaintext-password samples. Which two actions are the most appropriate starting strategy? Select TWO.

Correct Answer: C. Select an NTLM-compatible cracking mode and verify the hash format using a small known test before launching the full workload.; E. Apply wordlist rules that generate likely case, digit, and symbol variations, and prioritize likely seasonal patterns.
Explanation:

Correctly identifying the hash type is essential because NTLM is not bcrypt or SHA-1; a wrong mode produces no meaningful results. A small validation run helps detect parsing or mode errors before consuming substantial compute time. Rule-based transformations efficiently test common capitalization, suffix, and seasonal patterns when no plaintext samples are available. Output length does not make different hash algorithms interchangeable. A plain dictionary pass is less suited to the stated predictable variations.

Question 7

New Single answer

Topic: Password Attacks

Skill tested: Select password-guessing tactics that reduce lockout risk and respect authentication controls.

A client authorizes an assessment of a web application's authentication security. The account policy locks an account after five failed attempts, and the client has supplied a list of 800 employee usernames. The team is specifically asked to evaluate whether users choose a small number of common passwords, without causing account lockouts or disrupting service. Which approach is most appropriate?

Correct Answer: D. Perform a carefully rate-limited password spray using a very small set of high-probability guesses, with client-approved monitoring and an agreed stop condition.
Explanation:

Password spraying tests a small number of candidate passwords across many accounts, reducing the likelihood of reaching each account's lockout threshold. Rate limits, monitoring coordination, and a predefined stop condition are still essential because global throttling and detection controls may apply. A dictionary attack against each user risks crossing the per-account limit. Brute force directly conflicts with the no-lockout constraint. Credential stuffing uses breach-derived credentials and is not the requested common-password assessment; the source and method also require explicit approval.

Question 8

New Single answer

Topic: Advanced Password Attacks

Skill tested: Evaluate pass-the-hash authentication opportunities and limitations in Windows environments.

During an authorized internal test, the team obtains a local administrator's NTLM hash from one workstation. The engagement permits testing authentication to other in-scope Windows hosts, but it prohibits cracking attempts against the hash and prohibits changing domain credentials. The team wants to determine whether the credential material can provide access to another system using an NTLM-based authentication path. Which action best fits the objective and constraints?

Correct Answer: D. Use the hash in a pass-the-hash technique against an in-scope service that accepts NTLM, and document the identity and target access obtained.
Explanation:

Pass-the-hash uses the NTLM hash as credential material for compatible NTLM authentication; the plaintext password is not required. The test must remain within authorized targets and should record which authentication protocol and privileges succeeded. An NTLM hash cannot simply be converted into a Kerberos ticket, and it is not generally accepted as a plaintext password in an interactive logon prompt. Cracking is unnecessary for this objective and is explicitly prohibited by the engagement constraints.

Question 9

New Single answer

Topic: Azure Overview, Attacks, and AD Integration

Skill tested: Assess Azure AD Connect exposure and reduce compromise risk to synchronized identities.

A company synchronizes on-premises Active Directory identities to Microsoft Entra ID using Azure AD Connect. A penetration test finds the synchronization server is a member server administered by the same operations team that manages user endpoints. It is reachable from ordinary workstation networks, and the organization has not documented its service-account privileges or credential handling. The client wants the highest-priority corrective action that addresses the risk of a synchronization server compromise becoming a cloud identity compromise. Which recommendation is best?

Correct Answer: B. Move Azure AD Connect to a dedicated, tightly restricted server; limit administrative access and review its privileged accounts and synchronization configuration.
Explanation:

The synchronization server is a high-value identity bridge, so reducing its exposure and restricting administration helps limit the impact of local compromise. Reviewing its accounts, configuration, and credential handling is important because synchronization infrastructure can have substantial authority over identity data. Broad employee administration increases attack surface. Disabling MFA weakens cloud access controls and does not address server compromise. Antivirus can be part of defense in depth but cannot replace isolation and least privilege.

Question 10

New Single answer

Topic: Azure Applications and Attack Strategies

Skill tested: Identify OAuth consent abuse risks and apply least-privilege application permissions.

A security review of a Microsoft Entra-integrated business application finds that users can consent to third-party applications requesting broad mailbox and file access. An employee previously approved an unfamiliar application that continues to access data through delegated permissions. The organization needs to reduce the likelihood of similar consent-based attacks while preserving a process for legitimate business applications. Which change is most appropriate?

Correct Answer: B. Restrict user consent to approved low-risk permissions or disable it, and establish administrator review or a controlled consent workflow for broader permissions.
Explanation:

OAuth consent can grant an application delegated access that persists independently of a user's password change. Limiting user consent and routing broader permissions through administrator review reduces exposure while retaining a path for approved applications. A logo is not a security control. Disabling every enterprise application is disproportionate and can break legitimate services without ensuring sound governance. Password resets do not automatically revoke application grants; existing consent and tokens must be reviewed and revoked as appropriate.

Question 11

New Multiple answers

Topic: Domain Escalation and Persistence Attacks

Skill tested: Recognize Kerberos delegation and service-account conditions that enable domain escalation.

In an authorized Active Directory assessment, a service account is configured for unconstrained delegation and is also a member of a highly privileged group. The service runs on a server accessible to ordinary users. The organization wants to understand and remediate the most direct escalation path, while keeping the test non-destructive. Which two actions are most appropriate? Select TWO.

Correct Answer: D. Attempt to obtain service-account secrets through a controlled Kerberos delegation exposure test only if explicitly authorized, and avoid using captured tickets to make changes.; E. Document the delegation setting and privileged group membership as a high-risk combination, then recommend removing unnecessary privilege and replacing unconstrained delegation where feasible.
Explanation:

Unconstrained delegation on a reachable server can expose delegated Kerberos credentials or tickets, and privileged group membership increases the potential impact. The safe response is to document and remediate unnecessary privilege and delegation; any controlled validation must be explicitly authorized and must not use obtained material to alter systems. Disabling Kerberos broadly is disruptive and unnecessary. Password rotation does not change delegation settings, and the claim that the risk applies only to client computers is false.

Question 12

New Single answer

Topic: Kerberos Attacks

Skill tested: Assess Kerberoasting prerequisites and mitigate service-account ticket cracking exposure.

A tester with a standard domain user account requests service tickets for several registered service principal names and captures the returned ticket data for offline analysis. The organization asks why this activity is possible without administrative privileges and which mitigation most directly reduces the chance that the captured material yields a usable password. Which recommendation is best?

Correct Answer: C. Use long, random managed service-account credentials where supported, and review service accounts for unnecessary privileges and weak passwords.
Explanation:

Authenticated domain users can generally request service tickets for SPNs; the ticket's encrypted portion can then be subjected to offline password guessing. Long, randomly generated credentials - ideally managed service-account credentials where suitable - make successful guessing far less likely. Reducing the account's privileges limits impact if a password is recovered. Removing all SPNs would break service authentication, and disabling preauthentication is unrelated to service-ticket requests and can create additional risk. Short passwords are easier, not harder, to crack.

Question 13

New Single answer

Topic: Escalation and Exploitation

Skill tested: Use pivot routing and traffic forwarding to reach an otherwise inaccessible internal service.

A tester has compromised an in-scope Linux web server that can connect to an internal database subnet. The tester's workstation cannot route directly to that subnet, and the database service is not exposed on the web server's public interface. The rules of engagement permit a temporary tunnel through the compromised host but prohibit installing persistent agents or changing network-device configuration. Which approach best enables a controlled assessment of the database service?

Correct Answer: D. Create a temporary authenticated or encrypted port-forwarding tunnel through the web server, bind access appropriately, and remove it when testing ends.
Explanation:

A temporary tunnel uses the compromised host's existing network reachability to access an otherwise unroutable service without exposing the database publicly or modifying network devices. The tunnel should be scoped, protected, monitored, and removed after testing, with access bound to the tester's local interface when appropriate. Publicly opening the database violates the requirement and increases risk. Copying files bypasses the intended service assessment and may violate data-handling limits. A persistent agent conflicts with the explicit prohibition.

Question 14

New Single answer

Topic: Exploitation Fundamentals

Skill tested: Validate exploit preconditions and control impact before attempting a vulnerability proof.

A vulnerability scanner flags a network service as potentially susceptible to a memory-corruption flaw. The service is business-critical, the engagement prohibits denial-of-service impact, and the service banner alone does not establish the installed build or exploitability. The client wants a defensible conclusion about exposure without risking an outage. What should the tester do first?

Correct Answer: B. Review the exact product build and patch evidence, compare them with reliable vulnerability conditions, and seek a safe non-production validation path if needed.
Explanation:

Exploitability depends on specific versions, configuration, and sometimes runtime conditions; a banner and scanner result are not sufficient proof. Confirming build and patch state is a low-impact first step, followed by safe validation in a representative non-production environment if available. A production exploit that can crash the service violates the rules of engagement. Reporting exploitation from a banner alone overstates certainty, while varying payloads on a critical service still risks disruption without establishing a controlled test.