Proof-of-concept tools for my AD Forest trust research
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
getftST.py Initial commit Sep 24, 2018
kerberosv5.patch

README.md

Forest Trust Tools

These are Proof of Concept tools for playing with forest trusts and cross-realm kerberos tickets. You will need to apply the kerberosv5.patch to your local impacket install (it is recommended to run this in a virtualenv or pipenv).

Released as part of my blog series on Forest trusts: https://dirkjanm.io/active-directory-forest-trusts-part-one-how-does-sid-filtering-work/

getftST.py

Reads a TGT or TGS (TGS requires manual changes in the source code) and decrypts this using the NT hash or Kerberos key you put in the source code. It will print the PAC inside your ticket. Then it will request an ST for the specified SPN, at the DC you specify. It will decrypt this and print the PAC, then store it in a file.