mcpField
D
detecting-golden-ticket-forgery

detecting-golden-ticket-forgery

github.com/mukul975Security35.2k49 installsUpdated 8w ago
Repository

About detecting-golden-ticket-forgery

A security analysis skill for SOC analysts and threat hunters that identifies possible Golden Ticket forgery in Active Directory by examining Kerberos audit events. It produces a JSON report with risk-scored indicators.

Key features

  1. 01Detects RC4 under AES policy
  2. 02Finds TGS requests without matching TGTs
  3. 03Flags abnormal ticket lifetimes
  4. 04Monitors krbtgt password age
  5. 05Outputs risk scores and MITRE mapping

Use cases

  1. 01Investigating suspected Golden Ticket incidents
  2. 02Writing detection rules or hunting queries
  3. 03Validating Kerberos attack monitoring coverage

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/mukul975/anthropic-cybersecurity-skills --skill detecting-golden-ticket-forgery

After installing, type/detecting-golden-ticket-forgeryin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

LICENSE
references/
api-reference.md
scripts/
agent.py

Details

From the project README

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.

Comments

Markdown supported