User Enumeration

Domain Enumeration - User

PowerView

#Get a list of users in the current domain
Get-NetUser
Get-NetUser -Username student1
#Find User Accounts used as Service Accounts
Get-NetUser -SPN


#Get list of all properties for users in the current domain
Get-UserProperty
Get-UserProperty –Properties pwdlastset
Get-UserProperty –Properties badpwdcount



#Search for a particular string in a user's attributes:
Find-UserField -SearchField Description -SearchTerm "pass"

The ActiveDirectoryPowerShell module

Well-Known SID

https://docs.microsoft.com/en-us/troubleshoot/windows-server/identity/security-identifiers-in-windows

Last updated

Was this helpful?