User Hunting
Find all machines on the current domain where current user has local admin access
Very Noisy! (Tries to access all computers in current domain to check if the current user has admin access)
When RCP and SMB used by Find-LocalAdminAccess are blocked, check remote administration tools like WMI, Powershell remoting that are scripted in Find-WMILocalAdminAcess.ps1, and Find-PSRemotingLocalAdminAccess.ps1.
Find a Computer where current user has admin access using PSRemoting
After finding a computer (dcorp-adminsrv) where current user has admin access, we can access it using "winrs"
Find Computers where a domain admin (or specfied user/group) has sessions
Note: This needs local admin privs to run.
Find computers where a domain admin session is available and current user has admin access (uses Test-AdminAccess).
Find computers (File Servers and Distributed File servers) where a domain admin session is available.
List Sessions on remote machines
Note: Above command doesn’t need admin access on remote machines. Uses Remote Registry and queries HKEY_USERS hive.
List Session on specific remote machines (Opsec Friendly)
Last updated