Welcome to awslagi.com – Sharing AWS, Anthropic, Google Cloud, Microsoft Azure IT Exams. It's free for all!

GIAC Penetration Tester

Prove your technical skills in identifying vulnerabilities and conducting expert-level penetration testing.

4.8★★★★★(242 ratings)
21,346 studentsIntermediate
This certification validates your ability to conduct a complete penetration test according to professional standards. You will learn advanced exploitation, password cracking, and web application assessment techniques to uncover security gaps before attackers do. As a GPEN certified professional, you join the elite ranks of legal "hackers." This credential is a powerful catalyst for your career in red teaming, offensive security, and consulting, where deep technical expertise is highly rewarded.

What you'll learn

  • Comprehensive pen test methodology
  • Advanced exploitation techniques
  • Password cracking and analysis
  • Web application vulnerability scanning
  • Post-exploitation and reporting

GPEN

Lectures1
Questions45
Duration30 week
Students21,346

$20.00

Full Free Question Bank (45 Questions)

GIAC Penetration Tester (GPEN) Practice Questions & Verified Answers

Click any option to test your knowledge, or reveal the verified answer and detailed explanation below each question.

Question #1Part 1Enterprise System Penetration Testing

What is theMOSTimportant document to obtain before starting any penetration testing?

AProject plan
BExceptions document
CProject contact list
DA written statement of permission
Question #2Part 1Network Scanning for Pen Tests

When DNS is used for load balancing, why might a penetration tester identify a scan target by its IP address instead of its host name?

AAsingle IP may have multiple domains.
BA single domain name can only have one IP address.
CScanning tools only recognize IP addresses
DA single domain name may have multiple IP addresses.
Question #3Part 1Offensive Operations Reconnaissance

Which mode describes a wireless interface configured to passively capture wireless frames from one wireless channel and provide them to the operating system?

AMonitor Mode
BPromiscuous Mode
CManaged Mode
DMaster Mode
Question #4Part 1Penetration Testing of Domain Environments

By default, in which file do Active Directory controllers store password representations?

A%system roots .system 32/ntds.dit
B%System roots /ntds\ntds.dit
C%System roots /ntds\sam.dat
D%System roots /ntds\sam.dit
Question #5Part 1Enterprise System Penetration Testing

You are remotely penetration testing a Windows system through a raw netcat shell. To quickly change to the directory where the Windows operating system is located, which command could you use?

Acd systemroot
Bcd-
Ccd /systemroot/
Dcd %systemroot%
Question #6Part 1Command and Control (C2) Communication and Evasion

Which Metasploit VNC-inject stager allows VNC communication from the attacker to a listening port of the attacker’s choice on the victim machine?

AVncinject/find.lag
BVncinject/reverse.tcp
CVncinject/reverse-http
DVncinject /bind.tcp
Question #7Part 1Lateral Movement and Privilege Escalation

While examining traffic from a tcpdump capture, you observe the following commands sent from a remote system to one of your web servers: `` C:\>sc winternet.host.com create ncservicebinpath- "c:\tools\ncexe -I -p 2222 -e cmd.exe" C:\>sc vJnternet.host.com query ncservice. `` What is the purpose of these commands? C:\>sc winternet.host.com create ncservicebinpath- "c:\tools\ncexe -I -p 2222 -e cmd.exe" C:\>sc vJnternet.host.com query ncservice.

AThe first command creates a backdoor shell as a service. It is being started on TCP2222 using cmd.exe. The second command verifies the service is created and itsstatus.
BThe first command creates a backdoor shell as a service. It is being started on UDP2222 using cmd.exe. The second command verifies the service is created and itsstatus.
CThis creates a service called ncservice which is linked to the cmd.exe command andits designed to stop any instance of nc.exe being run. The second command verifiesthe service is created and its status.
DThe first command verifies the service is created and its status. The secondcommand creates a backdoor shell as a service. It is being started on TCP
Question #8Part 1Command and Control (C2) Communication and Evasion

A penetration tester gains Telnet access to a target machine by using a captured credential. While attempting to transfer her exploit to the target machine, the network intrusion detection systems continually detect the exploit and terminate her connection. Which of the following actions will help the penetration tester transfer an exploit and compile it on the target system?

AUse the http service's PUT command to push the file onto the target machine.
BUse the scp service, protocol SSHv2 to pull the file onto the target machine.
CUse the telnet service's ECHO option to pull the file onto the target machine
DUse the ftp service in passive mode to push the file onto the target machine.
Question #9Part 1Enterprise System Penetration Testing

A client with 7200 employees across 14 cities, all connected through high-speed WAN connections, has experienced a major external security breach through a desktop. The breach cost more than SI 72.000 and resulted in the loss of a high-profile client. They ask you to conduct a desktop vulnerability assessment to identify everything requiring patches. Using Nessus, you identify tens of thousands of vulnerabilities that must be patched. The report shows workstations running several Windows OS versions and service-pack levels, antivirus software from multiple vendors, several major browser versions, and different Acrobat Reader versions. Which recommendation should you provide with the report?

AThe client should standardize their desktop software
BThe client should eliminate workstations to reduce workload
CThe client should hire more people to catch up on patches
DThe client should perform monthly vulnerability assessments
Question #10Part 1Network Scanning for Pen Tests

192.168.116.9 is an IP address forwww.scanned-server.com. Why do the results of the two scans shown below differ?

AJohn.pot
BJohn conf
CJohn.rec
DJohn.ini
Question #11Part 1Command and Control (C2) Communication and Evasion

A junior penetration tester at your firm is using a non-transparent proxy for the first time to test a web server. He can see the website in his browser, but nothing appears in the proxy. He says he has just installed the non-transparent proxy on his computer and has not changed any default settings. After confirming that the proxy is running, you ask him to open his browser configuration, as shown in the figure. Which of the following recommendations will correctly enable him to use the transparent proxy with his browser? ![Question Image](https://cdn.examcademy.com/images/questions/1784450934580-gxnqty3v.jpg)

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 correctly.
CHe should change the HTTP PROXY value to 127.0.0.1 since the non-transparentproxy is running on the same machine as the browser.
DHe should select NO PROXY instead of MANUAL PROXY CONFIGURATION as thissetting is only necessary to access the Internet behind protected
Question #12Part 1Lateral Movement and Privilege Escalation

A penetration tester used a client-side browser exploit from Metasploit to obtain an unprivileged shell prompt on the target Windows desktop. The tester then attempted a local privilege escalation with the getsystem command, but it failed. Which of the following could fix the issue?

ALoad priv module and try getsystem again
BRun getuid command, then getpriv command, and try getsystem again
CRun getuid command and try getsystem again
DUse getprivs command instead of getsystem
Question #13Part 1Enterprise System Penetration Testing

A tester has been hired to conduct a penetration test for a corporate client. The test scope is limited to end-user workstations and client programs only. Which of the following actions is permitted during this test?

AAttempting to redirect the internal gateway through ARP poisoning
BActivating bot clients and performing a denial-of-service against the gateway.
CSniffing and attempting to crack the Domain Administrators password hash.
DSending a malicious pdf to a user and exploiting a vulnerable Reader version.
Question #14Part 1Lateral Movement and Privilege Escalation

A penetration tester can extract credential data from memory on a Windows system. Based on the command and output below, what advantage does this technique provide when the tester attempts to access another Windows system on the network? ![Question Image](https://cdn.examcademy.com/images/questions/1784450939121-gjla8oxg.jpg)

AThe technique is more effective through perimeter firewalls than otherauthentication attacks.
BIt allows the tester to escalate the privilege level of the account,
CAccess to the system can be gained without password guessing or cracking.
DSalts are removed from the hashes to allow for faster, offline cracking
Question #15Part 1Network Scanning for Pen Tests

Analyze the command output that follows. Based on this information, what is the appropriate next action for the tester? ``text Starting Nmap4.53 (hnp://insecure.org I at2010-09-30 19:13 EDT interesting ports on 192.163.116.101: PORT STATE SERVICE - 130/tcp filtered cisco-fna 131/tcp filtered cisco-tna 132/tcp filtered cisco-sys 133/tcp filtered statsrv 134/tcp filtered Ingres-net 135/tcp filtered msrpc 136/tcp filtered profile 137/tcp filtered netbios-ns 138/tcp filtered netbios-dgm 139/tcp open netbios-ssn 140/tcp filtered emfis-data MAC Address: 00:30:1&:B8:14:8B (Shuttle) warning: OSS can results may be unreliable because we could not find at least l open and l closed port Device type, general purpose - Running: Microsoft Windows XP - OS details: Microsoft Windows XP SP2 Network Distance : 1 hop - Nmap done: I IP address (I host up) scanned in l .263 seconds `` Starting Nmap4.53 (hnp://insecure.org I at2010-09-30 19:13 EDT interesting ports on 192.163.116.101: PORT STATE SERVICE - 130/tcp filtered cisco-fna 131/tcp filtered cisco-tna 132/tcp filtered cisco-sys 133/tcp filtered statsrv 134/tcp filtered Ingres-net 135/tcp filtered msrpc 136/tcp filtered profile 137/tcp filtered netbios-ns 138/tcp filtered netbios-dgm 139/tcp open netbios-ssn 140/tcp filtered emfis-data MAC Address: 00:30:1&:B8:14:8B (Shuttle) warning: OSS can results may be unreliable because we could not find at least l open and l closed port Device type, general purpose - Running: Microsoft Windows XP - OS details: Microsoft Windows XP SP2 Network Distance : 1 hop - Nmap done: I IP address (I host up) scanned in l .263 seconds

ADetermine the MAC address of the scanned host.
BSend a single SYN packet to port 139/tcp on the host.
CSend spoofed packets to attempt to evade any firewall
DRequest a list of shares from the scanned host.
Question #16Part 1Network Access Exploitation

Examine the following packet-capture excerpt between hosts 192.168.116.9 and 192.168.116.101. What factual conclusion can the tester make from this output?

APort 135 is filtered, port 139 is open.
BPons 135 and 139 are filtered.
CPorts 139 and 135 are open.
DPort 139 is closed, port 135 is open
Question #17Part 1Penetration Testing of Domain Environments

Review the command output shown below. What can the tester infer directly from the displayed information?

AThe administrator account has no password
BNull sessions are enabled on the target
CThe target host is running Linux with Samba services
DAccount lockouts must be reset by the Administrator
Question #18Part 1Network Access Exploitation

About how many packets are typically needed to carry out a successful FMS attack against WEP?

A250.000
B20.000
C10.000,000
Dl (with a weak IV)
Question #19Part 1Offensive Operations Reconnaissance

Analyze the screenshot below. Which of the following result sets will this search retrieve?

APages from the domain sans.edu that have external links.
BFiles of type .php from the domain sans.edu.
CPages that contain the term ext:php and slte.sans.edu.
DFiles of type .php that redirect to the sans.edu domain.
Question #20Part 1Network Scanning for Pen Tests

During a penetration test, TCP port 22 is found listening on a target host. Because SSHD typically listens on that port, an SSH client is used to validate that assumption, but the attempt is unsuccessful. The port is actually served by an Apache web server. Which type of scan would have helped determine which service was listening on port 22?

AVersion scanning
BPort scanning
CNetwork sweeping
DOS fingerprinting
Question #21Part 1Network Scanning for Pen Tests

During a penetration test, you identify a valid set of SSH credentials for a remote system. How can you use them to your advantage in a Nessus scan?

AThis information can be entered under the 'Hydra' tab to launch a brute-forcepassword attack.
BThere isn't an advantage as Nessus will ultimately discover this information.
CThe "SSH' box can be checked to let Nessus know the remote system is running
DThis information can be entered under the 'credentials' tab to allow Nessus to log into the system
Question #22Part 1Network Access Exploitation

Analyze the screenshot shown below. Which event is depicted?

AAn exploit that was attempted does not work against the target selected.
BA payload was used that is not compatible with the chosen exploit.
CThe exploit is designed to work against the local host only.
DThe payload Is designed to create an interactive session.
Question #23Part 1Password Analysis and Cracking

How can an unprivileged user on a Unix system identify whether shadow passwords are in use?

ARead /etc/password and look for "x" or "II" in the second colon-delimited field
BRead /etc/shadow and look for "x" or "II" in the second colon-delimited field
CVerify that /etc/password has been replaced with /etc/shadow
DRead /etc/shadow and look NULL values In the second comma delimited field
Question #24Part 1Network Access Exploitation

Analyze the screenshot shown below. Which type of vulnerability is being attacked?

AWindows Server service
BInternet Explorer
CWindows Powershell
DLocal Security Authority
Question #25Part 1Network Scanning for Pen Tests

Based on the partialappdefstrigfile shown below, which port-scan signature does AMap classify as harmful?

Asmtp
Bnetbios-session
Chttp-trace
Dms-remote-desktop-protocol
Question #26Part 1Network Access Exploitation

Given the following Scapy information, how is the default Layer 2 information derived? ![Question Image](https://cdn.examcademy.com/images/questions/1784450954891-hzkdpanr.jpg)

AThe default layer 2 information is contained in a local scapy.cfg configuration fileon the local system.
BIf not explicitly defined, the Ether type field value Is created using the hex value ofthe destination port, in this case 80
CIf not explicitly defined, pseudo-random values are generated for the Layer 2 defaultinformation.
DScapy relies on the underlying operating system to construct Layer 2 information touse as default.
Question #27Part 1Network Scanning for Pen Tests

You are performing a vulnerability scan on a remote network, but the traffic is not reaching the target system. You investigate the connectivity issue and find that the traffic reaches the internal interface of your network firewall, but does not reach the external interface or any systems outside the firewall. What is the most likely issue?

AYour network firewall is blocking the traffic
BThe NAT or pat tables on your network based firewall are filling up and droppingthe traffic
CA host based firewall is blocking the traffic
DYour ISP Is blocking the traffic
Question #28Part 1Offensive Operations Reconnaissance

When capturing wireless frames, the interface mode is crucial for successfully collecting traffic. Which mode or modes are best used to sniff wireless traffic?

AMaster Ad-hoc
BRFMON
CRFMON. Ad-hoc
DAd-hoc
Question #29Part 1Network Access Exploitation

Which attack lets an attacker sniff data frames on a local area network (LAN) or halt traffic entirely?

AMan-in-the-middle
BARP spoofing
CPort scanning
DSession hijacking
Question #30Part 1Offensive Operations Reconnaissance

Analyze the command output below. What information can the tester directly infer from the information shown?

AUsernames for the domain tesrdomain.com
BDirectory indexing is allowed on the web server
CVulnerable versions of Adobe software in use
DNaming convention for public documents
Question #31Part 1Lateral Movement and Privilege Escalation

What is the intended purpose of the following command? C:\>wmic /node:[target IP] /user:[admin-user] /password:[password] process call create [command]

ARunning a command on a remote Windows machine
BCreating a service on a remote Windows machine
CCreating an admin account on a remote Windows machine
DListing the running processes on a remote windows machine
Question #32Part 1Password Analysis and Cracking

What is the principal difference between LAN MAN and NTLMv1 challenge/responses?

ANTLMv1 only pads IS bytes, whereas LANMAN pads to 21 bytes
BNTLMv1 starts with the NT hash, whereas LANMAN starts with the LANMAN hash
CNTLMv1utilizes DES, whereas LANMAN utilizes MD4
DNTLMv1 splits the hash into 3 eight-byte pieces, whereas LAN MAN splits the hash Into 3 seven-byte pieces
Question #33Part 1Command and Control (C2) Communication and Evasion

Which Metasploit payload provides simple upload and download functionality for transferring files to and from compromised systems?

ADLL inject
BUpexec
CMeterpreter
DVncinject
Question #34Part 1Enterprise System Penetration Testing

You have been contracted by the owner of a secure facility to attempt to break into their office in the middle of the night. Your client has requested photographs of any sensitive information discovered as evidence of your accomplishments. The work you were hired to perform is an example of which practice?

APenetration Testing
BEthical Hacking
CVulnerability Assessing
DSecurity Auditing
Question #35Part 1Command and Control (C2) Communication and Evasion

What is the purpose of the following command? nc.exe -I -p 2222 -e cmd.exe

AIt is used to start a persistent listener linked to cmd.exe on port 2222 TCP
BIt is used to start a listener linked to cmd.exe on port 2222 TCP
CIt is used to start a listener linked to cmd.exe on port 2222 UDP
DIt is used to start a persistent listener linked to cmd.exe on port 2222 UDP
Question #36Part 1Network Scanning for Pen Tests

Identify the network activity shown here:

AA sweep of available hosts on the local subnet
BA flood of the local switch's CAM table.
CAn attempt to disassociate wireless clients.
DAn attempt to impersonate the local gateway
Question #37Part 1Enterprise System Penetration Testing

Which of the following most accurately describes a client-side exploit?

AAttack of a client application that retrieves content from the network
BAttack that escalates user privileged to root or administrator
CAttack of a service listening on a client system
DAttack on the physical machine
Question #38Part 1Offensive Operations Reconnaissance

ACME Corporation has decided to set up an IEEE 802.11 wireless network at its Tokyo sales branch and has found that neighboring offices are using channels 1, 6, 9, and 11. Which channel is the best choice?

A4
B5
C10
D2
Question #39Part 1Password Analysis and Cracking

A Windows workstation has been compromised with Metasploit, and the Meterpreter payload has been injected into thesmssprocess. You need to dump the remote system’s SAM database in order to crack it offline. Which additional Meterpreter module, beyond the defaults, must be loaded to do this?

ACore
BPriv
CStdapi
DHashdump
Question #40Part 1Network Scanning for Pen Tests

You have obtained a shell on a Windows host and want to identify other machines to pivot to, but the rules of engagement state that you may use only tools that are already available. How could you locate other machines on the target network?

AUse the "ping" utility to automatically discover other hosts
BUse the "ping" utility in a for loop to sweep the network.
CUse the "edit" utility to read the target's HOSTS file.
DUse the "net share" utility to see who is connected to local shared drives.
Question #41Part 1Lateral Movement and Privilege Escalation

Which of the following describe the benefits of a pass-the-hash attack compared with traditional password cracking?

ANo triggering of IDS signatures from the attack privileges at the level of theacquired password hash and no corruption of the LSASS process.
BNo triggering of IDS signatures from the attack, no account lockout and use ofnative windows file and print sharing tools on the compromised system.
CNo account lockout, privileges at the level of the acquired password hash and useof native windows file and print Sharif tools on the compromised system.
DNo account lockout, use of native file and print sharing tools on the compromisedsystem and no corruption of the LSASS process.
Question #42Part 1Enterprise System Penetration Testing

You have completed penetration testing on a Windows system and must clean up some changes you made. You created an account namedpentesteron the system; which command would you use to delete that account?

ANet user pentester /del
BNet name pentester /del
CNet localuser pentester /del
DNet account pentester /del
Question #43Part 1Lateral Movement and Privilege Escalation

You are remotely penetration testing a Windows system through a raw netcat shell. Which command would you use to list every local user in the Administrators group?

ANet account administrators
BNet user administrators
CNet localgroup administrators
DNet localuser administrators
Question #44Part 1Password Analysis and Cracking

Which of the following features distinguishes the use of Rainbow Tables from other applications such as Cain or John the Ripper?

ASalts are used to create massive password databases for comparison.
BApplications take advantage of 64-bit CPU processor and multithread the crackingprocess.
CData Is aligned efficiently in the rainbow tables making the search process quicker
DRaw hashed passwords are compared to pre-calculated hash tables.
Question #45Part 1Password Analysis and Cracking

Which command will correctly reformat the Unix passwordcopy and shadowcopy Tiles for input to John The Ripper?

A/Un shadow passwd copy shadowcopy > johnfile
B/Unshadow passwdcopy shadowcopy > johnfile
C/Unshadow shadowcopy passwdcopy >john file
D/Unshadow passwdcopy shadowcopy > johnfile

📢 Unlock Full Access to Success!

"The content displayed here is a promotional preview and contains only 50% of the actual exam database. To access the complete set of updated questions, please upgrade to the Full Version."

👉 Click the button and follow the instructions to secure your full access immediately!