πŸ”

PT0-003 β€” questions

Page 12 of 17 Β· 334 total questions.

Topic 1 Β· Question 227

A penetration tester needs to quickly transfer an exploit from a Linux system to a Windows 10 system within the network. Which of the following is the best way to accomplish this task?

  • Anc -lvp 8080
  • Bnc -lnvp 443
  • Cpython3 -m http.server 80 (correct answer)
  • Dneat -lvp 8080
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: python3 -m http.server 80

Topic 1 Β· Question 228

A penetration tester downloads a JAR file that is used in an organization’s production environment. The tester evaluates the contents of the JAR file to identify potentially vulnerable components that can be targeted for exploit. Which of the following describes the tester's activities?

  • ASAST
  • BSBOM
  • CICS
  • DSCA (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: SCA

Topic 1 Β· Question 229

During a wireless penetration assessment for a small business client, a tester attempts to capture wireless packets. However, whenever the tester sets the capture device to monitor mode, it fails to see the client's wireless network, as provided by the scope. Which of the following is the most likely reason for this issue?

  • AThe clients network uses 6GHz and not 5GHz/2.4GHz (correct answer)
  • BThe tester misconfigured the capture device
  • CThe client provided the wrong SSID for the network
  • DThe tester is not using Aircrack-ng
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: The clients network uses 6GHz and not 5GHz/2.4GHz

Topic 1 Β· Question 230

A tester compromises a target host and then wants to maintain persistent access. Which of the following is the best way for the attacker to accomplish the objective?

  • AConfigure and register a service (correct answer)
  • BInstall and run remote desktop software
  • CSet up a script to be run when users log in.
  • DPerform a kerberoasting attack on the host
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Configure and register a service

Topic 1 Β· Question 231

A penetration tester obtains network-level access to a hardened subnet that has no Windows-based hosts and needs to find credentials. The client mentioned that the SOC is only monitoring user endpoints and not servers. Which of the following commands should the tester use?

  • Apwinspector -i -o -m 8 -M 16 -1 -u -n -p
  • Bresponder -I eth0
  • Cnmap -sV -n -T3 -p 22 --reason
  • Dhydra -L root -P /path/to/wordlist -t 3 -M (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: hydra -L root -P /path/to/wordlist -t 3 -M

Topic 1 Β· Question 232

A penetration tester accesses and enumerates a host and then runs the following commands: $ runlevel $ ls -l /etc/rc5.d $ vi /etc/rc5.d/S01ssh.dd Which of the following is the tester most likely attempting to do?

  • AFind credentials within the SSH daemon
  • BEstablish persistence on the host (correct answer)
  • CAdd a key to the host for SSH.
  • DHarvest users' private keys.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Establish persistence on the host

Topic 1 Β· Question 233

A penetration testing company is defining the rules of engagement with a client. Which of the following should the company include?

  • ANon-disclosure agreement
  • BEscalation process (correct answer)
  • CURL list
  • DAuthorization letter
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Escalation process

Topic 1 Β· Question 234

Which of the following differentiates MITRE ATT&CK from PTES?

  • AMITRE ATT&CK emphasizes real-world adversary behavior patterns, while PTES outlines structured test phases (correct answer)
  • BMITRE ATT&CK defines risk scoring models for vulnerabilities, while PTES focuses on defensive controls.
  • CMITRE ATT&CK organizes asset inventories, while PTES provides data breach response procedures
  • DMITRE ATT&CK provides detailed exploit code samples, while PTES focuses on threat actor profiles
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: MITRE ATT&CK emphasizes real-world adversary behavior patterns, while PTES outlines structured test phases

Topic 1 Β· Question 235

A company's incident response team determines that a breach occurred because a penetration tester left a web shell. Which of the following should the penetration tester have done after the engagement?

  • AEnable a host-based firewall on the machine
  • BRemove utilized persistence mechanisms on client systems (correct answer)
  • CRevert configuration changes made during the engagement
  • DTurn off command-and-control infrastructure
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Remove utilized persistence mechanisms on client systems

Topic 1 Β· Question 236

A penetration tester gained a foothold within a network. The penetration tester needs to enumerate all users within the domain. Which of the following is the best way to accomplish this task?

  • Apwd.exe
  • Bnet.exe (correct answer)
  • Csc.Π΅Ρ…Π΅
  • Dmsconfig.exe
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: net.exe

Topic 1 Β· Question 237

A penetration tester wants to automatically enumerate all ciphers permitted on TLS/SSL configurations across a client's internet-facing and internal web servers. Which of the following tools or frameworks best supports this objective?

  • ANmap Scripting Engine (correct answer)
  • BShodan
  • CImpacket
  • DNetcat
  • EBurp Suite
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Nmap Scripting Engine

Topic 1 Β· Question 238

A penetration tester gains initial access to a system and gets ready to perform additional reconnaissance. The tester cannot use Nmap on the system they used to gain initial access. The tester develops the following script to scan a network range: The tester wants to modify the current script so multiple ports can be scanned. The tester enters a comma-separated list of ports in the port variable. Which of the following should the tester do next to provide the desired functionality?

Exhibit 1 for question 238
  • ADuplicate the $socket code block and modify $port for each new port variable.
  • BAdd a new Foreach loop directly beneath the other Foreach loop and enclose with {...}. (correct answer)
  • CAdd $p in $port to the initial Foreach loop directly following the $range variable.
  • DAdd $(Each ($p in $port) on the line before $socket and enclose with {....}.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Add a new Foreach loop directly beneath the other Foreach loop and enclose with {...}.

Topic 1 Β· Question 239

After obtaining a reverse shell, a penetration tester identifies a locally cloned Git repository that contains thousands of files and directories on a Windows machine. The tester suspects there could be sensitive information related to "ProjectX." Which of the following commands should the tester use in a script to identify potential files to produce the best results?

  • Agc * | select "ProjectX"
  • Bdir /R | findstr "ProjectX"
  • CGet-ChildItem * | Select-String "ProjectX"
  • Dgci -Path . -Recurse | Select-String -Pattern "ProjectX" (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: gci -Path . -Recurse | Select-String -Pattern "ProjectX"

Topic 1 Β· Question 240

During an engagement, a penetration tester receives a list of target systems and wants to enumerate them for possible vulnerabilities. The tester finds the following script on the internet: After running the script, the tester runs the following command: Which of the following should the tester do next?

Exhibit 1 for question 240Exhibit 2 for question 240
  • AReplace line 4 with the following:api = "/api/v2/getToken/data/id/None"
  • BInsert the following line before line 6target = target.split(" ")[0] (correct answer)
  • CInsert the following line before line 7:url = url.lstrip('http://')
  • DReplace line 7 with the followingresponse = requests.posts(url, api)
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Insert the following line before line 6target = target.split(" ")[0]

Topic 1 Β· Question 241

During a penetration test, the tester wants to obtain public information that could be used to compromise the organization's cloud infrastructure. Which of the following is the most effective resource for the tester to use for this purpose?

  • ASensitive documents on a public cloud
  • BOpen ports on the cloud infrastructure
  • CRepositories with secret keys (correct answer)
  • DSSL certificates on websites
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Repositories with secret keys

Topic 1 Β· Question 242

A tester obtains access to an application server via a Java vulnerability and must maintain persistence. The server has a file integrity monitoring control enabled, and the tester cannot disable it. Which of the following actions should the tester take to establish persistence?

  • ADeploy a rootkit.
  • BDrop a beacon.
  • CStart a web shell.
  • DSchedule a task. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Schedule a task.

Topic 1 Β· Question 243

A penetration tester performs the following scan: The tester then manually uses snmpwalk against port 161 and receives valid SNMP responses. Which of the following best explains the scan result for port 161?

Exhibit 1 for question 243
  • AThe SNMP daemon delayed its response beyond Nmap's UDP scan timeout.
  • BNmap marked the port as open|filtered because no response was received. (correct answer)
  • CThe scanned host applied rate limiting to its responses to prevent UDP fingerprinting.
  • DThe Nmap scan lacked root privileges, which reduced packet inspection accuracy.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Nmap marked the port as open|filtered because no response was received.

Topic 1 Β· Question 244

Which of the following components of a penetration test report most directly contributes to prioritizing remediations?

  • AProof of concept
  • BRisk scoring (correct answer)
  • CAttack narrative
  • DExecutive summary
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Risk scoring

Topic 1 Β· Question 245

A penetration tester must gain entry to a client's office building without raising attention. Which of the following should be the tester's first step?

  • AInteracting with security employees to clone a badge
  • BTrying to enter the back door after hours on a weekend
  • CCollecting building blueprints to run a site survey
  • DConducting surveillance of the office to understand foot traffic (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Conducting surveillance of the office to understand foot traffic

Topic 1 Β· Question 246

A penetration tester poses as a member of a company's human resources department. The tester wants to obtain credentials by sending an email containing a link that redirects to a fake website. Which of the following commands is the best way to determine whether the email is flagged as malicious?

  • AResolve-DnsName -Name company.com -Type A
  • Bdig axfr company.com @spf.company.com
  • Cnslookup -q=txt _dmarc.company.com (correct answer)
  • Ddig MX company.com
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: nslookup -q=txt _dmarc.company.com

Showing questions 221–240 of 334 Β· Page 12 of 17