nerdexam
GIAC

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.

Penetration Testing Foundations & Reconnaissance

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)
  • A
    9% (3)
  • B
    3% (1)
  • C
    77% (27)
  • D
    11% (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.

ADisplaying a Windows SAM database

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.

BListing available workgroup services

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.

CDiscovering valid user accountsCorrect

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.

DQuerying locked out user accounts

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

#user enumeration#Windows reconnaissance#account discovery#command analysis

Community Discussion

No community discussion yet for this question.

Full GPEN Practice