Free PT0-003 Exam Braindumps
CompTIA PenTest+ Questions 65–72 (page: 10)

Updated On: 20-Aug-2026

During a routine penetration test, the client's security team observes logging alerts that indicate several ID badges were reprinted after working hours without the appropriate authorization.
Which of the following is the penetration tester most likely trying to do?

  1. Obtain long-term, valid access to the facility.
  2. Disrupt the availabilty of facility access systems.
  3. Change access to the facility for valid users.
  4. Revoke access to the facility for valid users.

Answer(s): A

Explanation:

The most likely reason a penetration tester would reprint ID badges after hours without authorization is to obtain long-term, valid access to the facility . Let's break down why the other options are less likely and why option A is the most plausible.
Option B, disrupting the availability of facility access systems, would involve actions such as overloading the system, causing a denial-of-service, or manipulating access control lists. Reprinting badges doesn't directly aim to break the access system itself, but to exploit it.
Options C and D, concerning changing or revoking access for valid users, are focused on manipulating the access privileges of existing users.
While the penetration tester could potentially use a reprinted badge to indirectly affect another user's access (e.g., by gaining access to systems to modify their permissions), the primary goal of obtaining new badges is for the tester's own unauthorized access, not primarily to disrupt or modify legitimate users' access. The focus is on gaining a foothold, not manipulating existing accounts.
Reprinting ID badges directly facilitates a penetration tester gaining physical access mimicking an authorized employee. This provides a persistent and potentially undetected way to enter the facility during or after hours, circumventing security measures designed to prevent unauthorized entry. These reprinted badges would ideally grant physical access over an extended period.
The ability to impersonate an employee with a valid badge allows for further exploitation within the target network. The penetration tester could escalate privileges, access sensitive areas, install malicious hardware, or gather confidential information without raising immediate suspicion if the badge appears legitimate. This aligns with the overall goal of a penetration test, which is to identify vulnerabilities and demonstrate the potential impact of an attacker successfully exploiting them. The persistence of the badge allows the tester to carry out advanced attacks over time that would be difficult to achieve without legitimate physical access. The tester might use this access to perform social engineering, install keyloggers, or even obtain access to server rooms.
Therefore, the most direct and reasonable explanation for the observed behavior is that the penetration tester is attempting to establish a persistent, authorized-looking presence within the target environment to facilitate further exploitations. Reprinting badges is a means to this end.
Here are some resources for more information:
OWASP (Open Web Application Security Project): Offers extensive documentation on penetration testing methodologies, including physical security assessments. https://owasp.org/
NIST (National Institute of Standards and Technology): Provides guidelines and standards for cybersecurity, including penetration testing and vulnerability assessments. https://www.nist.gov/
SANS Institute: Offers cybersecurity training and certifications, including courses on penetration testing and ethical hacking. https://www.sans.org/



As part of an engagement, a penetration tester wants to maintain access to a compromised system after rebooting.
Which of the following techniques would be best for the tester to use?

  1. Establishing a reverse shell
  2. Executing a process injection attack
  3. Creating a scheduled task
  4. Performing a credential-dumping attack

Answer(s): C

Explanation:

The correct answer is C, creating a scheduled task. To maintain persistent access to a compromised system after a reboot, the penetration tester needs a mechanism that automatically executes upon system startup.
A scheduled task provides exactly this functionality. It can be configured to run a script or program when the system boots, effectively re-establishing a connection or backdoor without requiring user intervention.
Option A, establishing a reverse shell, provides interactive access, but it's temporary and dependent on the tester actively initiating the connection again after a reboot. It does not automatically re-establish on boot.
Option B, executing a process injection attack, is primarily used for privilege escalation or evading security controls in the moment, not for establishing persistence across reboots. It doesn't guarantee execution after the system restarts.
Option D, performing a credential-dumping attack, aims to obtain user credentials for lateral movement and privilege escalation, but it does not directly provide a persistent access mechanism.
While valuable for the overall penetration test, it doesn't answer the specific need of maintaining access post-reboot.
Scheduled tasks are a common and effective persistence technique because operating systems are designed to reliably execute them at specific times or events, including startup. The persistence is baked into the OS infrastructure itself. By configuring a scheduled task to run a payload that establishes a reverse shell or other form of remote access, the tester ensures that they can regain control of the system after a reboot.
Further reading can be found on Microsoft's documentation for scheduled tasks and persistence techniques in cybersecurity:
Microsoft Scheduled Tasks: https://learn.microsoft.com/en-us/windows/win32/taskschd/task-scheduler-start-page MITRE ATT&CK Persistence Techniques: https://attack.mitre.org/tactics/TA0003/



A penetration tester needs to scan a remote infrastructure with Nmap. The tester issues the following command: nmap 10.10.1.0/24 Which of the following is the number of TCP ports that will be scanned?

  1. 256
  2. 1,000
  3. 1,024
  4. 65,535

Answer(s): B

Explanation:

The correct answer is B (1,000).
Nmap, by default, scans the 1,000 most common TCP ports when a port range isn't explicitly specified. This default behavior is designed to provide a quick and effective overview of likely open services on a target. Scanning all 65,535 TCP ports would be extremely time-consuming, particularly across a large subnet.
While options exist to scan all ports (using the -p- flag), the basic nmap command uses the top 1,000 ports. The command nmap 10.10.1.0/24 without any port specification will thus scan the top 1,000 TCP ports on each host within the 10.10.1.0/24 subnet. The number of hosts in the subnet is calculated based on the /24 CIDR notation. A /24 subnet has 256 IP addresses (10.10.1.0 to 10.10.1.255), but in a default configuration, Nmap will only scan the top 1,000 TCP ports on each IP address. Therefore, the number of ports scanned per host defaults to 1,000. The option to scan more or fewer ports exists, but in its most basic mode, the tool will look at the 1,000 most likely candidates.Resources for further research:
Nmap Documentation: https://nmap.org/docs/



During an assessment, a penetration tester gains access to one of the internal hosts. Given the following command: schtasks /create /tn "Windows Update" /sc onlogon /tr “cmd.exe /c update.exe” Which of the following is the penetration tester trying to do with this code?

  1. Enumerate the scheduled tasks.
  2. Establish persistence.
  3. Deactivate the Windows Update functionality.
  4. Create a binary application for Windows System Updates.

Answer(s): B

Explanation:

The command schtasks /create /tn "Windows Update" /sc onlogon /tr “cmd.exe /c update.exe” is attempting to create a scheduled task named "Windows Update". The /sc onlogon parameter specifies that the task should run every time a user logs on to the system. The /tr “cmd.exe /c update.exe” parameter defines the task to execute update.exe via the command interpreter cmd.exe .
This is a clear attempt to establish persistence. By creating a scheduled task that runs upon user logon, the penetration tester ensures that their malicious code ( update.exe in this case) will execute automatically each time a user logs in. This allows them to maintain access to the compromised system even after it has been rebooted or the user has logged out and back in. The name "Windows Update" is chosen to disguise the malicious task as legitimate system activity, increasing the likelihood that it will go unnoticed by the user. Therefore, the correct answer is B, establishing persistence. Options A, C, and D are incorrect because the command is creating a new task to be executed on each logon, not enumerating existing tasks, deactivating Windows Update, or creating a legitimate update application.
Further Reading:
Microsoft's Schtasks documentation: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/schtasks MITRE ATT&CK Technique T1053.005: Scheduled Task/Job: Scheduled Task: https://attack.mitre.org/techniques/T1053/005/



Given the following statements: Implement a web application firewall. Upgrade end-of-life operating systems. Implement a secure software development life cycle. In which of the following sections of a penetration test report would the above statements be found?

  1. Executive summary
  2. Attack narrative
  3. Detailed findings
  4. Recommendations

Answer(s): D

Explanation:

The correct answer is D, Recommendations. Here's why:
A penetration test report meticulously documents vulnerabilities discovered in a system or network. The report typically follows a logical structure, and the statements provided directly address remediation strategies.
Executive Summary: This section provides a high-level overview of the penetration test's objectives, scope, findings, and overall risk posture.
While it might briefly mention recommendations, it doesn't go into the specifics listed in the statements. It's designed for management and non-technical stakeholders.
Attack Narrative: This section chronologically describes the steps taken by the penetration tester to exploit vulnerabilities. It details the attack paths, tools used, and the vulnerabilities that were successfully exploited. It focuses on how the system was compromised, not how to fix it.
Detailed Findings: This section provides a technical breakdown of each vulnerability discovered. It includes specific technical details, evidence of exploitation, and the potential impact of the vulnerability.
While this section identifies the problems, it doesn't provide explicit solutions or strategies like implementing a WAF or upgrading OS.
Recommendations: This section provides specific, actionable steps that the organization can take to remediate the vulnerabilities identified in the Detailed Findings section. Implementing a WAF, upgrading end-of-life OS, and implementing a secure SDLC are all proactive measures to improve security posture. These are classic examples of recommendations a penetration tester would provide. The recommendations translate the technical findings into practical security improvements. These actions aim to mitigate risks and prevent future exploitation. Upgrading end-of-life OSs directly addresses known vulnerabilities, while a WAF can defend against common web application attacks, and secure SDLC prevents introducing vulnerabilities during development.
Therefore, the statements about implementing a WAF, upgrading OS, and implementing a secure SDLC logically belong in the Recommendations section because they are direct instructions on how to improve security and address the discovered weaknesses.
Relevant links for further research:
OWASP Web Application Firewall (WAF) FAQ: https://owasp.org/www-project-web-application-firewall/ NIST Secure Software Development Framework (SSDF): https://www.nist.gov/itl/applied-cybersecurity/nccoe/project-templates/secure-software-development-framework-ssdf



Which of the following is within the scope of proper handling and most crucial when working on a penetration testing report?

  1. Keeping both video and audio of everything that is done
  2. Keeping the report to a maximum of 5 to 10 pages in length
  3. Basing the recommendation on the risk score in the report
  4. Making the report clear for all objectives with a precise executive summary

Answer(s): D

Explanation:

Here's a detailed justification for why option D is the most accurate choice for proper handling and what is most crucial when working on a penetration testing report:
Option D, "Making the report clear for all objectives with a precise executive summary," is the most crucial aspect of penetration testing report handling. The primary purpose of a penetration testing report is to communicate vulnerabilities and risks to stakeholders, enabling them to make informed decisions about remediation efforts. A clear report ensures that all findings are easily understood, even by those without technical expertise. A precise executive summary is vital because it provides a high-level overview of the key findings, the overall security posture, and the recommended actions. This allows executives and managers to quickly grasp the essential information without needing to delve into the technical details. Without clarity and a concise summary, the report's impact is significantly diminished, potentially leading to delayed or ineffective remediation.
Option A, regarding video and audio recordings, while sometimes useful for documentation or training, isn't always within the scope of proper handling and certainly isn't most crucial. It raises privacy and storage concerns and isn't a universally required deliverable.
Option B, limiting the report to 5-10 pages, is impractical. A comprehensive penetration test often uncovers numerous vulnerabilities that require detailed explanations, context, and supporting evidence. Arbitrarily restricting the report length hinders the ability to convey crucial information and provide actionable recommendations.
Option C, basing recommendations solely on the risk score, is a simplification.
While the risk score is a vital factor, it shouldn't be the only basis for recommendations. Contextual factors, business impact, remediation feasibility, and the organization's risk appetite must be considered. A vulnerability with a high-risk score may be acceptable if the likelihood of exploitation is extremely low or the cost of remediation is prohibitive compared to the potential impact.
In conclusion, clarity, comprehensibility, and a well-defined executive summary (Option D) are the most crucial aspects of a penetration testing report, ensuring that the information is effectively communicated and actionable for the intended audience.
Further research can be conducted via resources like:
SANS Institute: https://www.sans.org/ (Offers various security training and resources, including report writing) OWASP (Open Web Application Security Project): https://owasp.org/ (Provides resources on web application security, including penetration testing methodologies) NIST (National Institute of Standards and Technology): https://www.nist.gov/ (Offers cybersecurity frameworks and guidelines)



HOTSPOT (Drag and Drop is not supported)
A penetration tester is performing reconnaissance for a web application assessment. Upon investigation, the tester reviews the robots.txt file for items of interest. INSTRUCTIONS -Select the tool the penetration tester should use for further investigation. Select the three entries in the robots.txt file that the penetration tester should recommend for removal. If at any time you would like to bring back the inital state of the simulation, please click the Reset All button.

  1. See Explanation section for answer.

Answer(s): A

Explanation:



SIMULATION
A penetration tester is using a test account within an application to discover any vulnerabilities within the change email function. During testing, the penetration tester discovers the application is vulnerable to an attack that would allow for the tester to change a user’s email address wile logged in. The user's account would be disabled after three unsuccessful login attempts. INSTRUCTIONS -Part 1 -Examine the two HTTP requests in which the penetration tester was successful in changing the test email address within the application and identify the type of attack that has most likely exploited the vulnerability. Part 2 -Use the drop-down menus to select elements to represent the malicious HTTP request that will accomplish the desired exploit. If at any time you would like to bring back the initial state of the simulation, please click the Reset All button.

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Viewing page 10 of 44
Viewing questions 73 - 80 out of 372 questions


Post your Comments and Discuss CompTIA PT0-003 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!