Domain Enumeration
Tools
ActiveDirectory module (ADModule): https://github.com/samratashok/ADModule
Powershell
Get Current Forest
$Forest = [System.DirectoryServices.ActiveDirectory.Forest]
$Forest::GetCurrentForest()Output:
Name : corp.com
Sites : {Default-First-Site-Name}
Domains : {corp.com}
GlobalCatalogs : {dc01.corp.com}
ApplicationPartitions : {DC=ForestDnsZones,DC=corp,DC=com, DC=DomainDnsZones,DC=corp,DC=com}
ForestModeLevel : 6
ForestMode : Windows2012R2Forest
RootDomain : corp.com
Schema : CN=Schema,CN=Configuration,DC=corp,DC=com
SchemaRoleOwner : dc01.corp.com
NamingRoleOwner : dc01.corp.comGet Current Domain
Output:
Get Domain Kerberos Policy
Source: https://github.com/PyroTek3/PowerShell-AD-Recon/blob/master/Get-DomainKerberosPolicy
Output:
PowerView
Import module
Get Current Domain
Get object of another domain
Get Domain SID for the current domain
Get Domain Policy for the Current Domain
Output:
Get Domain Controllers for the current domain
Output:
Get Domain Controllers for another Domain
Get a List of Users in the Current Domain
Output:
ActiveDirectory module
Import module
Get Current Domain
Get object of another domain
Get Domain SID for the current domain
Get Domain Controllers for the current domain
Output:
Get Domain Controllers for another Domain
Get a List of Users in the Current Domain
Output:
Get list of all Properties for Users in the Current Domain
Output:
Last updated
Was this helpful?