ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 99 - 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:

The net.exe commands are native to the Windows operating system and are used to manage and enumerate network resources, including user accounts.

Step-by-Step Explanation

Using net.exe Commands:

User Enumeration: The net user command lists all user accounts on the system.

net user

Detailed User Information: To get detailed information about a specific user.

net user <username>

Additional net.exe Commands:

Groups: Enumerate groups and group memberships.

net localgroup

net localgroup <groupname>

Sessions: List active sessions.

net session

Advantages:

Native Tool: No need to install additional software.

Comprehensive: Provides detailed information about users and groups.

Reference from Pentesting Literature:

The use of net.exe commands for user enumeration is a standard practice discussed in various penetration testing guides.

HTB write-ups often include net.exe commands as part of the enumeration phase on Windows systems.

Penetration Testing - A Hands-on Introduction to Hacking

HTB Official Writeups

asked 02/10/2024
Kajenthiran Varnamyilvaganam
47 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first