Insights

AdStrike AD framework: AI-guided Active Directory testing

4 min read

AdStrike AD framework: free open-source Active Directory testing title card

AdStrike AD framework: AI-guided Active Directory testing

The AdStrike AD framework is a free, open-source Active Directory attack framework that brings the classic red team toolkit into one terminal workflow, then layers an optional AI agent on top. For the standing theme of fully automated or agentic AI-driven cyber attacks, this is the piece worth studying: an AI can take a team from reconnaissance through enumeration, credential access, lateral movement and reporting without a human choosing each step by hand.

The framework groups attack modules into nine kill-chain phases and keeps target details, credentials, Kerberos state, findings and loot in one shared session. If your concern is automated AI attack activity, the useful question is how much of that chain a single operator can drive. I have written before about open-source AI agents for offensive work, including the Shannon open-source AI pentester for web applications and APIs and the ARES Active Directory platform, alongside Orca for multi-agent orchestration. AdStrike sits alongside those tools and extends the pattern to the full Active Directory kill chain.

What the AdStrike AD framework does

AdStrike exposes 58 interactive menu entries, covering 52 attack modules plus utilities and management functions. The module map runs from reconnaissance and no-credential surface checks through initial access, enumeration, privilege escalation, lateral movement, credential access, persistence, cloud and hybrid paths, and advanced operations such as exploit chains, C2 integration and the AI agent.

A few design details are worth knowing. The Smart Analyst parses output and ranks the next actions, and the AdStrike Agent can run in plan-only or full-auto mode using a local model such as Ollama or a Claude backend supplied by the operator. The agent also supports operational security profiles from loud through stealth. Through the MCP server, the framework exposes 53 tools to an MCP host such as Claude Code, Cursor or Claude Desktop, which drives the framework with its own subscription rather than through a key held inside AdStrike.

The licence

AdStrike is released under the MIT licence, which you can read in the licence file. MIT is permissive, allowing use, modification and distribution including commercially, provided the notice is retained. It provides no warranty and no support commitment. The project describes itself as a beta research build, so treat its assumptions about target state as starting points rather than finished guarantees.

Installing it on Linux

The official repository and its homepage document the requirements. You need Kali Linux 2024 or later, or Parrot OS, with Python 3.10 or later, running as a normal user and with reachability to the in-scope Active Directory services, commonly ports 88, 389, 443, 445 and 636.

A typical install:

git clone https://github.com/capture0x/AdStrike
cd AdStrike
chmod +x install.sh run.sh
bash install.sh
source venv/bin/activate
bash run.sh

Do not run the installer or launcher with sudo, as it creates repo-local runtime files such as the virtual environment and output directories.

A concrete authorised lab use case

Run this only against a target you own or have written permission to test. A sensible starting point is a small Active Directory lab on an isolated network, the same setup covered in my guide to building a lab with Parrot OS and Kali Linux.

In the lab, run the enumeration module first and let the Smart Analyst review the output and prioritise follow-up paths. From there you can compare the framework’s activity against the detections your own team relies on, and observe how an agent-driven chain records its reasoning and actions.

Risks and limits

  • Data leakage. The session and output folders can hold credentials, hashes and loot. The framework masks secrets in logs and reports by default, and you should still review and redact the output folder before sharing anything.
  • Prompt injection. If the agent reads untrusted content, such as a description or share detail, that content can steer the agent’s plan. Treat agent reasoning and tool selection as untrusted input.
  • Hallucinated findings. A reported step may not match the real target state. Every finding should be checked against the raw output.
  • Licence limits. MIT permits reuse and commercial use with notice retention, and provides no warranty. The beta build means rough edges.
  • What not to send it. No production credentials, customer data, or systems you are not authorised to test.

Use AdStrike only against systems you own or have written permission to test. Using it against systems you do not have permission to test is unlawful.

Sources