Windows Gather Enumerate Domain Admin Tokens (Token Hunter) | Metasploit Exploit Database (DB)

Windows Gather Enumerate Domain Admin Tokens (Token Hunter)

This module will identify systems that have a Domain Admin (delegation) token on them. The module will first check if sufficient privileges are present for certain actions, and run getprivs for system. If you elevated privs to system, the SeAssignPrimaryTokenPrivilege will not be assigned, in that case try migrating to another process that is running as system. If no sufficient privileges are available, the script will not continue.

Search Other Modules


Rank

  • Normal

Authors

  • Joshua Abraham < jabra [at] rapid7.com >

Development


Similar Modules


Usage Information

$ msfconsole

                ##                          ###           ##    ##
 ##  ##  #### ###### ####  #####   #####    ##    ####        ######
####### ##  ##  ##  ##         ## ##  ##    ##   ##  ##   ###   ##
####### ######  ##  #####   ####  ##  ##    ##   ##  ##   ##    ##
## # ##     ##  ##  ##  ## ##      #####    ##   ##  ##   ##    ##
##   ##  #### ###   #####   #####     ##   ####   ####   #### ###
                                      ##

msf > use post/windows/gather/enum_tokens
msf post(enum_tokens) > set SESSION [INTEGER]


Module Options

GETSYSTEM Attempt to get SYSTEM privilege on the target host. (default: true)
SESSION The session to run this module on.
VERBOSE Enable detailed status messages
WORKSPACE Specify the workspace for this module