A pentester successfully compromises a machine and obtains a valid Kerberos Ticket Granting Ticket (TGT) file (.ccache). To use this ticket for lateral movement on Linux using Impacket, which environment variable must be exported?
Trap 1: KRB_TICKET_PATH
KRB_TICKET_PATH is not a standard environment variable used by Kerberos client libraries or Impacket.
Trap 2: KERBEROS_CACHE
KERBEROS_CACHE is not recognized by standard Kerberos authentication stacks.
Trap 3: AD_TICKET_FILE
AD_TICKET_FILE is a non-existent variable.
- A
KRB_TICKET_PATH
Why wrong: KRB_TICKET_PATH is not a standard environment variable used by Kerberos client libraries or Impacket.
- B
KERBEROS_CACHE
Why wrong: KERBEROS_CACHE is not recognized by standard Kerberos authentication stacks.
- C
KRB5CCNAME
Setting KRB5CCNAME to the path of the .ccache file instructs Impacket to use the injected Kerberos ticket.
- D
AD_TICKET_FILE
Why wrong: AD_TICKET_FILE is a non-existent variable.