Threat Intelligence

Golden Ticket: Detection, Defence, and Mitigation

Golden Ticket attacks represent one of the most critical threats to enterprise security, enabling attackers to gain persistent access to network resources. By forging Kerberos Ticket Granting Tickets

CyberZonic Intelligence31 March 20265 min read
Golden TicketPersistenceT1558.001Unusual Kerberos authentication events (Event ID 4768/4769)Authentication from disabled or non-existent accounts

Golden Ticket attacks represent one of the most critical threats to enterprise security, enabling attackers to gain persistent access to network resources. By forging Kerberos Ticket Granting Tickets (TGTs) using a compromised KRBTGT account hash, malicious actors can effectively impersonate any user within the domain, leading to significant data breaches and system compromises. As such, understanding the mechanics of Golden Ticket attacks, along with robust detection and mitigation strategies, is essential for security teams.

Introduction — What is this threat and why should security teams care?

The Golden Ticket attack is a sophisticated technique classified under the MITRE ATT&CK framework as T1558.001, which falls under the persistence tactic. This attack allows adversaries to maintain long-term access to sensitive systems by exploiting weaknesses in the Kerberos authentication protocol. Given the critical role Kerberos plays in authenticating users and services in Active Directory environments, the implications of a successful Golden Ticket attack can be devastating. Security teams must prioritise detection and defence mechanisms against this threat to safeguard their organisations from potential breaches.

How It Works — Technical breakdown of the attack technique

At the heart of a Golden Ticket attack is the compromise of the KRBTGT account, the account used by the Key Distribution Centre (KDC) to encrypt and sign all Kerberos tickets. Attackers typically gain access to the KRBTGT account hash through various means, such as:

  1. Credential Dumping: Using tools like Mimikatz to extract credentials from memory or Active Directory.
  2. Phishing or Social Engineering: Gaining initial access to the network and escalating privileges to reach the KRBTGT account.

Once the KRBTGT account hash is obtained, attackers can forge TGTs, which are used to request service tickets for any user account in the domain. This enables them to authenticate as any user, including domain administrators, without detection. The forged tickets can have extended lifetimes, allowing attackers to maintain access for months or even years if left unchecked.

Detection — How to identify this threat in your environment

Detecting Golden Ticket attacks requires vigilant monitoring of Kerberos-related events. Key indicators include:

  1. Unusual Kerberos Authentication Events: Monitor for Event ID 4768 (A Kerberos authentication ticket (TGT) was requested) and Event ID 4769 (A Kerberos service ticket was requested). Look for anomalies such as:

    • Requests for TGTs from unusual or disabled accounts.
    • TGTs with unusually long lifetimes or properties that deviate from standard configurations.
  2. Authentication from Disabled or Non-Existent Accounts: Any authentication attempts from accounts that are disabled or do not exist should trigger alerts.

  3. Kerberos Tickets with Unusual Lifetimes or Properties: Tickets that have been issued with extended lifetimes or properties that differ from organisational norms should be investigated.

Implementing a Security Information and Event Management (SIEM) solution can help automate the detection of these events, enabling quicker response times.

Mitigation — Specific defensive measures and configurations

To mitigate the risk of Golden Ticket attacks, organisations should implement the following measures:

  1. KRBTGT Account Password Rotation: Regularly rotate the KRBTGT account password—ideally, twice in quick succession. This action invalidates any previously forged tickets, disrupting an attacker's access.

  2. Domain Controller Hardening and Monitoring: Ensure that domain controllers are secured against unauthorised access. Implement strict access controls, regularly patch systems, and monitor for any suspicious activity.

  3. Privileged Access Management (PAM): Limit access to privileged accounts and implement PAM solutions to control and monitor the use of administrative privileges. This reduces the likelihood of an attacker gaining access to the KRBTGT account.

  4. Implement Strong Authentication Mechanisms: Consider using multi-factor authentication (MFA) for sensitive accounts to add an additional layer of security.

  5. Regular Security Audits: Conduct regular audits of account permissions and Kerberos ticket lifetimes to ensure compliance with security policies.

Recommended Actions — Step-by-step response plan for security teams

In the event of a suspected Golden Ticket attack, security teams should follow this response plan:

  1. Immediate Investigation:

    • Review logs for unusual Kerberos authentication events (Event IDs 4768 and 4769).
    • Identify any accounts that have been accessed inappropriately, particularly those that are disabled or do not exist.
  2. Containment:

    • Disable the KRBTGT account to prevent further ticket generation.
    • Isolate affected systems from the network to prevent lateral movement.
  3. Eradication:

    • Rotate the KRBTGT password immediately, followed by a second rotation after a short interval.
    • Remove any malicious accounts or tools identified during the investigation.
  4. Recovery:

    • Restore affected systems from clean backups.
    • Ensure that all systems are patched and updated before reconnecting to the network.
  5. Post-Incident Review:

    • Conduct a thorough analysis of the incident to identify root causes and improve detection and response strategies.
    • Update security policies and training to address any identified gaps.
  6. Continuous Monitoring:

    • Implement ongoing monitoring for Kerberos authentication events and ensure that alerts are configured for unusual activities.

By adopting these measures, organisations can significantly reduce their risk of falling victim to Golden Ticket attacks and enhance their overall security posture.

In conclusion, the threat posed by Golden Ticket attacks is significant and requires proactive measures to detect, defend, and mitigate. CyberZonic offers comprehensive cybersecurity consultancy services to help organisations strengthen their defences against such threats. Contact us today to learn how we can assist you in securing your network against advanced persistent threats.

Leave a Comment