Skip to content

Kerberos TGS command

skelsec edited this page Apr 16, 2021 · 5 revisions

What it does

Obtains the TGS (ticket-granting-service) ticket for a given service.

Remarks

None

Requirements

You will need two things:

  • Credentials of the user. This credential can be the password or NT hash or secret key RC4/AES128/AES256
  • Have the SPN string of the service/user you wish to get the TGS for

Subcommands

None

Switches

  • -o: Writes the TGS to file in KIRBI format
  • -e --etype: Specifies the requested cipher tpye for ticket encryption. Accepted values: 23, 17, 18

Examples

  • pypykatz tgs <kerberos_url> srv_http@test.corp: Fetches the TGS ticket for the SPN srv_http@test.corp
Clone this wiki locally