Active Directory
Users & Groups
Net.exe
Net.exe installed by default on all Windows operating system, Therefore it would be the first go to in domain enumeration.
Note:
The Net.exe
misses subgroups memberships
Enumerate domain users.
Enumerate information of specific user such as group membership, password last set or whether if the account is active.
Enumerate domain groups.
Enumerate group members.
PowerShell and .NET Classes
Basic function which retrieve LDAP Queries using .NET Classes.
The Function uses two important .NET Classes:
System.DirectoryServices.DirectoryEntry
: This class represents a node or object in an Active Directory hierarchySystem.DirectoryServices.DirectorySearcher
: This class is used to perform queries against Active Directory.
Enumerate domain users.
Enumerate specific user properties.
Enumerate domain groups.
Enumerate specific group properties.
Enumerate specific group members.
Enumerate specific domain user memberships.
Enumerate specific domain group membership
SPN
lists all the Service Principal Names (SPNs) that are registered for the specified user account in Active Directory.
Active Sessions
Shows users logged onto the specific computer using the PsLoggedon
tool from sysinternals.
Domain Controller
Retrieve the Domain Controller with the PdcRoleOwner
which indicates its the main DC.
PowerView
PowerView is a PowerShell toolset for AD enumeration, useful for penetration testing. It helps gather domain info, user/group details, inspect permissions, and identify network shares. Commonly used in Active Directory enumeration.
Last updated