πŸ”

PT0-003 β€” questions

Page 3 of 17 Β· 334 total questions.

Topic 1 Β· Question 41

A client warns the assessment team that an ICS application is maintained by the manufacturer. Any tampering of the host could void the enterprise support terms of use. Which of the following techniques would be most effective to validate whether the application encrypts communications in transit?

  • AUtilizing port mirroring on a firewall appliance (correct answer)
  • BInstalling packet capture software on the server
  • CReconfiguring the application to use a proxy
  • DRequesting that certificate pinning be disabled
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Utilizing port mirroring on a firewall appliance

Explanation

A firewall enforces traffic policy by permitting or blocking connections based on configured rules. This option keeps traffic private / properly secured as required.

Topic 1 Β· Question 42

While performing a penetration testing exercise, a tester executes the following command: PS c:\tools> c:\hacks\PsExec.exe \\server01.comptia.org -accepteula cmd.exe Which of the following best explains what the tester is trying to do?

  • ATest connectivity using PSExec on the server01 using CMD.exe.
  • BPerform a lateral movement attack using PsExec. (correct answer)
  • CSend the PsExec binary file to the server01 using CMD.exe.
  • DEnable CMD.exe on the server01 through PsExec.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Perform a lateral movement attack using PsExec.

Topic 1 Β· Question 43

During an assessment, a penetration tester obtains a low-privilege shell and then runs the following command: findstr /SIM /C:"pass” *.txt *.cfg *.xml Which of the following is the penetration tester trying to enumerate?

  • AConfiguration files
  • BPermissions
  • CVirtual hosts
  • DSecrets (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Secrets

Topic 1 Β· Question 44

A penetration tester finished a security scan and uncovered numerous vulnerabilities on several hosts. Based on the targets' EPSS and CVSS scores, which of the following targets is the most likely to get attacked?

  • ATarget 1: EPSS Score = 0.6 and CVSS Score = 4 (correct answer)
  • BTarget 2: EPSS Score = 0.3 and CVSS Score = 2
  • CTarget 3: EPSS Score = 0.6 and CVSS Score = 1
  • DTarget 4: EPSS Score = 0.4 and CVSS Score = 4.5
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Target 1: EPSS Score = 0.6 and CVSS Score = 4 This option keeps traffic private / properly secured as required.

Topic 1 Β· Question 45

During a discussion of a penetration test final report, the consultant shows the following payload used to attack a system: ?/<sCRitP>aLeRt("pwned")</ScriPt> Based on the code, which of the following options represents the attack executed by the tester and the associated countermeasure?

  • AArbitrary code execution; the affected computer should be placed on a perimeter network
  • BSQL injection attack; should be detected and prevented by a web application firewall
  • CCross-site request forgery; should be detected and prevented by a firewall
  • DXSS obfuscated; should be prevented by input sanitization (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: XSS obfuscated; should be prevented by input sanitization

Topic 1 Β· Question 46

A penetration tester gains shell access to a Windows host. The tester needs to permanently turn off protections in order to install additional payload. Which of the following commands is most appropriate?

  • Asc config start=disabled (correct answer)
  • Bsc query state= all
  • Cpskill
  • Dnet config
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: sc config start=disabled

Topic 1 Β· Question 47

A penetration tester discovers data to stage and exfiltrate. The client has authorized movement to the tester’s attacking hosts only. Which of the following would be most appropriate to avoid alerting the SOC?

  • AApply UTF-8 to the data and send over a tunnel to TCP port 25.
  • BApply Base64 to the data and send over a tunnel to TCP port 80.
  • CApply 3DES to the data and send over a tunnel UDP port 53.
  • DApply AES-256 to the data and send over a tunnel to TCP port 443. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Apply AES-256 to the data and send over a tunnel to TCP port 443.

Topic 1 Β· Question 48

A penetration tester performs a service enumeration process and receives the following result after scanning a server using the Nmap tool: Based on the output, which of the following services provides the best target for launching an attack?

Exhibit 1 for question 48
  • ADatabase
  • BRemote access
  • CEmail
  • DFile sharing (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: File sharing

Topic 1 Β· Question 49

A penetration tester is performing a cloud-based penetration test against a company. Stakeholders have indicated the priority is to see if the tester can get into privileged systems that are not directly accessible from the internet. Given the following scanner information: Server-side request forgery vulnerability in test.comptia.org Reflected cross-site scripting vulnerability in test2.comptia.org Publicly accessible storage system named static_comptia_assets SSH port 22 open to the intemet on test3.comptia.org Open redirect vulnerability in test4.comptia.org Which of the following of the attack paths should the tester prioritize first?

  • ASynchronize all the information from the public bucket and scan it with Trufflehog.
  • BRun Pacu to enumerate permissions and roles within the cloud-based systems.
  • CPerform a full dictionary brute-force attack against the open SSH service using Hydra.
  • DUse the reflected cross-site scripting attack within a phishing campaign to attack administrators.
  • ELeverage the SSRF to gain access to credentials from the metadata service. (correct answer)
Reveal answer & explanation
Correct answer: E

The correct answer is E. Option E: Leverage the SSRF to gain access to credentials from the metadata service.

Topic 1 Β· Question 50

A client recently hired a penetration testing firm to conduct an assessment of their consumer-facing web application. Several days into the assessment, the client's networking team observes a substantial increase in DNS traffic. Which of the following would most likely explain the increase in DNS traffic?

  • ACovert data exfiltration (correct answer)
  • BURL spidering
  • CHTML scrapping
  • DDoS attack
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Covert data exfiltration

Topic 1 Β· Question 51

Which of the following could be used to enhance the quality and reliability of a vulnerability scan report?

  • ARisk analysis
  • BPeer review (correct answer)
  • CRoot cause analysis
  • DClient acceptance
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Peer review

Topic 1 Β· Question 52

During a preengagement activity with a new customer, a penetration tester looks for assets to test. Which of the following is an example of a target that can be used for testing?

  • AAPI (correct answer)
  • BHTTP
  • CIPA
  • DICMP
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: API

Topic 1 Β· Question 53

Before starting an assessment, a penetration tester needs to scan a Class B IPv4 network for open ports in a short amount of time. Which of the following is the best tool for this task?

  • ABurp Suite
  • Bmasscan (correct answer)
  • CNmap
  • Dhping
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: masscan

Topic 1 Β· Question 54

Which of the following activities should be performed to prevent uploaded web shells from being exploited by others?

  • ARemove the persistence mechanisms. (correct answer)
  • BSpin down the infrastructure.
  • CPreserve artifacts.
  • DPerform secure data destruction.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Remove the persistence mechanisms.

Topic 1 Β· Question 55

A penetration tester writes a Bash script to automate the execution of a ping command on a Class C network: Which of the following pieces of code should the penetration tester use in place of the --MISSING-TEXT-- placeholder?

Exhibit 1 for question 55
  • Acrunch 1 254 loop
  • Bseq 1 254
  • Cecho 1-254
  • D{1..254} (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: {1..254}

Topic 1 Β· Question 56

Which of the following components should a penetration tester include in an assessment report?

  • AUser activities
  • BCustomer remediation plan
  • CKey management
  • DAttack narrative (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Attack narrative

Topic 1 Β· Question 57

A penetration tester writes the following script to enumerate a /24 network: The tester executes the script, but it fails with the following error: -bash: syntax error near unexpected token β€˜ping’ Which of the following should the tester do to fix the error?

Exhibit 1 for question 57
  • AAdd do after line 2. (correct answer)
  • BReplace {1..254} with $(seq 1 254).
  • CReplace bash with zsh.
  • DReplace $i with $[i].
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Add do after line 2.

Topic 1 Β· Question 58

A penetration tester launches an attack against company employees. The tester clones the company's intranet log-in page and sends the link via email to all employees. Which of the following best describes the objective and tool selected by the tester to perform this activity?

  • AGaining remote access using BeEF
  • BObtaining the list of email addresses using theHarvester
  • CHarvesting credentials using SET (correct answer)
  • DLaunching a phishing campaign using Gophish
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Harvesting credentials using SET

Topic 1 Β· Question 59

Which of the following techniques is the best way to avoid detection by data loss prevention tools?

  • AEncoding
  • BCompression
  • CEncryption (correct answer)
  • DObfuscation
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Encryption

Explanation

Encryption protects confidentiality by making data unreadable without the appropriate key.

Topic 1 Β· Question 60

During host discovery, a security analyst wants to obtain GeoIP information and a comprehensive summary of exposed services. Which of the following tools is best for this task?

  • AWiGLE.net
  • BWHOIS
  • CtheHarvester
  • DCensys.io (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Censys.io This option keeps traffic private / properly secured as required.

Showing questions 41–60 of 334 Β· Page 3 of 17