Question 60
Within an isolated training lab, the analyst identifies: A service list includes an exposed SMB share, but a tester assumes this automatically allows remote command execution. Which recommendation MOST directly fits this evidence?
- Assess end-to-end protocol plaintext risk and recommend SSH or an equivalent protected alternative.
- Distinguish SMB file access from separate remote execution and privilege requirements.
- Classify WinRM as an available management path distinct from desktop remote access.
- Check the actual configured SSH authentication methods before describing password attack exposure.
Explanation
Correct Answer
B:File sharing and administrative control use different capabilities and permissions. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Assessing end-to-end protocol plaintext risk and recommending SSH or an equivalent protected alternative would not distinguish SMB file access from separate remote execution and privilege requirements.
C:Classifying WinRM as an available management path distinct from desktop remote access would not distinguish SMB file access from separate remote execution and privilege requirements.
D:Checking the actual configured SSH authentication methods would not distinguish SMB file access from separate remote execution and privilege requirements.
Question 61
A penetration testing lead reviewing the approved scope learns that: A BloodHound diagram suggests a user could reach a sensitive group through nested permissions, but no effective rights have been confirmed. Which response is MOST appropriate for this finding?
- Validate per-host permissions and avoid assuming identical authorization from shared identity names.
- Terminate the chain at the excluded boundary and document the untested potential.
- Validate the chain's current group membership and delegated permissions before declaring lateral access.
- Record network reachability without attempting authentication against unapproved accounts.
Explanation
Correct Answer
C:Graph paths describe potential relationships that can be stale or constrained by other controls. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Validating per-host permissions and avoid assuming identical authorization from shared identity names would not validate the chain's current group membership and delegated permissions.
B:Terminate the chain at the excluded boundary and document the untested potential would not validate the chain's current group membership and delegated permissions.
D:Recording network reachability without attempting authentication against unapproved accounts would not validate the chain's current group membership and delegated permissions.
Question 62
During an approved security validation exercise, the following occurs: A permitted cloud read-only role can enumerate storage objects but the team assumes it can also modify every discovered bucket. Which action BEST addresses this specific requirement?
- Enumerate object-level grants within scope and distinguish listing from data-read permission.
- Evaluate the effective cloud policy, explicit denies and resource scope before rating the permission.
- Map the principal's effective read and write permissions separately before describing impact.
- Review token audience, granted scopes and the approved service permission boundary without using unapproved grants.
Explanation
Correct Answer
C:Cloud resource visibility does not imply authority to change objects, IAM rules or network restrictions. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Enumerate object-level grants within scope and distinguish listing from data-read permission would not map the principal's effective read and write permissions separately.
B:Evaluating the effective cloud policy, explicit denies and resource scope would not map the principal's effective read and write permissions separately.
D:Reviewing token audience, granted scopes and the approved service permission boundary without using unapproved grants would not map the principal's effective read and write permissions separately.
Question 63
The customer asks the authorized assessor to evaluate this situation: An exercise team finds an Evilginx-style reverse-proxy phishing concept in a threat report and asks for deployment against actual external partners. What is the MOST defensible next step?
- Categorize the behavior as tailgating or physical impersonation and reinforce entry controls.
- Stop further collection and report the exposure using secure minimum-necessary evidence.
- Restrict the technique discussion to defensive detection and approved isolated training simulations.
- Explain watering-hole risk and prioritize secure browsing, patching and threat monitoring.
Explanation
Correct Answer
C:Credential interception risks make real-world adversary-in-the-middle phishing inappropriate without narrowly authorized safeguards. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Categorizing the behavior as tailgating or physical impersonation and reinforce entry controls would not restrict the technique discussion to defensive detection and approved isolated training simulations.
B:Stopping further collection and reporting the exposure using secure minimum-necessary evidence would not restrict the technique discussion to defensive detection and approved isolated training simulations.
D:Explaining watering-hole risk and prioritizing secure browsing, patching and threat monitoring would not restrict the technique discussion to defensive detection and approved isolated training simulations.
Question 64
The test team is analyzing this evidence from a controlled environment: An enumeration graph shows a low-privilege test account belongs to several nested groups, and the team cannot explain a privileged resource grant. Which recommendation MOST directly fits this evidence?
- Verify account existence using only the approved low-impact enumeration method.
- Distinguish share-level access from file- or object-level authorization.
- Refresh and validate the privilege graph before treating the proposed path as effective.
- Resolve direct and transitive group membership to identify the actual authorization path.
Explanation
Correct Answer
D:Indirect group grants may create access paths that do not appear in one direct membership list. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Verifying account existence using only the approved low-impact enumeration method would not resolve direct and transitive group membership to identify the actual authorization path.
B:Distinguishing share-level access from file- or object-level authorization would not resolve direct and transitive group membership to identify the actual authorization path.
C:Refresh and validate the privilege graph would not resolve direct and transitive group membership to identify the actual authorization path.
Question 65
In a formally authorized penetration test, the team observes: A web app reflects untrusted search text directly into rendered HTML and the test identifies script execution in a synthetic browser session. Which response is MOST appropriate for this finding?
- Classify reflected cross-site scripting and recommend context-appropriate output encoding.
- Identify stored cross-site scripting and require safe rendering for persisted user content.
- Classify server-side template injection and restrict untrusted template evaluation.
- Match output encoding and safe APIs to the actual HTML, JavaScript or URL context.
Explanation
Correct Answer
A:Browser execution of untrusted reflected content crosses a presentation trust boundary. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
B:Identifying stored cross-site scripting and requiring safe rendering for persisted user content would not classify reflected cross-site scripting and recommend context-appropriate output encoding.
C:Classifying server-side template injection and restricting untrusted template evaluation would not classify reflected cross-site scripting and recommend context-appropriate output encoding.
D:Matching output encoding and safe APIs to the actual HTML, JavaScript or URL context would not classify reflected cross-site scripting and recommend context-appropriate output encoding.
Question 66
During a customer-approved security assessment, the tester finds: A scope owner wants to find public internet-facing devices based on indexed service banners without conducting fresh active scans. Which action BEST addresses this specific requirement?
- Use Maltego-style relationship mapping with explicit provenance for each entity.
- Consult the Wayback Machine and mark recovered material as historical evidence.
- Cross-check passive asset intelligence against the signed scope before any direct probing.
- Use Shodan or Censys search results as an initial passive inventory lead.
Explanation
Correct Answer
D:Internet indexing can reveal public services, but freshness and target ownership still require validation. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Graph-based OSINT helps visualize associations without proving every inferred link is owned by the customer; internet indexing can reveal public services, but freshness and target ownership still require validation.
B:Web archives preserve past content but cannot establish a vulnerability remains present today; internet indexing can reveal public services, but freshness and target ownership still require validation.
C:Third-party intelligence may include cloud provider or partner assets outside the engagement boundary; internet indexing can reveal public services, but freshness and target ownership still require validation.
Question 67
A penetration-test report includes the following synthetic observation: A project team has a service-level master agreement but no document specifies the specific addresses, dates or deliverables for this assessment. What is the MOST defensible next step?
- Execute a statement of work covering the test targets, timeline and agreed outputs.
- Put a nondisclosure agreement in place before sharing protected assessment materials.
- Map hosting-provider, customer and tester responsibilities and obtain required platform permission.
- Define the mandatory reporting triggers and notification ownership in the legal engagement plan.
Explanation
Correct Answer
A:A master service agreement provides general contractual terms but does not by itself define each project engagement. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
B:Confidentiality obligations should govern exposure of sensitive information during the pre-engagement exchange; a master service agreement provides general contractual terms but does not by itself define each project engagement.
C:Shared responsibility and provider terms can limit activities even when the customer controls its own application; a master service agreement provides general contractual terms but does not by itself define each project engagement.
D:Legal notification obligations must be understood before testing can expose evidence of an actual compromise; a master service agreement provides general contractual terms but does not by itself define each project engagement.
Question 68
Within an isolated training lab, the analyst identifies: A tester needs to observe and compare HTTP request and response differences on an authorized lab web application. Which recommendation MOST directly fits this evidence?
- Use an intercepting proxy such as Burp Suite or ZAP for permitted non-destructive requests.
- Use a controlled API client such as Postman with approved environment variables and identities.
- Constrain content discovery tools to signed host, path and rate limits.
- Classify tools as capabilities and confirm vulnerability evidence independently from tool availability.
Explanation
Correct Answer
A:A proxy reveals HTTP traffic and supports repeatable analysis without automatically granting broader service access. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
B:API testing should exercise documented interfaces with safe data and keep test secrets out of shared collections; a proxy reveals HTTP traffic and supports repeatable analysis without automatically granting broader service access.
C:Automated discovery cannot treat every linked or related site as an authorized penetration-testing target; a proxy reveals HTTP traffic and supports repeatable analysis without automatically granting broader service access.
D:Tool installation is not proof of exploitable SQL behavior on a particular endpoint; a proxy reveals HTTP traffic and supports repeatable analysis without automatically granting broader service access.
Question 69
A penetration testing lead reviewing the approved scope learns that: A team plans Atomic Red Team simulations against production hosts with no mapping to expected detection rules or rollback steps. Which response is MOST appropriate for this finding?
- Measure observed sensor and response outcomes separately from successful simulation execution.
- Version the simulation and validate cleanup on the actual supported test platform.
- Select bounded approved tests and define expected telemetry and restoration checks first.
- Define adversary-emulation objectives, permitted actions and safety stop conditions before automation.
Explanation
Correct Answer
C:Simulated techniques should test specific controls while retaining safe completion and evidence criteria. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
A:Execution of a test technique does not prove the defensive control noticed or contained it; simulated techniques should test specific controls while retaining safe completion and evidence criteria.
B:Platform changes can alter script side effects and invalidate earlier restoration assumptions; simulated techniques should test specific controls while retaining safe completion and evidence criteria.
D:An emulation platform still requires authorization and a bounded scenario design; simulated techniques should test specific controls while retaining safe completion and evidence criteria.
Question 70
During an approved security validation exercise, the following occurs: A security team sees a recurring remote beacon but confuses the host's legitimate update agent with an unauthorized test framework. Which action BEST addresses this specific requirement?
- Correlate network destination, process signature and change records before classifying command-and-control traffic.
- Remove and verify every related persistence dependency, not only the first executable.
- Avoid installing persistent components and select a non-persistent lab proof.
- Verify scheduled, service and registry triggers before declaring persistence eradicated.
Explanation
Correct Answer
A:Recurring network communication needs attribution and context instead of assuming all callbacks are malicious. Any follow-up test must stay within the documented engagement authorization.
Incorrect Answers
B:Removing and verifying every related persistence dependency, not only the first executable would not correlate network destination, process signature and change records.
C:Avoid installing persistent components and select a non-persistent lab proof would not correlate network destination, process signature and change records.
D:Verifying scheduled, service and registry triggers would not correlate network destination, process signature and change records.
CompTIA PenTest+ (PT0-003) Practice Tests