windows-ad-methodology

windows-ad-methodology is a skill for Claude Code from pashki975/thm-claude-kit. It costs 89 tokens per session (878 once invoked), scanned B, original, MIT.

A step-by-step method for solving Windows and Active Directory rooms in TryHackMe, a platform for cybersecurity training. Active Directory is Microsoft's system for managing users, computers, and permissions across a Windows network.

In plain words
What is it for?
Recognizing Windows targets, enumerating SMB and directory services, finding users and credentials, checking Kerberos, and planning a foothold.
Why use it?
It gives Linux-focused testers a clear investigation path for Windows networks, where services such as SMB, LDAP, Kerberos, and WinRM expose different clues.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Recognizing Windows targets, enumerating SMB and directory services, finding users and credentials, checking Kerberos, and planning a foothold.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pashki975/thm-claude-kit/windows-ad-methodology
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add pashki975/thm-claude-kit --skill windows-ad-methodology
Clone the repo
git clone --depth 1 https://github.com/pashki975/thm-claude-kit

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for windows-ad-methodology

README.md
[![agentmods](https://agentmods.dev/badge/skills/pashki975/thm-claude-kit/windows-ad-methodology/github.svg)](https://agentmods.dev/skills/pashki975/thm-claude-kit/windows-ad-methodology)
Your own site
<a href="https://agentmods.dev/skills/pashki975/thm-claude-kit/windows-ad-methodology"><img src="https://agentmods.dev/badge/skills/pashki975/thm-claude-kit/windows-ad-methodology/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for windows-ad-methodology

Your own site · 80×15
<a href="https://agentmods.dev/skills/pashki975/thm-claude-kit/windows-ad-methodology"><img src="https://agentmods.dev/badge/skills/pashki975/thm-claude-kit/windows-ad-methodology.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 878 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00089 $0.00878
Opus 5.5 $0.00036 $0.00351
Sonnet 5.5 $0.00018 $0.00176
Haiku 4.5 $0.00009 $0.00088

Measured 1mo ago against content hash 8a0dcc4e4adc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

windows-ad-methodology scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- Watch clock skew: sync to the DC if Kerberos tooling errors (`sudo rdate -n <DC-IP>`)
.claude/skills/windows-ad-methodology/SKILL.md · 67 lines

How it starts

The opening of the file, as written. The whole thing — 67 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Windows / Active Directory Methodology

For readers who live in Linux: Windows CTF is a different surface. Instead of web/SSH → SUID/sudo, the game is SMB/LDAP/Kerberos → tokens/ACLs/tickets. Follow this flow.

Recognizing a Windows box

Open 135/139/445 (SMB), 3389 (RDP), 5985 (WinRM), and especially 88 (Kerberos) + 389/636 (LDAP) → domain-joined AD. Kerberos (88) present = treat it as full AD.

0. Setup

  • /vpn-check the target
  • Add the DC's FQDN to /etc/hosts (Kerberos needs name resolution)
  • Watch clock skew: sync to the DC if Kerberos tooling errors (sudo rdate -n <DC-IP>)

1. Recon

  • /recon as usual. Note the domain name, DC hostname, OS build.
  • Consider /enum-udp too — SNMP can leak users/processes on Windows hosts.

2. AD / SMB enumeration

  • /enum-ad — null/guest sessions, shares, RPC, LDAP, build a user list
  • Harvest usernames from RID cycling, shares, LDAP. Save to users.txt.

3. Get a foothold credential (try in order)

  • AS-REP roast the user list (/kerberos) — no creds needed
  • Password spray weak/found passwords across users (careful of lockout)
  • Anonymous/guest readable shares — look for creds, configs, scripts
  • Any web app on the box → normal web enum (/enum-web)
  • Any database on the box → /db-enum (MSSQL especially — xp_cmdshell)

4. Situational awareness (once you have ANY valid cred)

  • Run BloodHound collection — let the ad-attack-advisor agent read the results
  • Validate the cred everywhere: nxc smb <IP/range> -u <u> -p <p> (look for Pwn3d!)

5. Escalate within the domain

  • Kerberoast service accounts (/kerberos), crack offline
  • Abuse ACLs / delegation / DCSync per BloodHound (ad-attack-advisor agent)
  • Check ADCS (certipy) if certificate services are present

6. Get a shell

  • /win-shell — evil-winrm, psexec/wmiexec, or RDP depending on the cred
  • Immediately run whoami /priv and whoami /groups

7. Local privesc (if not already SYSTEM/admin)

  • /win-privesc — token privileges first (SeImpersonate → Potato is the classic), then services, stored creds, kernel last
  • Analyze enum with the win-privesc-advisor agent

Read the full file on GitHub · 67 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 67 lines · 89 tokens per session scan B 8a0dcc4e4adc

Subscribe to this mod's changes

windows-ad-methodology is a skill published in the GitHub repository pashki975/thm-claude-kit (2 stars, last pushed 2mo ago), licensed MIT. It adds 89 tokens to every session and 878 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

founder-coach

Personal leadership development for founders and first-time CEOs. Covers founder archetype identification, delegation frameworks, energy management, CEO calendar audits, leadership style evolution, blind spot identification, imposter syndrome, founder mental health, and succession planning. Use when a founder feels…

alirezarezvani/claude-skills · 101 tokens

cs-onboard

Founder onboarding interview that captures company context across 7 dimensions. Invoke with /cs-onboard setup for initial interview or /cs-onboard update for quarterly refresh. Generates /.claude/company-context.md used by all C-suite advisor skills. Use when setting up the C-suite advisors for the first time, or when…

alirezarezvani/claude-skills · 88 tokens

offensive-vuln-classes

Exploit development curriculum covering core vulnerability classes with real-world CVE case studies: stack/heap buffer overflows, use-after-free, integer overflows, format strings, type confusion, and race conditions. Use when learning or teaching vuln classes, researching specific CVE patterns, or building exploit…

SnailSploit/Claude-Red · 0 tokens

algo-sensei

Your personal DSA & LeetCode mentor. Use for problem explanations, progressive hints, code reviews, mock interviews, pattern recognition, complexity analysis, and custom problem generation. Automatically adapts to your learning style and request type.

karanb192/algo-sensei · 51 tokens

stuck

Diagnoses a broken course setup by reading the folder, so the student never has to describe the problem in English. Takes no argument. Reports which class they are on and which files are filled, then names one blocker and one fix: Claude Code opened at the wrong level, .claude/skills/ missing, skills not loading…

mshadmanrahman/claude-for-designers · 161 tokens

wunderkammer

The cabinet of curiosities — deeply researched science/philosophy performed by ASCII animal mascots with invented XML tags as meta-commentary, kaomojis as emotional punctuation, and a structural spine building unexpected callbacks between topics. Genuine depth married to genuine absurdity. Oscillates between…

Wondermonger-daydreaming/claude-skills-library · 217 tokens