ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 81 - PT0-003 discussion

Report
Export

A penetration tester gains access to a Windows machine and wants to further enumerate users with native operating system credentials. Which of the following should the tester use?

A.
route.exe print
Answers
A.
route.exe print
B.
netstat.exe -ntp
Answers
B.
netstat.exe -ntp
C.
net.exe commands
Answers
C.
net.exe commands
D.
strings.exe -a
Answers
D.
strings.exe -a
Suggested answer: C

Explanation:

To further enumerate users on a Windows machine using native operating system commands, the tester should use net.exe commands. The net command is a versatile tool that provides various network functionalities, including user enumeration.

net.exe:

net user: This command displays a list of user accounts on the local machine.

net user

net localgroup: This command lists all local groups, and by specifying a group name, it can list the members of that group.

net localgroup administrators

Enumerating Users:

List All Users: The net user command provides a comprehensive list of all user accounts configured on the system.

Group Memberships: The net localgroup command can be used to see which users belong to specific groups, such as administrators.

Pentest

Reference:

Post-Exploitation: After gaining initial access, enumerating user accounts helps understand the structure and potential targets for privilege escalation.

Windows Commands: Leveraging built-in commands like net for enumeration ensures that no additional tools need to be uploaded to the target system, reducing the risk of detection.

Using net.exe commands, the penetration tester can effectively enumerate user accounts and group memberships on the compromised Windows machine, aiding in further exploitation and privilege escalation.

asked 02/10/2024
Artur Sierszen
48 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first