Domain Enumeration

PowerViewarrow-up-right is an enumeration script included in PowerSploit toolkit

Get-NetDomain ## Gather information for the current users domain.
Get-NetDomain -Domain myhackingblog.local  ##Gather information on myhackingblog.local
Get-DomainSID  ## Get the current domain's SID.
Get-NetDomainController -Domain myhackingblog.local
Get-NetUser -Domain myhackingblog.local ## Get AD information for all users
Get-NetUser -UserName thecorrectjames  ## Get information for a specific user.
Get-NetGroup *admin*
Get-NetComputer -FullData
Find-LocalAdminAccess -Verbose  ##Find all computers the current user has local adminaccess
Get-NetSession -ComputerName myhackingblog-dc ##List sessions on a computer
Invoke-UserHunter -CheckAccess
Get-NetDomainTrust
Get-DomainTrust -API ## Enumerate domain trusts with the DsEnumerateDomainTrusts API
Get-DomainTrust ## Enumerate domain trusts with LDAP
Get-NetForest
Get-NetForestDomain
Finding Domain Shares

ActiveDirectory Modulesarrow-up-right are written and provided by Microsoft, less likely to trigger alerts as they have a legitimate business use. They are now part of RSAT and for Windows 10 it can be downloaded herearrow-up-right.

LOLBins

Powershell / .NET

Last updated