Domain Enumeration

We use the following tools to enumerate:

  • Active Directory PowerShell Module

    Import-Module C:\AD\Tools\ADModule-master\Microsoft.ActiveDirectory.Management.dll
    Import-Module C:\AD\Tools\ADModule-master\ActiveDirectory\ActiveDirectory.psd1 
  • BloodHound: https://github.com/BloodHoundAD/BloodHound

  • PowerView: https://github.com/ZeroDayLab/PowerSploit/blob/master/Recon/PowerView.ps1

    • Load PowerView:

      . C:\AD\Tools\PowerView.ps1
  • SharpView: https://github.com/tevora-threat/SharpView/

Common Enumeration Commands

Domain Enumeration

Get Current Domain:

Get-Domain (PowerView)
Get-ADDomain (ActiveDirectory Module)

Get object of another domain

Get domain SID for the current domain:

Get domain policy for current domain:

Get Domain policy for another domain

Get Domain controllers for current domain

Get domain controllers for another domain

Get a list of computers in the current domain

Misc

Get actively logged users on a computer (needs local admin rights on the target)

Get locally logged users on a computer (needs remote registry on the target - started by-default on server OS)

Get the last logged user on a computer (needs administrative rights and remote registry on the target)

Find shares on hosts in current domain.

Find sensitive files on computers in the domain

Get all fileservers of the domain

Last updated