Exam Information
Free practice questions with explanations
GIAC GPEN Practice Questions
Answer a question to see the correct answer and the explanation, or click Show answer. Newest questions first.
- Questions
- 14
- Answered
- 0
- Correct
- 0
- Score
- -
-
1 Question 1 Single choice Password Attacks
A penetration tester is assessing a financial services firm whose Active Directory enforces an account lockout threshold of 5 failed attempts within 30 minutes and a password policy requiring at least 12 characters with complexity. The client has explicitly forbidden any activity that could lock out production accounts during business hours. The tester has obtained a list of 2,000 valid usernames from an LDAP enumeration. Which password attack best balances the rules of engagement with a realistic chance of success?
Correct Answer: BExplanationA single password spray, paced so that each account receives at most one attempt per lockout observation window, stays under the 5-attempt threshold and respects the no-lockout rule while testing realistic password choices. Brute force against SMB would trip the lockout policy within seconds and violate the rules of engagement. Mimikatz credential extraction requires local admin and is not a password guessing attack against the listed accounts, and it is outside the stated scope of online guessing. Mask attacks against NTDS.dit need a domain controller backup that was never obtained and would be an offline attack unrelated to the lockout constraint.
-
2 Question 2 Dropdown Attacking Password Hashes
During an internal assessment, the tester has captured an NTLMv2 challenge-response from a Windows host using Responder and wants to crack it offline with Hashcat using a dictionary and rules. The engagement notes say the wordlist is rockyou.txt and the cracking must run on a GPU rig. Complete the command by selecting the correct value for each blank.
Choose the correct value for each blank.
hashcat -m -a ntlmv2_hashes.txt rockyou.txt -r rules/best64.ruleCorrect Answer:hashcat -m 5600 -a 0 ntlmv2_hashes.txt rockyou.txt -r rules/best64.rule
ExplanationHashcat mode 5600 corresponds to NetNTLMv2 captures, which is the format Responder produces, while 1000 is raw NTLM from the SAM and 13100 is Kerberoast TGS-REP. Attack mode 0 is straight dictionary mode, and the -r flag applies the rule file to each word; mode 1 combines two wordlists and mode 3 is brute-force mask mode, neither of which matches a dictionary-with-rules attack. Mode 22000 covers WPA-PBKDF2 and PMKID hashes, not network challenge-response captures.
-
3 Question 3 Order list Kerberos Attacks
A tester has standard domain user credentials in an Active Directory domain with a functional level that supports AES encryption. The tester wants to obtain service tickets for accounts with service principal names so that the hashes can be cracked offline, without touching any service host directly. Arrange the steps in the correct order.
Drag the steps into the correct order, or use the arrows.
- Export the returned ticket hashes in a format suitable for offline cracking
- Crack the captured ticket hashes offline against a wordlist to recover service account passwords
- Enumerate user accounts that have a servicePrincipalName attribute set using an LDAP query
- Request TGS tickets for the identified service accounts from the KDC using the valid user's TGT
Correct Answer:- Enumerate user accounts that have a servicePrincipalName attribute set using an LDAP query
- Request TGS tickets for the identified service accounts from the KDC using the valid user's TGT
- Export the returned ticket hashes in a format suitable for offline cracking
- Crack the captured ticket hashes offline against a wordlist to recover service account passwords
ExplanationKerberoasting begins with identifying accounts that carry an SPN, since only those accounts yield service tickets encrypted with their password-derived keys. The tester then requests TGS tickets from the KDC using any authenticated user's TGT, which requires no interaction with the service host. The returned encrypted ticket material is exported in a cracking-friendly format before offline cracking begins. Attempting to crack before exporting, or requesting tickets before enumerating SPN accounts, would not yield usable targets.
-
4 Question 4 Multiple choice Azure Overview, Attacks, and AD Integration
A company synchronizes its on-premises Active Directory to Azure AD using Azure AD Connect with password hash synchronization enabled. The penetration test scope includes the sync service account and tenant configuration. The tester has compromised the Azure AD Connect server and wants to move toward cloud-side access without new credential prompts or alerts from conditional access. Which two actions are most consistent with abusing this integration? (Choose two.)
Correct Answer: A, EExplanationThe Azure AD Connect server stores the MSOL_ sync account credentials in a way that can be recovered by an attacker with local admin, and those credentials allow directory replication-style access in Azure AD. The synchronization identity can also be leveraged through Microsoft Graph to enumerate users and groups. Disabling hash sync does not give an attacker access, and creating a Global Admin on-premises would be an unusual and detectable path that does not reflect the integration abuse asked for. Rotating the Seamless SSO key is a defensive action that an attacker would not use to gain access.
-
5 Question 5 Drag and drop Domain Escalation and Persistence Attacks
A tester has domain user access on a Windows Server estate and has confirmed local admin on one file server. The client wants to maintain access across reboots and password changes for the sanctioned validation period, and must avoid creating new accounts that would appear in standard audit reports. Match each requirement to the technique that best meets it.
Drag each item onto its matching target. On a phone: tap an item, then tap a target.
Retain access to the domain even after the compromised user changes their passwordRecover a local administrator's password hash from the file server for reuse elsewhereEscalate from a standard user to SYSTEM on the file server using a local misconfigurationAbusing an unquoted service path with write accessCreating a new domain administrator account through DSSyncDumping the SAM database with a registry hive extractionForged Kerberos ticket using a stolen krbtgt hashEnabling Remote Desktop with a changed firewall ruleCorrect Answer:- Retain access to the domain even after the compromised user changes their password → Forged Kerberos ticket using a stolen krbtgt hash
- Recover a local administrator's password hash from the file server for reuse elsewhere → Dumping the SAM database with a registry hive extraction
- Escalate from a standard user to SYSTEM on the file server using a local misconfiguration → Abusing an unquoted service path with write access
ExplanationA golden ticket forged with the krbtgt hash keeps working regardless of user password changes, giving domain persistence without a new account. Registry hive extraction of SAM yields local account hashes on that host, which the tester can reuse for lateral movement. An unquoted service path with writable directories lets a standard user plant an executable that runs as SYSTEM. Creating a new domain admin would violate the no-new-accounts constraint, and enabling RDP is unrelated to escalation or persistence on its own.
-
6 Question 6 Single choice Escalation and Exploitation
A tester gains a Meterpreter session on a Linux web server in a DMZ. The server is dual-homed with an interface on the internal 10.20.0.0/16 network that holds the database tier. The engagement rules permit pivoting into the internal network but prohibit installing persistent agents on any internal host. The tester needs to run an Nmap scan against the database subnet from the tester's workstation. Which approach best satisfies these constraints?
Correct Answer: DExplanationAutoroute adds routes through an existing Meterpreter session so that traffic destined for 10.20.0.0/16 is carried by the compromised web server, and a SOCKS proxy such as the auxiliary socks server module lets Nmap from the workstation reach those targets via proxychains. No agent is installed on internal hosts. Persistence payloads on database hosts breach the explicit prohibition. A persistent SSH tunnel is a permanent implant on the DMZ server beyond the agreed scope, and portfwd per host is not a scalable way to scan a whole subnet and does not give network-wide reachability.
-
7 Question 7 Single choice Metasploit
A tester is running a Metasploit module against a client's Windows Server 2016 host. The module fails with a message that the payload cannot connect back. The tester confirms the target can reach the attacker host on TCP 443 but the reverse_https handler is set on LHOST 10.0.5.22, which is the internal address of a NAT device. The attacker machine's public address is 203.0.113.40 and inbound NAT forwards TCP 443 to 10.0.5.22. The client restricts the tester from changing the NAT configuration. What is the most appropriate fix?
Correct Answer: AExplanationA reverse payload uses LHOST as the address the target connects back to, so it must be an address the target can route to. Because the target reaches the attacker through the NAT, the externally reachable address 203.0.113.40 is the correct LHOST, and the NAT already forwards 443 to the handler. Setting LHOST to the target's own address would have the target connecting to itself. A bind payload requires the attacker to reach an open listening port on the target, which is generally not the case behind a firewall that allowed the callback path, and the rules leave the NAT alone. Changing LPORT does not address the unreachable LHOST, and port 443 is not reserved.
-
8 Question 8 Single choice Scanning and Host Discovery
A tester must map a client's perimeter using Nmap within a two-hour window. The client's border firewall silently drops ICMP echo and ICMP timestamp requests but permits TCP SYN packets to ports 80 and 443, which the public website uses. The rules of engagement restrict scan volume to avoid triggering the client's IDS threshold of 100 new connections per minute from a single source. Which scan configuration is most appropriate for host discovery and service identification?
Correct Answer: AExplanationBecause ICMP is filtered, host discovery must skip ping, which -Pn does, and the scan should target the ports the firewall actually permits. Limiting the rate with --max-rate keeps the new connection count under the IDS threshold, and -sV identifies service versions on the open ports. Relying on ICMP discovery would report every host as down. A full 65535-port sweep at a high minimum rate would far exceed the 100-connections-per-minute limit and generate noise. Combining ICMP probe types is ineffective because the firewall drops them all.
-
9 Question 9 Single choice Vulnerability Scanning
A tester runs an authenticated vulnerability scan with Nessus against a fleet of Windows 10 workstations. The scan reports a high-severity finding for a missing security update on a workstation, but the tester suspects a false positive because the vendor advisory states the affected component is not installed on that build. The client's change control process forbids remediating or altering production hosts during the assessment. What is the most appropriate next action?
Correct Answer: CExplanationCredentialed checks are the authoritative way to confirm patch state, and a PowerShell query against the file version and registry key the advisory names gives direct evidence without changing the host, which respects change control. Documenting the false positive with that evidence supports the report. Accepting the risk without verification skips the evidence step, and patching production violates the stated constraint. Unauthenticated scans are less reliable for patch-level findings and would not resolve the question of whether the component is installed.
-
10 Question 10 Single choice Reconnaissance
A tester is planning passive reconnaissance against a manufacturing company that has recently moved its public web presence to a new cloud provider. The engagement prohibits any direct interaction with the client's infrastructure before the assessment window opens, and the tester must avoid tripping rate-based controls. The objective is to identify technical contacts, the IP address ranges the company owns, and document formats the company publishes that might reveal software versions. Which combination of sources best satisfies these constraints?
Correct Answer: DExplanationWHOIS and regional registry data reveal the netblocks assigned to the organisation, certificate transparency logs expose hostnames without touching the target, and search operators such as filetype queries surface published documents whose metadata can reveal software versions. This satisfies the no-interaction rule. A TCP scan and a zone transfer both contact client infrastructure directly, and phishing is active social engineering outside the pre-window passive phase.
-
11 Question 11 Single choice Penetration Test Planning
A regional bank has contracted a penetration test covering its internet-facing applications, a payment processing network segment governed by PCI DSS, and a set of mobile banking APIs. The client requires a final report in four weeks and has asked the tester to begin execution as early as possible. Before any exploitation starts, which element of the planning phase must be completed first to protect both the client and the tester?
Correct Answer: AExplanationSigned rules of engagement and written authorization are the legal and operational foundation for any penetration test, and they must establish scope boundaries, testing windows, and contacts before any active work. The PCI-governed segment in particular requires explicit scope confirmation, because testing outside authorized systems can create legal exposure. The other options are useful preparatory tasks but do not protect either party in the way that authorization does.
-
12 Question 12 Single choice Password Formats and Hashes
A tester extracts the password database from a legacy Linux application that stores credentials as salted SHA-512 crypt hashes using the format beginning with $6$. The tester wants to crack a sample of 50 hashes using Hashcat. The client's security team has requested that the tester not perform any action that would modify the application's stored data. Which approach correctly identifies the hash mode and avoids modifying the source?
Correct Answer: DExplanationHashcat mode 1800 corresponds to sha512crypt, identified by the $6$ prefix, and the hashes should be run from an extracted copy so the application's stored data is not altered. Mode 500 is md5crypt, which uses the $1$ prefix, and mode 0 is unsalted raw SHA-512, which would fail to match salted crypt hashes. Running against the live database risks modifying stored data, which the client prohibited.
-
13 Question 13 Multiple choice Penetration Testing with PowerShell and the Windows Command Line
During a post-exploitation phase on a Windows Server 2019 host, the tester has a standard user shell and needs to list the local administrators group and the scheduled tasks running with elevated privileges, without writing binaries to disk. The host runs PowerShell 5.1 with the default execution policy and Constrained Language Mode is not enforced. Which two commands accomplish these tasks using built-in tools? (Choose two.)
Correct Answer: A, BExplanationBoth net localgroup and the PowerShell Get-LocalGroupMember cmdlet list members of the local Administrators group using built-in tooling without dropping files. The schtasks query is also a valid way to view scheduled tasks, but it does not list group members, so it does not satisfy the first half of the task. Invoke-Mimikatz is not a built-in tool and writes or loads external code, and the WMIC delete command would terminate the shell rather than enumerate anything.
-
14 Question 14 Single choice Advanced Password Attacks
A tester has recovered an NT hash for a local administrator account on one Windows 10 workstation. The client's domain has LAPS deployed, and the tester suspects the same local administrator password is not reused across other workstations. The tester wants to determine whether the hash can authenticate to other hosts without knowing the plaintext. The engagement prohibits repeated authentication attempts against any single host more than twice. Which method best tests pass-the-hash viability within these limits?
Correct Answer: DExplanationPass-the-hash works with NTLM authentication over SMB, and tools such as Impacket's psexec or smbexec accept an NT hash in place of a password, so a single attempt per host respects the two-attempt rule while answering the reuse question. Cracking the hash is unnecessary and does not test authentication, and Kerberos does not accept a raw NT hash to issue a TGT for a local account. Spraying the hash against all domain accounts exceeds the per-host limit and is not a targeted test of local admin reuse.
These are 14 of the 391 questions in the full GPEN pack.
Get All 391 QuestionsGet all 391 questions & answers
Full access options for GIAC GPEN
Self-study
PDF Version
- 391 actual exam questions
- Compatible with all devices
- Printable PDF format
- No download limits
- 90 days free updates
- 24/7 customer support
Best value
Bundle Pack
- Discounted PDF + online access
- 391 actual exam questions
- Both PDF and online practice test
- Free 90 days updates
- No download or practice limits
- 24/7 customer support
Exam simulation
Online Practice Test
- 391 actual exam questions
- Actual exam environment
- 90 days free updates
- Browser-based software
- 24/7 customer support
100% Money Back Guarantee
Your success comes first
At DumpsProvider, we give you a 100% money back guarantee on all of our exam dumps. For us, your success is the #1 priority and we are more than confident that our exam material will help you pass the GPEN Exam (GIAC Certified Penetration Tester) on your very first attempt.
In a rare case, if you fail your exam, we will refund your amount without asking a single question.