mcpField
D
detecting-pass-the-ticket-attacks

detecting-pass-the-ticket-attacks

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

About detecting-pass-the-ticket-attacks

A security analysis skill for SOC analysts investigating Pass-the-Ticket activity. It correlates Kerberos events to identify ticket reuse, encryption downgrades, and unusual request patterns.

Key features

  1. 01Correlate Kerberos events 4768, 4769, and 4771
  2. 02Detect ticket reuse across hosts
  3. 03Identify RC4 encryption downgrades
  4. 04Baseline ticket request volumes
  5. 05Produce risk-scored JSON reports

Use cases

  1. 01Investigating suspected Pass-the-Ticket incidents
  2. 02Building Kerberos threat-hunting queries
  3. 03Checking monitoring coverage for ticket attacks

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/mukul975/anthropic-cybersecurity-skills --skill detecting-pass-the-ticket-attacks

After installing, type/detecting-pass-the-ticket-attacksin 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 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 requests library

Steps

  1. Enable Kerberos audit logging on Domain Controllers via Group Policy
  2. Forward Event IDs 4768, 4769, and 4771 to SIEM platform
  3. Deploy detection rules for RC4 encryption downgrade (TicketEncryptionType 0x17)
  4. Create correlation rule for ticket reuse across multiple source IPs
  5. Build baseline of normal TGS request volume per user/host
  6. Alert on standard deviation anomalies in ticket request patterns
  7. 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.

Comments

Markdown supported