New to Claude Skills? Learn how to install them →

mukul975 on GitHub

Detecting Golden Ticket Forgery

Free

Identify forged Kerberos tickets in Active Directory.

Get this skill

Free · Opens the source repo

What Detecting Golden Ticket Forgery does

Detecting Golden Ticket Forgery is a specialized skill designed for cybersecurity professionals tasked with monitoring and securing Active Directory environments. This skill focuses on identifying potential Golden Ticket attacks, which involve the forgery of Kerberos Ticket Granting Tickets (TGTs) using compromised krbtgt account credentials. By analyzing Windows Event ID 4769, the skill looks for indicators of compromise such as RC4 encryption downgrades, abnormal ticket lifetimes, and anomalies related to the krbtgt account. This proactive approach helps in detecting unauthorized access and mitigating the risks associated with credential theft.

The skill leverages Splunk or Elastic SIEM to ingest and analyze Windows Security event logs, specifically targeting events that are critical for identifying forged tickets. It establishes a baseline for Kerberos encryption policies and monitors for deviations that may indicate a security breach. The output is a structured JSON report that highlights significant findings, including risk-scored alerts and mappings to the MITRE ATT&CK framework, which can be invaluable for security operations center (SOC) analysts.

This tool is particularly useful for organizations that have implemented Kerberos authentication and require a systematic method for detecting and responding to potential forgery incidents. It not only aids in incident investigations but also assists in building detection rules and threat-hunting queries tailored to the specific needs of the organization. By utilizing this skill, security teams can enhance their monitoring capabilities and ensure they are prepared to respond to sophisticated attacks targeting their Active Directory infrastructure.

When to use it

Use this skill when investigating potential security incidents involving forged Kerberos tickets or when building detection rules for threat hunting.

When not to use it

This skill is not suitable for environments without Kerberos authentication or where Windows Event logging is not configured properly.

What you can build with it

Incident Investigation

Use this skill to investigate security incidents involving suspected forged Kerberos tickets in Active Directory.

Building Detection Rules

Leverage this skill to create detection rules and threat hunting queries tailored to your organization's security needs.

Monitoring Security Coverage

Validate your security monitoring coverage for Kerberos-related attack techniques using the structured outputs from this skill.

How to install Detecting Golden Ticket Forgery

View source

1. Install with the skills CLI

npx skills add mukul975/anthropic-cybersecurity-skills/detecting-golden-ticket-forgery --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by mukul975

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

  • When investigating security incidents that require detecting golden ticket forgery
  • When building detection rules or threat hunting queries for this domain
  • When SOC analysts need structured procedures for this analysis type
  • When validating security monitoring coverage for related attack techniques

Prerequisites

  • Windows Domain Controller with Kerberos audit logging enabled
  • Splunk or Elastic SIEM ingesting Windows Security event logs
  • Python 3.8+ for offline event log analysis
  • Knowledge of domain Kerberos encryption policy (AES vs RC4)

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.

Frequently asked questions about Detecting Golden Ticket Forgery

Similar skills