GPEN · Question #412
Analyze the command output below, what action is being performed by the tester?
The correct answer is C. Discovering valid user accounts. The question references a command output (not included in the provided text) and identifies the tester as enumerating valid user accounts on a target system.
Question
Analyze the command output below, what action is being performed by the tester?
Options
- ADisplaying a Windows SAM database
- BListing available workgroup services
- CDiscovering valid user accounts
- DQuerying locked out user accounts
How the community answered
(35 responses)- A9% (3)
- B3% (1)
- C77% (27)
- D11% (4)
Why each option
The question references a command output (not included in the provided text) and identifies the tester as enumerating valid user accounts on a target system.
Displaying the Windows SAM database requires extracting and decoding the SAM registry hive using tools like 'reg save' or secretsdump, which produces NTLM password hashes rather than a human-readable list of account names.
Listing workgroup services involves SMB share enumeration via commands like 'net view' or 'smbclient -L', which returns file shares and printer resources, not user account names.
The referenced output most likely shows results from a user enumeration command such as 'net user', 'enum4linux', or an SAMR/LDAP query, which returns a list of valid local or domain accounts. Enumerating valid usernames is a fundamental post-access and reconnaissance step in penetration testing, enabling follow-on attacks such as password spraying and targeted privilege escalation.
Querying locked-out accounts requires specific Active Directory queries or 'net user [name]' for individual status, and would display lockout state for specific accounts rather than producing a list of all valid usernames.
Concept tested: User account enumeration during Windows penetration testing
Source: https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/cc771865(v=ws.11)
Topics
Community Discussion
No community discussion yet for this question.