Vulnerability & Exploit Database

Back to search

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.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name

post/windows/gather/enum_tokens

Authors

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

Platforms

  • windows

Reliability

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use post/windows/gather/enum_tokens msf post(enum_tokens) > sessions ...sessions... msf post(enum_tokens) > set SESSION <session-id> msf post(enum_tokens) > show options ...show and set options... msf post(enum_tokens) > run