detecting-pass-the-ticket-attacks
它能做什么
这个工具可以帮你找出一种攻击:攻击者从一台电脑上窃取访问“票据”(Kerberos 票据),再拿到另一台电脑上使用,从而冒充他人。它会分析 Windows 事件日志,找出与这些票据相关的可疑行为。
适用场景
- ✓调查一起可疑的安全事件。
- ✓编写规则,用来检测凭据窃取行为。
- ✓检查你的安全监控是否运行良好。
技能链接
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/detecting-pass-the-ticket-attacks/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“帮我查找可疑的 Kerberos 票据活动。”
每周 5 个新技能,1 分钟读完。
工作原理
工具会检查记录票据使用情况的特定 Windows 事件(4768、4769、4771)。它会寻找异常模式,比如同一个票据出现在多台电脑上,或者使用了较弱的加密类型,这些都可能是攻击的迹象。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Detecting Pass-the-Ticket Attacks
Overview
Pass-the-Ticket (PtT) is a credential theft technique (MITRE ATT&CK T1550.003) where adversaries steal Kerberos tickets (TGT or TGS) from one system and replay them on another to authenticate without knowing the user's password. This skill teaches detection of PtT attacks by correlating Windows Security Event IDs 4768 (TGT request), 4769 (TGS request), and 4771 (pre-authentication failure) for anomalies such as ticket reuse across different hosts, RC4 encryption downgrades, and unusual service ticket request volumes.
When to Use
- When investigating security incidents that require detecting pass the ticket attacks
- 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 advanced audit policy enabled (Audit Kerberos Authentication Service, Audit Kerberos Service Ticket Operations)
- Splunk or Elastic SIEM ingesting Windows Security event logs
- Sysmon deployed on endpoints for supplementary process telemetry
- Python 3.8+ with
requestslibrary
Steps
- Enable Kerberos audit logging on Domain Controllers via Group Policy
- Forward Event IDs 4768, 4769, and 4771 to SIEM platform
- Deploy detection rules for RC4 encryption downgrade (TicketEncryptionType 0x17)
- Create correlation rule for ticket reuse across multiple source IPs
- Build baseline of normal TGS request volume per user/host
- Alert on standard deviation anomalies in ticket request patterns
- Investigate flagged events with enrichment from Active Directory
Expected Output
JSON report containing detected PtT indicators including anomalous ticket requests, RC4 downgrades, cross-host ticket reuse events, and risk-scored users with MITRE ATT&CK technique mapping.
常见问题
什么是“Kerberos 票据”?
它就像一张电子通行证,让你无需每次都输入密码,就能访问网络中的电脑或服务器等资源。它属于名为 Kerberos 的身份验证系统。
什么是“Pass-the-Ticket”攻击?
这是黑客常用的一种手法。他们从一台电脑上窃取一张“电子通行证”(Kerberos 票据),再拿到另一台电脑上使用,假装成原用户,在不知道密码的情况下访问系统。
分析了哪些 Windows 信息?
编号为 4768、4769 和 4771 的安全事件,它们分别记录票据何时被申请、何时被使用,以及身份验证何时失败。
详情
作者的原始描述
Detect Kerberos Pass-the-Ticket (PtT) attacks by analyzing Windows Event IDs 4768, 4769, and 4771 for anomalous ticket usage patterns, with detection queries for Splunk and Elastic SIEM. Use when investigating incidents involving stolen or replayed Kerberos tickets, building detection rules or threat hunting queries for ticket abuse, or validating SOC monitoring coverage for credential-theft attac
热度
- GitHub 星标
- 35k
- 排名
- #7858
- 许可证
- Apache-2.0
- 更新时间
- 2026/8/31
评论
- …
同一仓库的更多技能
abusing-dpapi-for-credential-access
35k为你的 AI 智能体提供针对特定任务的现成指令,让它完成得更好、更快。
abusing-shadow-credentials-for-privesc
35k教你的 AI 智能体写出清晰、结构良好的文本。
achieving-cmmc-level-2-compliance
35k帮助你的智能体搭建符合 CMMC Level 2 合规要求的环境。它会落实安全要求,并管理必要的文档。
acquiring-disk-image-with-dd-and-dcfldd
35k帮助你的智能体创建硬盘的精确副本。这能确保调查过程中信息不丢失、不被篡改。