Skip to content

Active Directory Kerberos Golden Ticket Eradication (Double Krbtgt Reset)

Density:

Neutralizes adversary-forged Kerberos Ticket Granting Tickets (Golden Tickets) across an enterprise forest through a strictly sequenced double rotation of the krbtgt account password, managing replication convergence delays and preventing forest-wide authentication outages.

  • ๐Ÿ› ๏ธ PowerShell
  • ๐Ÿ› ๏ธ ActiveDirectory module
  • ๐Ÿ› ๏ธ Repadmin
  • ๐Ÿ› ๏ธ KDC service manager
  1. Verify domain controller replication status and Kerberos maximum ticket lifetime
    Terminal window
    # Check AD replication health across all DCs
    repadmin /replsummary
    # Extract Kerberos policy settings (Default TGT lifetime: 10 hours)
    Get-ADDefaultDomainPasswordPolicy
    Artifacts Preserved: Replication status table, Domain Password Policy export

Phase 2: First Krbtgt Password Reset (Invalidating Older History)

Section titled โ€œPhase 2: First Krbtgt Password Reset (Invalidating Older History)โ€
  1. Execute first krbtgt reset and trigger immediate forest replication
    Terminal window
    # Reset 1: Moves current key to previous key slot; existing legitimate tickets remain valid
    Set-ADAccountPassword -Identity krbtgt -Reset
    repadmin /syncall /AdeP
    Artifacts Preserved: Event ID 4738 (User Account Management), Event ID 4768 (TGT Request)
  1. Wait for Maximum Ticket Lifetime (minimum 10-24 hours) then perform second reset
    Terminal window
    # Wait 10-24h for existing valid user sessions to naturally renew with new key
    # Reset 2: Overwrites the compromised key completely
    Set-ADAccountPassword -Identity krbtgt -Reset
    repadmin /syncall /AdeP
    # Purge local Kerberos tickets on management workstations
    klist purge
    Artifacts Preserved: Final replication audit log, Event ID 4769 (Service Ticket Request)

Krbtgt Key Version Number (kvno)

Inspection Method:

Terminal window
Get-ADUser krbtgt -Properties msDS-KeyVersionNumber | Select msDS-KeyVersionNumber

Success Criteria: msDS-KeyVersionNumber has incremented by exactly 2 from initial baseline.

Forest Replication Status

Inspection Method:

Terminal window
repadmin /showrepl * /csv | ConvertFrom-Csv | Where-Object { $_.'Number of Failures' -ne 0 }

Success Criteria: Zero replication failures across all Domain Controllers.

  • ๐Ÿ”’ Enforce Tier-0 administrative isolation: Domain Admins can only log into Domain Controllers.
  • ๐Ÿ”’ Implement Protected Users security group for all administrative personnel.
  • ๐Ÿ”’ Enable Kerberos Armoring (FAST) and restrict NTLMv1 fallback.