conducting-domain-persistence-with-dcsync

conducting-domain-persistence-with-dcsync is a skill for Claude Code, Codex from Youngmaidainon/Agent-Level-Up. It costs 91 tokens per session (2,148 once invoked), scanned C, a copy of conducting-domain-persistence-with-dcsync, MIT.

A guide to assessing whether an authorized tester can abuse Microsoft directory replication permissions to obtain password hashes. DCSync is an attack technique that imitates a domain controller, a server that manages Windows accounts, to request this data.

In plain words
What is it for?
Use it during an authorized security assessment to check replication rights, test exposure of privileged credentials, and evaluate defenses against long-term domain access.
Why use it?
It helps reveal excessive permissions that could let an attacker take control of many accounts and maintain access to a Windows domain.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it during an authorized security assessment to check replication rights, test exposure of privileged credentials, and evaluate defenses against long-term domain access.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/youngmaidainon/agent-level-up/conducting-domain-persistence-with-dcsync
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 Youngmaidainon/Agent-Level-Up --skill conducting-domain-persistence-with-dcsync
Clone the repo
git clone --depth 1 https://github.com/Youngmaidainon/Agent-Level-Up

Made for: Claude Code, Codex.

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 conducting-domain-persistence-with-dcsync

README.md
[![agentmods](https://agentmods.dev/badge/skills/youngmaidainon/agent-level-up/conducting-domain-persistence-with-dcsync/github.svg)](https://agentmods.dev/skills/youngmaidainon/agent-level-up/conducting-domain-persistence-with-dcsync)
Your own site
<a href="https://agentmods.dev/skills/youngmaidainon/agent-level-up/conducting-domain-persistence-with-dcsync"><img src="https://agentmods.dev/badge/skills/youngmaidainon/agent-level-up/conducting-domain-persistence-with-dcsync/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 conducting-domain-persistence-with-dcsync

Your own site · 80×15
<a href="https://agentmods.dev/skills/youngmaidainon/agent-level-up/conducting-domain-persistence-with-dcsync"><img src="https://agentmods.dev/badge/skills/youngmaidainon/agent-level-up/conducting-domain-persistence-with-dcsync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,148 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 86% copy Near-identical to another mod 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.00091 $0.02148
Opus 5 $0.00046 $0.01074
Sonnet 5 $0.00018 $0.00430
Haiku 4.5 $0.00009 $0.00215

Measured 6d ago against content hash f8598473754b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade C, and why

conducting-domain-persistence-with-dcsync scanned grade C 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 6d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/agent.py, scripts/process.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Harvests environment variableshighData exfiltration

Enumerating or grepping the environment for keys collects credentials unrelated to what the mod says it does.

# Dump all credentials
Origin

This is a copy

86% identical to conducting-domain-persistence-with-dcsync — 4 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

cyber-security/ctf/conducting-domain-persistence-with-dcsync/SKILL.md · 210 lines

How it starts

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

Conducting Domain Persistence with DCSync

Legal Notice: This skill is for authorized security testing and educational purposes only. Unauthorized use against systems you do not own or have written permission to test is illegal and may violate computer fraud laws.

Overview

DCSync is an attack technique that abuses the Microsoft Directory Replication Service Remote Protocol (MS-DRSR) to impersonate a Domain Controller and request password data from the target DC. The attack was introduced by Benjamin Delpy (Mimikatz author) and Vincent Le Toux, leveraging the DS-Replication-Get-Changes and DS-Replication-Get-Changes-All extended rights. Any principal (user or computer) with these rights can replicate password hashes for any account in the domain, including the KRBTGT account. With the KRBTGT hash, attackers can forge Golden Tickets for indefinite domain persistence. DCSync is categorized as MITRE ATT&CK T1003.006 and is a critical post-exploitation technique used by APT groups including APT28 (Fancy Bear), APT29 (Cozy Bear), and FIN6.

When to Use

  • When conducting security assessments that involve conducting domain persistence with dcsync
  • When following incident response procedures for related security events
  • When performing scheduled security testing or auditing activities
  • When validating security controls through hands-on testing

Prerequisites

  • Familiarity with red teaming concepts and tools
  • Access to a test or lab environment for safe execution
  • Python 3.8+ with required dependencies installed
  • Appropriate authorization for any testing activities

Objectives

  • Identify accounts with DCSync (replication) rights in Active Directory
  • Perform DCSync using Mimikatz or Impacket's secretsdump.py
  • Extract the KRBTGT account hash for Golden Ticket creation
  • Dump all domain user password hashes for credential analysis
  • Forge Golden Tickets for persistent domain access
  • Grant DCSync rights to a controlled account for alternative persistence
  • Document the attack chain and persistence mechanisms

Read the full file on GitHub · 210 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago First seen · 210 lines · 91 tokens per session scan C f8598473754b

Subscribe to this mod's changes

conducting-domain-persistence-with-dcsync is a skill published in the GitHub repository Youngmaidainon/Agent-Level-Up (3 stars, last pushed 15d ago), licensed MIT. It adds 91 tokens to every session and 2,148 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it C with 1 finding (harvests environment variables). It is 86% identical to conducting-domain-persistence-with-dcsync, differing in 4 lines, and is treated as a copy.

Related

Other skills, from other repositories

conducting-domain-persistence-with-dcsync

Perform DCSync attacks to replicate Active Directory credentials and establish domain persistence by extracting KRBTGT, Domain Admin, and service account hashes for Golden Ticket creation.

26zl/cybersec-toolkit · 42 tokens

conducting-domain-persistence-with-dcsync

Perform DCSync attacks to replicate Active Directory credentials and establish domain persistence by extracting KRBTGT, Domain Admin, and service account hashes for Golden Ticket creation.

RobotFlow-Labs/skills-repo · 42 tokens

active-directory-golden-ticket

Forge highly privileged Kerberos Ticket Granting Tickets (TGTs) to gain persistent, undetectable, and long-term administrative access across an entire Active Directory domain. Use this skill during the final stages of a Red Team operation after Domain Admin access has been achieved, simulating an Advanced Persistent…

ShulkwiSEC/bb-huge · 77 tokens

active-directory-golden-ticket

Forge highly privileged Kerberos Ticket Granting Tickets (TGTs) to gain persistent, undetectable, and long-term administrative access across an entire Active Directory domain. Use this skill during the final stages of a Red Team operation after Domain Admin access has been achieved, simulating an Advanced Persistent…

akashrpatil/awesome-offensive-security-skills · 77 tokens

active-directory-dcsync-attack

Execute a DCSync attack mimicking the behavior of a legitimate Active Directory Domain Controller (DC). Leverage Directory Replication Service Remote Protocol (DRSR) permissions to silently request and extract the password hashes (NTLM/Kerberos) of any or all users in the domain without executing code on the target…

ShulkwiSEC/bb-huge · 75 tokens

active-directory-full-attack-chain

Execute a complete Active Directory penetration test from initial enumeration to domain dominance. Use this skill for AD security assessments including LDAP enumeration, Kerberos attacks (Kerberoasting, AS-REP roasting), BloodHound attack path analysis, credential dumping with Mimikatz, lateral movement via…

ShulkwiSEC/bb-huge · 96 tokens