fuyu12345/terminalgen-skills/active-directory-golden-ticket-medium

Claude Code and agent skill by fuyu12345/terminalgen-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Determine whether a golden ticket attack occurred by correlating Kerberos ticket anomalies, domain policy, and auth event patterns, then emit a strict 3-line verdict file. Use when investigating AD compromise artifacts in terminal tasks with format-validated output.

Install

npx vskill@latest install fuyu12345/terminalgen-skills/active-directory-golden-ticket-medium

SKILL.md

The same SKILL.md was published earlier as fuyu12345/terminalgen-skills/active-directory-golden-ticket-medium.

Detecting Active Directory Golden Ticket from Artifacts

When to Use

  • Investigating suspected Kerberos abuse in Active Directory from static artifacts (ticket dump + auth logs + domain config).
  • Required to produce a strict, machine-checked verdict file (fixed lines/prefixes/format).
  • Need to avoid false conclusions from a single indicator by correlating multiple sources.

Minimal Reliable Workflow

  1. Inspect all evidence sources first.

Read:

  • domain_config.txt (ticket policy, KRBTGT info, SIDs)
  • kerberos_tickets.json (ticket fields, anomalies, PAC fields)
  • auth_events.csv (EventID patterns and timing)
  1. Establish expected baselines from domain policy.

Extract max ticket lifetime, max renewal window, expected encryption types, and KRBTGT account details.

  1. Identify forged-TGT indicators in ticket data.

Flag tickets showing combinations like:

  • Lifetime/renewal far beyond policy
  • Missing initial flag
  • Client address 0.0.0.0 or hostless behavior
  • Encryption downgrade or unusual type for context
  • PAC with high-privilege group memberships
  • Explicit KRBTGT hash usage fields (if present)
  1. Correlate with auth events to confirm issuance mismatch.

Look for service-ticket activity (e.g., repeated 4769) without corresponding TGT issuance events (e.g., missing 4768) for the same identity/time window.

  1. Decide detection status from combined evidence, not one signal.

Mark detected when multiple independent indicators agree (ticket structure + event mismatch + privileged PAC/hash evidence).

  1. Write verdict in exact required format.

Use deterministic write (e.g., printf) to avoid formatting drift:

  • DETECTED: yes|no
  • KRBTGT_HASH: <32-lowercase-hex|unknown>
  • FORGED_USER: <lowercase username|none>
  1. Perform immediate format sanity checks.

Verify exact line count and rendered content before completion.

Common Pitfalls

  • Using only one artifact source.

In all successful runs, correct outcome came from correlating JSON ticket anomalies and CSV event patterns and domain policy.

  • Failing strict output formatting.

Tests validated exact 3-line structure, prefixes, lowercase username, and hash format. Extra lines, wrong case, or wrong prefixes can fail despite correct analysis.

  • Not enforcing lowercase output usernames.

Evidence may show Administrator; output must be lowercase when required (administrator).

  • Skipping line-count verification.

Heredoc/manual edits can introduce accidental blank lines; verify with wc -l.

  • Treating RC4 alone as definitive.

RC4 may appear legitimately in some environments; use it as supporting evidence only when paired with stronger forged-ticket indicators.

Verification Strategy

Use a two-layer check:

  1. Analytic verification (content correctness):
  • Confirm suspicious ticket violates domain ticket/renewal policy.
  • Confirm missing/abnormal issuance pattern in auth events (e.g., 4769 activity without matching 4768).
  • Confirm forged identity and KRBTGT hash source from ticket/PAC/domain data.
  1. Output-contract verification (test-aligned):
  • File exists at required path.
  • Exactly 3 lines.
  • Exact prefixes: DETECTED:, KRBTGT_HASH:, FORGED_USER:.
  • Hash is 32-char lowercase hex when detected.
  • Username is lowercase and consistent with evidence.
  • Detection line consistent with supplied hash/user fields.

(These checks match the observed grader behavior across all three successful runs: format, consistency, lowercase username, and expected detected/user values.)

References to Load On Demand

  • Kerberos Event IDs quick map (4768/4769/4770 semantics)
  • Golden ticket forensic indicators (PAC abuse, lifetime anomalies, TGT issuance mismatch)
  • Shell-safe file emission patterns (printf vs heredoc) for exact-line outputs

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/fuyu12345/terminalgen-skills/active-directory-golden-ticket-medium/badge)](https://verified-skill.com/skills/fuyu12345/terminalgen-skills/active-directory-golden-ticket-medium)

Something wrong with this skill or its page? Tell us.