Skip to content

Enumerate accessible machines across a domain or local network via DCOM-based techniques

License

Notifications You must be signed in to change notification settings

pol4ir/Find-DCOMLocalAdminAccess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Find-DCOMLocalAdminAccess

Enumerate accessible machines across a domain or local network via DCOM-based techniques

Usage

Find-DCOMLocalAdminAccess -lhost 192.168.56.30
Find-DCOMLocalAdminAccess -lhost 192.168.56.30 -lport 6789 -threads 5 -Computername dc.contoso.local -timeout 10000

RunAs

The script runs under the current user session. If you're in an interactive shell and need to execute it under a different security context, you can use Runas.

runas /user:contoso.local\user1 /netonly powershell

If you're working in a non-interactive shell, you can use Invoke-RunasCs

Invoke-RunasCs -Domain contoso.local -Username user1 -Password dfgV?DS7-8 -Command 'powershell . "C:\Find-DCOMLocalAdminAccess.ps1";Find-DCOMLocalAdminAccess -lhost "192.168.56.30"' -logontype 9

PTH

mimikatz.exe "sekurlsa::pth /domain:<> /user:<user> /ntlm:<hash> /run:powershell.exe"

PTT

Rubeus.exe -args ptt /ticket:<ticket>

About

Enumerate accessible machines across a domain or local network via DCOM-based techniques

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published