domain enumeration
Enumerate Current forest, domain, functional level, dc name
$ADClass = [System.DirectoryServices.ActiveDirectory.Domain]
$ADClass::GetCurrentDomain()
Tools
Use microsoft AD module and dll in case if powershell has constrained language mode enabled.
SharpView
ActiveDirectory powershell module => https://github.com/samratashok/ADModule
Microsoft signed DLL => https://github.com/samratashok/ADModule
Find shares on hosts in current domain (Needs defense bypass modification)
Invoke-ShareFinder -Verbose
Find sensative files on computers in the domain (Needs defense bypass modification)
Invoke-FileFinder -Verbose
Find all file servers of the domain (Needs defense bypass modification)
Get-NetFileServer
Last updated