Summary
Create a new Type 9 logon session and Windows access token for the provided credentials.- Needs Admin: False
- Version: 1
- Author: @Ne0nd0g
Arguments
user
- Description: Domain and username to make a token for (e.g. ACME\RASTLEY)
- Required Value: True
- Default Value: None
pass
- Description: The account’s password
- Required Value: True
- Default Value: None
Usage
MITRE ATT&CK Mapping
- T1134.003 Access Token Manipulation: Make and Impersonate Token
Detailed Summary
View the Merlin documentation website here for an in-depth explanation. Themake_token command is used to create a new Windows access token with the Windows LogonUserW API call.
The token is created with a type 9 - NewCredentials logon type.
This is the equivalent of using runas.exe /netonly.
Commands such as
token whoami will show the username for the process and not the created token due to the logon type, but will reflect the new Logon ID