GhostPack / Rubeus

Trying to tame the three-headed dog.
Other
4.11k stars 778 forks source link

Add support for importing tickets into a net only session without needing TCB. #126

Closed tyranid closed 2 years ago

tyranid commented 2 years ago

This PR adds supports for the createnetonly and S4U commands to automatically import a ticket into the logon session of a new net only process. This uses the fact that if you import the ticket while impersonating the new process' token the LSA will importing it to the new session rather the caller's current session. This allows simple one shot creation of a new process with the new ticket without TCB privileges.

0xe7 commented 2 years ago

Hopefully fixed the conflicts now