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 $0.00044 $0.00439
Sonnet 5 $0.00018 $0.00176
Haiku 4.5 $0.00009 $0.00088

Measured 9d ago against content hash 8a0dcc4e4adc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 9d 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. 9d 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 25d ago), licensed MIT. It adds 89 tokens to every session and 878 once invoked, about $0.0004 per session on Opus 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

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

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

learning-loop

(Industry standard: Loop Agent / Single Agent) Primary Use Case: Self-contained research, content generation, and exploration where no inner delegation is required. Self-directed research and knowledge capture loop. Use when: starting a session (Orientation), performing research (Synthesis), or closing a session…

richfrem/agent-plugins-skills · 78 tokens

eat

Extract knowledge, frameworks, and methodologies from a URL, file, video, article, or podcast. Use when user says '/eat', 'eat this', 'eat from', shares a URL/file for insights, or wants to learn from a video/article without reading the whole thing. NOT for summarization or news digests. Requires yt-dlp, whisper or…

catcatcatstudio/cat-skills · 82 tokens

canvas-homework

Check Canvas for outstanding assignments and either surface the assignment, or draft a response in Max's voice. Use whenever Max asks what assignments / homework / coursework he still has to do, asks to pull an assignment's instructions or files from Canvas, or asks to start/draft an assignment. Orchestrates the…

98ping/chip · 92 tokens

myopenmath

Work a MyOpenMath / IMathAS math homework set that is launched from Canvas — read the questions, compute the answers, fill the boxes, and submit. Use whenever Max points at a MyOpenMath assignment, says a math homework is "in my Canvas", asks to do/finish/check a numbered homework like "2.1" or "2.2/2.3", or when a…

98ping/chip · 128 tokens