module

Windows Manage Add User to the Domain and/or to a Domain Group

Disclosed
N/A
Created
2018-05-30

Description

This module adds a user to the Domain and/or to a Domain group. It will
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. You need to migrate to
a process that is running as system. If you don't have privs, this script
exits.

Author

Joshua Abraham jabra@rapid7.com

Platform

Windows

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/manage/add_user_domain
msf post(add_user_domain) > show actions
...actions...
msf post(add_user_domain) > set ACTION < action-name >
msf post(add_user_domain) > show options
...show and set options...
msf post(add_user_domain) > run

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.