Detecting golden ticket forgery

From 26zl/cybersec-toolkit · View interactive version

Detecting golden ticket forgery is an AI agent skill from the GitHub repository 26zl/cybersec-toolkit. Detect Kerberos Golden Ticket forgery (e.g. Mimikatz-forged tickets) by analyzing Windows Event ID 4769 for RC4 encryption downgrades (0x17), abnormal ticket lifetimes, and krbtgt account anomalies using Splunk and Elastic SIEM queries. Use when investigating suspected forged Kerberos tickets or krb

How to use this skill

Skill file

Detecting Golden Ticket Forgery

Overview

A Golden Ticket attack (MITRE ATT&CK T1558.001) involves forging a Kerberos Ticket Granting Ticket (TGT) using the krbtgt account NTLM hash, granting unrestricted access to any service in the Active Directory domain. This skill detects Golden Ticket usage by analyzing Event ID 4769 for RC4 encryption type (0x17) in environments enforcing AES, identifying tickets with abnormal lifetimes exceeding domain policy, correlating TGS requests with missing corresponding TGT requests (Event ID 4768), and detecting krbtgt password age anomalies.

When to Use

Prerequisites

Steps

  1. Audit domain Kerberos encryption policy to establish AES-only baseline
  2. Forward Event IDs 4768 and 4769 to SIEM platform
  3. Detect RC4 (0x17) encryption in TGS requests where AES is enforced
  4. Identify TGS requests without corresponding TGT requests (forged ticket indicator)
  5. Alert on ticket lifetimes exceeding MaxTicketAge domain policy
  6. Monitor krbtgt account password age and last reset date
  7. Correlate findings with host/user context for risk scoring

Expected Output

JSON report with Golden Ticket indicators including RC4 downgrades, orphaned TGS requests, abnormal ticket lifetimes, and risk-scored alerts with MITRE ATT&CK technique mapping.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.