detecting-golden-ticket-forgery skill (Anthropic-Cybersecurity-Skills)
- Install
- SKILL.md (verbatim)
- Overview
- When to Use
- Prerequisites
- Steps
- Expected Output
- Other files in this skill
- references/api-reference.md (verbatim)
- Windows Security Event IDs
- Event ID 4768 - TGT Requested (AS-REQ)
- Event ID 4769 - TGS Requested (TGS-REQ)
- Detection Indicators
- Splunk SPL Queries
- RC4 TGS Detection (Golden Ticket)
- Orphaned TGS (No Prior TGT)
- krbtgt Service Anomaly
- Elastic KQL
- RC4 Downgrade in Elastic
- MITRE ATT&CK
- CLI Usage
What it does. Detect Kerberos Golden Ticket forgery (e.g. Mimikatz-forged tickets) by analyzing Part of mukul975/Anthropic-Cybersecurity-Skills (817 security skills) (mukul975/Anthropic-Cybersecurity-Skills).
| Upstream | mukul975/Anthropic-Cybersecurity-Skills |
| Skill file | skills/detecting-golden-ticket-forgery/SKILL.md |
| License | Apache-2.0 (skill folder LICENSE) |
| Author | mukul975 |
| Fetched | 2026-09-10 |
Install
npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill detecting-golden-ticket-forgery, or copy the skill folder into~/.claude/skills/detecting-golden-ticket-forgery/.- Raw file:
curl -sL https://raw.githubusercontent.com/mukul975/Anthropic-Cybersecurity-Skills/HEAD/skills/detecting-golden-ticket-forgery/SKILL.md
SKILL.md (verbatim)
name: detecting-golden-ticket-forgery
description: 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 krbtgt credential theft in Active Directory.
domain: cybersecurity
subdomain: threat-detection
tags:
- golden-ticket
- kerberos
- active-directory
- mimikatz
- splunk
- credential-theft
- windows-security
version: '1.0'
author: mahipal
license: Apache-2.0
d3fend_techniques:
- Token Binding
- Restore Access
- Reissue Credential
- Decoy User Credential
- Authentication Cache Invalidation
nist_csf:
- DE.CM-01
- DE.AE-02
- DE.AE-06
- ID.RA-05
mitre_attack:
- T1078
- T1190
- T1059
- T1003
- T1110
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
- Audit domain Kerberos encryption policy to establish AES-only baseline
- Forward Event IDs 4768 and 4769 to SIEM platform
- Detect RC4 (0x17) encryption in TGS requests where AES is enforced
- Identify TGS requests without corresponding TGT requests (forged ticket indicator)
- Alert on ticket lifetimes exceeding MaxTicketAge domain policy
- Monitor krbtgt account password age and last reset date
- 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.
Other files in this skill
references/api-reference.md (verbatim)
Golden Ticket Forgery Detection API Reference
Windows Security Event IDs
Event ID 4768 - TGT Requested (AS-REQ)
Key Fields:
TargetUserName - Account requesting TGT
TargetDomainName - Domain of requesting account
IpAddress - Source IP
TicketEncryptionType - 0x12 (AES256), 0x11 (AES128), 0x17 (RC4)
PreAuthType - 15 = PA-ENC-TIMESTAMP (normal)
Event ID 4769 - TGS Requested (TGS-REQ)
Key Fields:
TargetUserName - Account using the ticket
ServiceName - SPN of target service
IpAddress - Source IP of requestor
TicketEncryptionType - 0x17 = RC4 (Golden Ticket indicator)
TicketOptions - Kerberos ticket flags
LogonGuid - Correlate with Event 4624
Detection Indicators
| Indicator | Normal | Golden Ticket |
|---|---|---|
| TicketEncryptionType | 0x12 (AES256) | 0x17 (RC4-HMAC) |
| TGT Lifetime | <= 10 hours | Often 10+ years |
| TGS without TGT | Always preceded by 4768 | 4769 without 4768 |
| Domain field | Matches domain | May be blank or incorrect |
Splunk SPL Queries
RC4 TGS Detection (Golden Ticket)
index=wineventlog sourcetype="WinEventLog:Security" EventCode=4769
TicketEncryptionType=0x17
ServiceName!="krbtgt"
| stats count by TargetUserName, IpAddress, ServiceName
| where count > 3
| sort -count
Orphaned TGS (No Prior TGT)
index=wineventlog EventCode=4769
| join type=left TargetUserName
[search index=wineventlog EventCode=4768
| dedup TargetUserName | fields TargetUserName]
| where isnull(TargetUserName)
| stats count by TargetUserName, IpAddress
krbtgt Service Anomaly
index=wineventlog EventCode=4769 ServiceName="krbtgt*"
| table _time, TargetUserName, IpAddress, TicketEncryptionType
Elastic KQL
RC4 Downgrade in Elastic
event.code: "4769" AND winlog.event_data.TicketEncryptionType: "0x17"
AND NOT winlog.event_data.ServiceName: "krbtgt"
MITRE ATT&CK
| Technique | ID | Description |
|---|---|---|
| Steal or Forge Kerberos Tickets: Golden Ticket | T1558.001 | Forge TGT using krbtgt hash |
CLI Usage
python agent.py --evtx-xml security_events.xml --output golden_ticket_report.json
python agent.py --show-splunk
python agent.py --evtx-xml events.xml --max-ticket-hours 8
Back to mukul975/Anthropic-Cybersecurity-Skills (817 security skills) or Agent skills.