GIUDA - Ask a TGS on behalf of another user without password

GET a TGS on behalf of another user without password

Scenario: you are Local Administrator and there is a logged User you want to Impersonate!


Chain: SeTcbPrivilege allows you to read LSA storage, extract the SESSION KEY from TGT, and forge a request asking for a TGS; You must use LUID instead of Username.

Goal: From Local Admin to Domain Admin with Kerberos TGS

Required: Local Administrator and a Domain Admin Logged (or Disconnected). In this guide the Domain Admin User is CALIPENDULA\fagiolo

  1. ask to GIUDA for a shell as SYSTEM

  2. GIUDA -runaslsass or

  3. GIUDA -runaspid:PID (a NT AUTHORITY\SYSTEM's PID, enumerate by yourself) you need a PID running with SeTcpPrivilege, search well and try also WINLOGON's PID! image

  4. ask to GIUDA to show ALL Logged User's LUID

  5. GIUDA -askluids

image

  1. take the LUID that you want to impersonate and ask GIUDA to get the msdsspn that you want image

  2. use PSSession to log on the Domain Controller image

Optional

Optionally you can ask to SAVE the TGS and pass it next or on another Machine (also on Linux, but only if USER doesn't require PREAUTH, because you have only a TGS without TGT)

  1. ask TGS with -save option. GIUDA'll save a file named TICKET.KIRBI so you can copy it image

Thanks

A very big thanks to Erwan22, he does a very powerful set of Pascal Units for AD. Thx Erwan22, you're really great!


Download GIUDA

Next Post Previous Post
No Comment
Add Comment
comment url