Hostile Active Directory: An AD Offensive Testing Methodology Skill for Agents

Preface

In authorized internal network penetration testing or red team exercises, Active Directory-related tasks often involve numerous steps, various tools, and require balancing “minimizing live queries, verifying every hop, and ensuring full-process reviewability.” Relying solely on general dialogue, Agents tend to overlook conventions such as prioritizing offline reconnaissance and path tiering (Domain Admin / Enterprise Admin / Tier 0). The following is an introduction to the community Skill “Offensive Active Directory” on SkillHub. It embeds a reusable offensive testing workflow into SKILL.md, enabling Agents that support Skills to proceed in the same sequence when tasked with AD-related missions.

What is This

“Offensive Active Directory” is a specialized Skill for Offensive Active Directory scenarios. Its official description is: “A dedicated skill for offensive Active Directory, helping AI Agents efficiently complete related tasks.”

  • Coordinate: @user_3c6cb52e/offensive-active-directory-sh-3dkcse
  • Version: 1.0.0
  • Source: SkillHub Community (community), published by user_3c6cb52e
  • SkillHub Category: it-ops-security; metadata category within the package is “Security & Penetration Testing”
  • Tags: requires_api_key=false (Installation and usage do not rely on additional API Keys)
  • License: MIT (See the header of SKILL.md within the Skill package)

SkillHub Page: https://www.skillhub.cn/skills/user_3c6cb52e/offensive-active-directory-sh-3dkcse
API Registration Address: https://api.skillhub.cn/user_3c6cb52e/offensive-active-directory-sh-3dkcse

As of the data retrieval time, SkillHub shows a rating of 100000, 1349 downloads, and 0 installations (based on store page/API snapshots).

Core Functions

The SKILL.md in the public package, aside from metadata, primarily provides a Quick Workflow under Active Directory — Offensive Testing Methodology, which can be summarized in five steps:

  1. Offline Reconnaissance of AD Structure (BloodHound, ADExplorer snapshots, etc.), minimizing online queries.
  2. Collect Credentials within Authorized Scope (e.g., via poisoning, Kerberoasting, ASREProast, LSASS, etc., subject to rule permissibility).
  3. Map Attack Paths to Domain Admin, Enterprise Admin, or Tier 0.
  4. Execute along the path, prioritizing methods with lower detection costs, and verify at every hop.
  5. Establish Persistence (if required by the task) and document every step with timestamps.

The Skill metadata declares compatibility with Agent frameworks including: Claude Code, Codex, Hermes Agent, OpenClaw, QClaw, WorkBuddy. The package also lists homepage / repository as the same GitHub user page (https://github.com/1991513ccie-png) and does not include additional scripts or submodules; capabilities are centered on methodology and workflow rather than wrapping standalone CLIs.

Installation and Activation

SkillHub officially recommends two methods: letting the Agent follow installation documentation, or using the skillhub CLI to specify the skills directory for installation.

Method 1: Prompt Installation (SkillHub Page Original Text)

Send the following prompt to the AI Agent currently in use:

Please install `@user_3c6cb52e/offensive-active-directory-sh-3dkcse` according to https://skillhub.cn/install/skillhub.md.

The Agent will check for the CLI, select the correct skills directory, and execute the installation following SkillHub Installation and Priority Source Configuration.

Method 2: Command Line Installation

First, confirm if skillhub is already on the local machine:

command -v skillhub && skillhub --version

If not installed, perform the full installation according to official documentation (the example is the recommended command from the docs):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

When installing the Skill, it is mandatory to use --dir to point to the skills directory actually read by the current Agent; otherwise, it defaults to ./skills/ which may not be recognized. Common path examples provided in official docs:

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

Example of installing this Skill (replace <skills directory> with the corresponding path above):

skillhub install offensive-active-directory-sh-3dkcse \
  --namespace user_3c6cb52e \
  --dir <skills directory>

Upon successful installation, @user_3c6cb52e/offensive-active-directory-sh-3dkcse/ will appear in the directory, where SKILL.md contains the rules and workflows for the Agent to load.

Typical Usage

After the installation steps above, in written authorized AD assessments or red team missions, you can explain the target domain and constraints to the Agent (e.g., prohibiting large-scale live LDAP, requiring traceability), and explicitly request adherence to this Skill’s Quick Workflow. The Agent should prioritize guiding:

  • Using BloodHound / ADExplorer etc. for offline structure sorting;
  • Planning credential acquisition and lateral movement under permitted technical means;
  • Explicitly aligning with endpoints like Domain Admin / Enterprise Admin / Tier 0;
  • Verifying hop-by-hop and outputting timestamped operation records.

The SkillHub page does not provide a separate business example repository; the reproduction path is simply “Install Skill → Reference its workflow in authorized tasks.” Specific tool commands are still generated by the Agent combined with the environment and rules, and should not deviate from the scope of authorization.

Use Cases and Notes

Who is it for

  • Security engineers and red team members using clients like Claude Code, Codex, Cursor (Skills), OpenClaw series, etc., who want a unified methodology for AD offensive testing tasks.
  • Those who want the Agent to default to “offline reconnaissance priority, path tiering, hop-by-hop verification, full-process documentation” rather than scattering tool names.

Limitations and Notes

  • The content is offense-oriented methodology, applicable only to client-authorized tests with clear scope; unauthorized use of related techniques is illegal, compliance is at your own risk.
  • The store description and SKILL.md do not promise specific exploits or automated exploitation chains; actual capabilities depend on the Agent model and local toolchain.
  • The “0 installations” statistic on SkillHub reflects the store’s counting method and does not mean it cannot be installed locally via CLI; defer to your local skillhub install result.
  • If community entries with the same name but different slugs exist, please identify the coordinate @user_3c6cb52e/offensive-active-directory-sh-3dkcse during installation to avoid installing the wrong package.

Conclusion

“Offensive Active Directory” solidifies the Quick Workflow for AD offensive testing into a Skill that Agents can load, suitable for allowing AI to perform reconnaissance, path planning, and recording in the same set of steps within authorized scenarios. To install or view metadata, please visit the official SkillHub page: https://www.skillhub.cn/skills/user_3c6cb52e/offensive-active-directory-sh-3dkcse .

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye