githubEdit

Inject

A simple method, Inject is used to inject a kerberos ticket in memory. There are two primary reasons for performing this method

  1. You do not have any kerberos tickets already in memory, for example when working from a non-domain joined system

  2. You wish to revert to different "credentials" after performing impersonation in PsMapExec

Ticket

A base64 encoded Kerberos ticket can be supplied to the -Ticket parameter either directly into the console or can be loaded from file.

The username switch does not need to be provided as a valid kerberos ticket will contain the intended username for the ticket anyway.

PsMapExec -Method Inject -Ticket "doIhsj..."
PsMapExec -Method Inject -Ticket "C:\ticket.txt"

Username and Hash

A username and hash combination can also be provided for authentication. The following hashes are currently accepted:

  1. RC4 / NT

  2. NTLM

  3. AES256 HMAC

     PsMapExec -Method Inject -Username [User] -Hash [Hash]

Username and Password

Of course a traditional username and password combination is also supported. If the provided password contains a "$" ensure the password is wrapped in single quotes.

Last updated