Free PT0-003 Exam Braindumps
CompTIA PenTest+ Questions 145–152 (page: 20)

Updated On: 20-Aug-2026

Which of the following will reduce the possibility of introducing errors or bias in a penetration test report?

  1. Secure distribution
  2. Peer review
  3. Use AI
  4. Goal reprioritization

Answer(s): B

Explanation:

The correct answer is B. Peer review .
Peer review, in the context of penetration testing reports, involves having another experienced penetration tester or security professional examine the report before its final delivery. This process is crucial for identifying potential errors, biases, or omissions that the original author might have overlooked. The reviewer can assess the clarity, accuracy, and completeness of the findings, ensuring that the report provides a balanced and objective representation of the security posture.
By having a second set of eyes, peer review helps to reduce subjective interpretations and validate the conclusions drawn from the testing process. It acts as a quality control measure, improving the overall reliability and credibility of the report. This is especially important as the penetration test report often guides critical decisions regarding security improvements and resource allocation.
Secure distribution (A) is important for protecting the confidentiality of the report but does not directly address the accuracy or potential biases within its content. Using AI (C) could potentially assist in some aspects of report generation or analysis in the future, but current AI tools are not sophisticated enough to fully eliminate bias and errors. Moreover, introducing an AI without proper oversight could introduce new, unforeseen biases. Goal reprioritization (D) might change the scope or focus of the penetration test but does not inherently guarantee a reduction in errors or bias in the resulting report; it's about the objectives, not the accuracy of the findings.
Therefore, peer review is the most effective method among the given options for minimizing errors and biases in a penetration test report. It leverages human expertise and independent judgment to ensure the report's quality and objectivity.
Further Research:
SANS Institute: https://www.sans.org/ OWASP (Open Web Application Security Project): https://owasp.org/ NIST (National Institute of Standards and Technology): https://www.nist.gov/



A penetration tester identifies the URL for an internal administration application while following DevOps team members on their commutes.
Which of the following attacks did penetration tester most likely use?

  1. Shoulder surfing
  2. Dumpster diving
  3. Spear phishing
  4. Tailgating

Answer(s): A

Explanation:

A: Shoulder surfing is correct because it involves observing someone’s screen or input devices to capture sensitive information such as URLs.
The reasoning for this selection lies in the direct observation of the internal administration application’s URL while following the DevOps team members, a method consistent with shoulder surfing. This technique enables the penetration tester to acquire sensitive information without necessitating any interaction or deception, effectively exploiting the natural vulnerabilities in human oversight during casual settings.
Critique of Other Options:
B: Dumpster diving is incorrect as it refers to rummaging through physical trash to obtain sensitive documents or information. This method does not align with the scenario where the tester observed individuals commuting and did not involve retrieving discarded materials.
C: Spear phishing is not applicable because it involves targeting specific individuals through deceptive emails or communications to steal information. The described action of observing individuals does not involve any electronic deceit or targeted phishing attempts.
D: Tailgating is also a misfit as it entails gaining unauthorized access to restricted areas by following an authorized user closely.
While it involves physical proximity, it does not align with the observation of digital content such as URLs.
References:
1. https://www.sans.org/white-papers/37658/ 2. https://www.cyber.gov.au/acsc/view-all-content/publications/shoulder-surfing 3. https://www.imperva.com/learn/application-security/shoulder-surfing/


Reference:

References:
1. https://www.sans.org/white-papers/37658/ 2. https://www.cyber.gov.au/acsc/view-all-content/publications/shoulder-surfing 3. https://www.imperva.com/learn/application-security/shoulder-surfing/



During an assessment, a penetration tester obtains access to an internal server and would like to perform further reconnaissance by capturing LLMNR traffic.
Which of the following tools should the tester use?

  1. Burp Suite
  2. Netcat
  3. Responder
  4. Nmap

Answer(s): C

Explanation:

C is correct as Responder is specifically designed to capture LLMNR traffic and respond to NetBIOS name resolution requests, making it the most suitable tool for this purpose.
Responder operates by listening for LLMNR (Link-Local Multicast Name Resolution) and NetBIOS Name Service requests on the network.
When it detects such requests, it can respond with false information, allowing it to capture authentication hashes and other sensitive information from clients querying for a host. This makes Responder a powerful tool for internal reconnaissance within a compromised server environment.
Evaluation of Other Options:

A: Burp Suite : While Burp Suite is a robust tool for web application security testing, it is not tailored for capturing LLMNR traffic. Its focus lies in intercepting HTTP/HTTPS traffic, which does not assist in the analysis of name resolution protocols.
B: Netcat : Netcat is a versatile networking tool used for reading and writing data across networks. However, it lacks the specific functionality to capture and manipulate LLMNR or NetBIOS traffic, rendering it ineffective for this task.
D: Nmap : Nmap is primarily a network scanning tool used for mapping networks and discovering hosts and services.
While it has capabilities to detect LLMNR services through scripting, it does not intercept or analyze LLMNR traffic in real-time, making it less effective as a choice for the designated task.
Given the context and specific requirements of LLMNR traffic capture, Responder stands out as the most efficient and purpose-built option.
References:
https://www.firedome.io/blog/llmnr-what-is-it-and-how-to-secure-it https://www.sans.org/white-papers/99099/ https://www.cyber.gov.au/acsc/view-all-content/advisories/llmnr-and-netbios-packet-capture-methods


Reference:

References:
https://www.firedome.io/blog/llmnr-what-is-it-and-how-to-secure-it https://www.sans.org/white-papers/99099/ https://www.cyber.gov.au/acsc/view-all-content/advisories/llmnr-and-netbios-packet-capture-methods



A penetration tester needs to obtain sensitive data from several executives who regularly work while commuting by train.
Which of the following methods should the tester use for this task?

  1. Shoulder surfing
  2. Credential harvesting
  3. Bluetooth spamming
  4. MFA fatigue

Answer(s): A

Explanation:

The correct answer is A. Shoulder surfing . Here's why:
The scenario describes executives working on trains, which are public spaces. Shoulder surfing, the act of directly observing someone's screen or keyboard to steal information, is a viable attack vector in such environments. Executives might be typing passwords, accessing sensitive documents, or viewing confidential emails, making them vulnerable to visual observation.
Credential harvesting (B) typically involves phishing, malware, or other methods to trick users into revealing their login credentials.
While potentially useful in a broader penetration test, it's not the most direct or efficient approach given the specific context of executives working in public.
Bluetooth spamming (C) involves sending unsolicited messages or files to Bluetooth-enabled devices.
While annoying, it's unlikely to directly yield sensitive data unless the executives fall for a social engineering trick within the spam. It's more of a nuisance than a data theft method in this context.
MFA fatigue (D) relies on overwhelming a user with numerous MFA prompts until they approve one out of exasperation. This requires prior knowledge of a target and their MFA setup, and a method to trigger the prompts, making it impractical for a quick, opportunistic data grab on a train.
Shoulder surfing is the most direct and simple method to immediately potentially extract sensitive information in the given scenario. It exploits human behavior and the lack of privacy in a public setting, without requiring sophisticated tools or complex techniques.
For further research, consider looking into:
Social Engineering Attacks: OWASP (Open Web Application Security Project) has resources on social engineering techniques, including shoulder surfing. https://owasp.org/ Physical Security Assessments: NIST (National Institute of Standards and Technology) provides guidelines on physical security controls. https://www.nist.gov/



While performing reconnaissance, a penetration tester attempts to identify publicly accessible ICS and IoT systems.
Which of the following tools is most effective for this task?

  1. theHarvester
  2. Shodan
  3. Amass
  4. Nmap

Answer(s): B

Explanation:

The correct answer is B, Shodan. Here's why:
Shodan is a search engine specifically designed to discover and provide information about internet-connected devices. Unlike traditional search engines like Google which crawl websites, Shodan crawls and indexes directly connected devices, including industrial control systems (ICS) and Internet of Things (IoT) devices.
A penetration tester aiming to identify publicly accessible ICS and IoT systems needs a tool that can directly query and identify these devices based on their banners, open ports, services, and other identifying characteristics. Shodan excels at this because it actively scans the internet for such devices and creates a searchable database.
While other tools have their uses, they are less suited for this specific task:
theHarvester is primarily used for gathering emails, subdomains, names, and employee names associated with a specific domain, which is relevant for open-source intelligence (OSINT) but not for direct device discovery. Amass is a powerful tool for subdomain enumeration but is less effective at directly identifying ICS/IoT devices by their characteristics. Nmap is a versatile network scanner, but while it can identify some ICS/IoT devices through port scanning and service detection, it's not its primary purpose, and scanning the entire internet with Nmap is impractical. Furthermore, using Nmap for broad internet scans requires careful consideration to avoid triggering alarms or violating terms of service. Shodan, on the other hand, is specifically designed for this type of broad scan and has measures in place to avoid interfering with operational systems.
In summary, Shodan's specialized focus on discovering and indexing connected devices makes it the most effective tool for identifying publicly accessible ICS and IoT systems during reconnaissance.
Further research:
Shodan: https://www.shodan.io/ Understanding Shodan: https://resources.infosecinstitute.com/topic/shodan-hacking-database/



A penetration tester successfully gained access to manage resources and services within the company’s cloud environment. This was achieved by exploiting poorly secured administrative credentials that had extensive permissions across the network.
Which of the following credentials was the tester able to obtain?

  1. IAM credentials
  2. SSH key for cloud instance
  3. Cloud storage credentials
  4. Temporary security credentials (STS)

Answer(s): A

Explanation:

The correct answer is A, IAM credentials (Identity and Access Management credentials). Here's why:
IAM credentials, in the context of cloud environments like AWS, Azure, or GCP, control access to cloud resources. They define who (users, groups, services) can access what resources and what actions they are allowed to perform. If a penetration tester compromises IAM credentials with "extensive permissions," they effectively gain administrative control over the entire cloud environment. This includes managing resources, creating/deleting instances, modifying network configurations, and accessing data.
SSH keys (B) grant access to individual cloud instances (virtual machines).
While compromising an SSH key is serious, it doesn't necessarily provide control over the entire cloud environment. The scope is limited to the instance the key unlocks.
Cloud storage credentials (C) provide access only to cloud storage services like AWS S3 or Azure Blob Storage. A compromise here would expose stored data but wouldn't necessarily provide widespread administrative control.
Temporary Security Credentials (STS) (D) are short-lived credentials typically obtained using IAM roles and policies.
While they can grant privileged access, they are designed to expire quickly. If the tester "successfully gained access to manage resources," it implies a more persistent and powerful credential set, pointing to a compromised IAM user or role. Therefore, compromised IAM credentials directly enable the scenario described, granting the penetration tester the wide-ranging administrative access needed to manage cloud resources and services. The compromise of such credentials would give the tester capabilities far beyond those granted by the other options.
Further research:
AWS IAM: https://docs.aws.amazon.com/IAM/latest/UserGuide/introduction.html Azure Active Directory: https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/whatis Google Cloud IAM: https://cloud.google.com/iam/docs/overview



Which of the following frameworks can be used to classify threats?

  1. PTES
  2. STRIDE
  3. OSSTMM
  4. OCTAVE

Answer(s): B

Explanation:

STRIDE is the most appropriate framework for classifying threats among the options provided. STRIDE, an acronym for Spoofing, Tampering, Repudiation, Information Disclosure, Denial of Service, and Elevation of Privilege, is a threat modeling methodology specifically designed to identify and categorize potential security threats to a system or application. Each element of STRIDE represents a different category of threat, allowing security professionals to systematically analyze and understand the attack surface.
PTES (Penetration Testing Execution Standard) is a framework for conducting penetration testing.
While useful for identifying vulnerabilities, it doesn't directly classify threats in the same way as STRIDE. OSSTMM (Open Source Security Testing Methodology Manual) is a detailed security testing methodology, also more focused on testing practices than direct threat classification. OCTAVE (Operationally Critical Threat, Asset, and Vulnerability Evaluation) is a risk management framework, which encompasses a broader scope than just threat classification. It focuses on identifying and evaluating organizational risks, not solely on categorizing specific threats like STRIDE.
Therefore, the strength of STRIDE lies in its focused approach to threat classification, providing a structured way to consider potential attacks and plan appropriate mitigation strategies.
While the other frameworks contribute to overall security, STRIDE directly addresses the specific task of classifying threats into distinct categories, making it the most suitable answer.
Authoritative link for further research:
Microsoft's Threat Modeling: https://learn.microsoft.com/en-us/azure/security/develop/threat-modeling-tool-stride



A penetration tester is enumerating a Linux system. The goal is to modify the following script to provide more comprehensive system information: #!/bin/bash ps aux >> linux enum.txt Which of the following lines would provide the most comprehensive enumeration of the system?

  1. cat /etc/passwd >> linux_enum.txt netstat -tulr >> linux_enum.txt cat /etc/bash.bashrc >> linux_enum. txt
  2. whoami >> linux_enum.txt uname -a >> linux_enum.txt ifconfig >> linux_enum.txt
  3. hostname >> linux_enum.txt echo $USER >> linux_enum.txt curl ifconfig.me >> linux_enum.txt
  4. lsof -i >> linux_enum.txt uname -a >> linux_enum.txt ls /home/ >> linux_enum.txt

Answer(s): A

Explanation:

A is correct because it collates essential information on user accounts, network activity, and system configurations, providing a comprehensive overview necessary for effective enumeration.
Justification for Option A
Each command in option A effectively extracts critical system information:
cat /etc/passwd : Lists user accounts on the system, crucial for identifying potential targets.
netstat -tulr : Displays network connections and routing information, revealing open ports and listening services.
cat /etc/bash.bashrc : Shows global bash shell configurations, which may uncover environment variables and functions that could be exploited.
This combination aids in mapping the attack surface thoroughly.
Evaluation of Other Options
Option B : While it includes uname -a and ifconfig , which provide kernel details and IP configurations, it lacks user account information and service states, making it less comprehensive.
Option C : This option focuses mainly on user environment variables and external IP resolution, neglecting core system details like users and running services, which are pivotal for enumeration. Option D : Although lsof -i and ls /home/ are useful, this selection omits detailed user account enumeration and configuration settings necessary for a deeper understanding of the attack surface, thus rendering it less effective. References https://www.comptia.org/content/guides/what-is-pentesting https://www.upguard.com/blog/what-is-network-enumeration https://www.cybintsolutions.com/penetration-testing/



Viewing page 20 of 44
Viewing questions 153 - 160 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!