剑庭安
首页
黑客安全首页全部安全栏目 黑客技术黑客技术、渗透测试、漏洞利用工具与教程 安全软件安全工具、扫描器、检测与审计软件 病毒分析恶意软件分析、样本、逆向与沙箱 CTF思路CTF 题目、writeup、解题思路与工具 防护思路防御技术、加固、检测响应与蓝队 红蓝攻防红队攻击模拟、蓝队对抗、攻防演练 漏洞知识库漏洞、CVE、PoC、EXP 与安全研究
逆向|反编译
PHP源码PHP 网站源码、程序、系统 APP源码安卓/iOS APP 源码 ASP源码ASP 网站源码与程序 NET源码.NET 网站源码与系统 小程序源码微信/支付宝小程序源码 Dedecms风格模板Dedecms 织梦风格模板 Empirecms风格模板EmpireCMS 帝国风格模板 Discuz商业模板/插件Discuz 商业模板与插件 WordPress主题/插件WordPress 主题与插件 其它源码、模板其它各类源码与模板 游戏源码游戏源码与引擎项目 加密货币源码加密货币、区块链、钱包、USDT/比特币相关源码与工具 手游源码手机游戏源码、服务端、客户端与引擎项目 传奇源码热血传奇、传奇世界、复古传奇等客户端/服务端/引擎源码 页游源码网页游戏、H5 游戏、浏览器游戏源码 端游源码电脑单机游戏、PC 网游客户端/服务端源码
最新万能免驱动支持所有型号打印机下载程序 日历天气老黄历 · 每天同步真实日期与天气
站长工具站长工具 自助开通会员浏览该分类 其他资源qtziy SEO工具SEO工具 站群源码站群源码 泛程序泛程序 蜘蛛模板蜘蛛模板 蜘蛛池蜘蛛池 外链工具外链工具
搜索 自助开通会员🔓 破甲 API
登录 注册
首页 分类列表 红蓝攻防 AdStrike - AI-powered modula…
AdStrike - AI-powered modular Active Directory red-team frame 红蓝攻防 点击放大
作者:admin 发布:2026-10-06

AdStrike - AI-powered modular Active Directory red-team frame

项目说明<di="center"><img src="/assets/screenshots/22.png" alt="AdStrike banner" width="900"><h1&gt…
资源可下载 免费下载 0 条讨论
会员资源
开通会员后即可下载全部资源。
登录后开通会员
会员方案
334浏览量
0讨论
2下载链接
可下载资源状态
内容可验证
更新 2026-10-06
人工审核发布
评论区答疑

AdStrike - AI-powered modular Active Directory red-team frame

AdStrike - AI-powered modular Active Directory red-team frame

项目说明

<di="center">

<img src="/assets/screenshots/22.png" alt="AdStrike banner" width="900">

<h1>AdStrike &mdash; <code>v5.0 «AdStrike»</code></h1>
<p><strong>AI Powered Professional Acti Attack Framework</strong></p>

![Python]()
![Platform]()
![Menu](modules/)
![Phases]()
![Primitives]()
![License](LICENSE)
![Creator]()

Authorized use only. Do not run this tool against systems without explicit written permission.

Release status: beta/research build. Menu and import health checks pass; indi modules still depend on target state, credentials, network reachability, and installed third-party tools.

<img src="assets/screenshots/1.png" alt="AdStrike main menu" width="900">

</div>

---

O

AdStrike is a modular, terminal-based Acti attack framework. It helps operators mo discovery, enumeration, exploitation, credential access, lateral mo, persistence, and reporting while keeping session state in one place.

The framework stores target details, credentials, Kerberos state, findings, executed commands, and output paths in a shared session. Modules can reuse that context instead of forcing the operator to re-enter the same data repeatedly.

> 🔑 No API key required. AdStrike now ships an MCP server that exposes all
> 53 tools (52 attack modules + set_engagement) over the Model Context
> Protocol. Plug it into an MCP host you already
> use — Claude Code, Cursor, Claude Desktop — and that host's LLM drives the
> whole engagement with its own subscription. No Ollama, no ANTHROPIC_API_KEY,
> no local model to download. See MCP Server (No API Key)
> below and docs/mcp.md.

Core capabilities:

  • 58 interactive menu entries: 52 attack modules, 4 utilities, 2 management functions

  • 9 kill-chain phase groups, from reconnaissance through ad operations

  • Kerberos-aware workflows for NTLM-disabled and LDAP-signing-enforced en

  • Smart Analyst for parsing output and ranking next actions

  • Optional AdStrike Agent for AI-assisted planning or tool orchestration

  • MCP ser all 53 tools — no API key, driven by your existing MCP host (Claude Code / Cursor / Claude Desktop)

  • Report generation in HTML, Markdown, and JSON

  • Wrappers for common AD tooling such as Impacket, NetExec, Certipy, Kerbrute, BloodHound, PowerView, Rubeus, and related utilities
  • ---

    Screenshots

    | AD Enumeration | BloodHound Helper |
    |---|---|
    | !AD enumeration | !BloodHound helper |

    | AdStrike Agent | Smart Analyst |
    |---|---|
    | !AdStrike Agent | !Smart Analyst |

    ---

    How to use

    ![How to use]()

    ---

    Quick Start

    Do not run install.sh or run.sh with sudo. The installer creates repo-local files such as adrt_venv/, .env, and output/; running as root can lea files root-owned.

    If you already ran it with sudo, fix ownership once:

    ---

    Requirements

    | Item | Requirement |
    |---|---|
    | OS | Kali Linux 2024+ or Parrot OS recommended |
    | Python | 3.10 or higher |
    | Pri | Normal user for the framework; root only for tools that require packet capture or pri network actions |
    | Network | Reachability to in-scope AD services, commonly 88, 389, 443, 445, 636, 5985 |

    Key external tools:

    Most dependencies are installed by install.sh. Some optional tools are installed or repaired by scripts/repair_tools.sh when possible.

    ---

    Configuration

    The installer copies .en to .env. Edit .env before an engagement:

    You can also enter these interactively from the Session Manager. The session carries them across modules automatically.

    Ne real engagement data. Keep .env, output/, ticket files, hashes, dumps, reports, and captured loot private and redacted.

    Useful en flags:

    | | Default | Purpose |
    |---|---:|---|
    | ADSTRIKE_SHOW_SECRETS | false | Mask passwords, hashes, and loot in logs and reports unless explicitly enabled |
    | ADSTRIKE_NO_ANIMATION | unset | Disable startup animation for cleaner logs or slow terminals |
    | ADSTRIKE_PORT_CHECK | unset | Force quick nmap AD port check during session setup |
    | TGT_AUTO_RENEW | true | Keep Kerberos renewal behavior enabled where supported |
    | ADSTRIKE_OPSEC | normal | Agent mode o: loud, normal, or stealth |
    | ADSTRIKE_BH_HOST | unset | BloodHound/Agent hostname o |
    | ADSTRIKE_BH_DOMAIN | unset | BloodHound/Agent domain o |
    | ADSTRIKE_BH_IP | unset | BloodHound/Agent DC IP o |
    | ANTHROPIC_API_KEY | unset | Optional Claude backend key for AdStrike Agent |

    ---

    Usage

    Start the interactive menu:

    Recommended first-run flow:

    Direct module execution:

    Health check:

    Current local health check:

    ---

    Module Map

    | Phase | Menu Range | Area |
    |---|---:|---|
    | 0 | 1-2 | Reconnaissance |
    | 1 | 3-9 | Initial access |
    | 2 | 10-16 | Enumeration |
    | 3 | 17-27 | Pri escalation |
    | 4 | 28-32 | Lateral mo |
    | 5 | 33-36 | Credential access |
    | 6 | 37-42 | Persistence |
    | 7 | 43-48 | Cloud / hybrid |
    | 8 | 49-52 | Ad operations |
    | Utilities | 53-58 | Agent, Analyst, Kerberos Manager, reporting, sessions, tool checking |

    Reconnaissance

    | # | Module | Co |
    |---|---|---|
    | 1 | Recon & OSINT | DNS, WHOIS, email harvest, certificate transparency |
    | 2 | Network Discovery | nmap, masscan, nbtscan, netdiscover, IPv6 scanning |

    Initial Access

    | # | Module | Co |
    |---|---|---|
    | 3 | Initial Access (No Creds) | NTLM capture, relay, ARP, DHCPv6, RID cycling |
    | 4 | CVE / AD Exploits | NoPac, PrintNightmare, Zerologon |
    | 5 | AMSI / Defense E | AMSI bypass, CLM bypass, AppLocker, obfuscation |
    | 6 | EDR / A | NanoDump, MockingJay, RWXfinder, BOF, syscalls |
    | 7 | UAC Bypass | fodhelper, e, CMSTP, token impersonation |
    | 8 | Pre2K & Timeroasting | Pre-Win2K accounts, MS-SNTP hash, MAQ abuse |
    | 9 | WSUS Attack | WSUS HTTP spoofing, pywsus, SYSTEM execution |

    Enumeration

    | # | Module | Co |
    |---|---|---|
    | 10 | AD Enumeration | LDAP, SMB, GPO, DNS, trusts, SPNs, LAPS, delegation |
    | 11 | PowerView Enumeration | PowerView cmdlet reference and execution |
    | 12 | BloodHound Helper | SOAPHound, RustHound, ADExplorer, Neo4j queries |
    | 13 | File & Share Hunter | Snaffler, SYSVOL, GPP, spider_plus |
    | 14 | NetExec / NXC Suite | SMB, LDAP, MSSQL, WinRM, RDP |
    | 15 | User Hunting | SessionHunter, UserHunter, PSRemoting admin checks |
    | 16 | ADIDNS Abuse | Wildcard DNS, WPAD, record injection, DNSAdmins |

    Pri Escalation

    | # | Module | Co |
    |---|---|---|
    | 17 | Local Pri Escalation | PowerUp, KrbRelayUp, Potato attacks, JEA |
    | 18 | Kerberos Attacks | AS-REP roast, Kerberoast, PtT, OPtH, tickets, PKINIT |
    | 19 | Rubeus Toolkit | TGT, TGS, roasting, PTT, S4U, monitor mode |
    | 20 | Shadow Credentials | msDS-KeyCredentialLink, pywhisker, PKINIT |
    | 21 | RBCD Full Chain | Powermad, S4U2Proxy, altservice, Bronze Bit |
    | 22 | ACL / ACE Abuse | GenericAll, WriteDACL, ForceChangePassword, AddMember |
    | 23 | Certificate Abuse (ADCS) | ESC1-ESC13, Certipy, CertSync, CA enumeration |
    | 24 | RODC Attacks | PRP abuse, Key List Attack, RODC Golden Ticket |
    | 25 | Golden Certificate | CA key theft, UnPAC, PassTheCert |
    | 26 | UnPAC / PassTheCert | Targeted Kerberoast, UnPAC, PassTheCert, SPN-Jack |
    | 27 | JEA Attacks | JEA bypass, PSReadLine history, CLM escape |

    Lateral Mo

    | # | Module | Co |
    |---|---|---|
    | 28 | Lateral Mo | PSExec, WMIExec, SMBExec, DCOM, E, WinRS |
    | 29 | Coercion Attacks | PrinterBug, PetitPotam, DFSCoerce, relay paths |
    | 30 | MSSQL Abuse | xp_cmdshell, PowerUpSQL, linked servers, UNC capture |
    | 31 | Password Attacks | Spray, Kerbrute, credential stuffing, relay capture |
    | 32 | SCCM / MECM Abuse | NAA credential theft, relay, client push, AdminService |

    Credential Access

    | # | Module | Co |
    |---|---|---|
    | 33 | Credential Dumping | LSASS, SAM, NTDS, lsassy, nanodump, pypykatz |
    | 34 | DPAPI & Credential Vault | dploot, SharpDPAPI, LaZagne, KeeThief, browsers |
    | 35 | DCSync / DCShadow | Domain hash dumping and rogue DC operations |
    | 36 | Shadow Copies Abuse | VSS, NTDS.dit, SAM, SYSTEM hi |

    Persistence

    | # | Module | Co |
    |---|---|---|
    | 37 | Domain Persistence | Golden/Sil, AdminSDHolder, NPPSPY, TTL group membership |
    | 38 | Local Persistence | SharPersist, WMI subscriptions, registry, startup |
    | 39 | GPO Abuse | GPO creation, linking, scheduled task execution, hijack |
    | 40 | DNSAdmins Abuse | DLL injection through DNS service configuration |
    | 41 | Trust Attacks | TrustKey, SID History, PAM trust, cross-forest escalation |
    | 42 | AD Misc Abuse | Backup Operators, Skeleton Key, Exchange RBAC, DSRM |

    Cloud / Hybrid

    | # | Module | Co |
    |---|---|---|
    | 43 | Azure AD / Entra ID | AADConnect, PTA, PHS, PRT, token theft |
    | 44 | Entra Hybrid Attacks | MSOL DCSync, Device Code flow, PTA injection |
    | 45 | gMSA Attacks | Enumeration, hash extraction, pass-the-hash, shadow credentials |
    | 46 | ADFS & Golden SAML | Token signing certificate, Golden SAML, AADInternals |
    | 47 | AiTM / MFA Bypass | E, Modlishka, E, MFA fatigue, cookie replay, hybrid pivot |
    | 48 | M365 / Teams Attacks | MailSniper, Graph API, Teams phishing, SharePoint theft, Intune abuse |

    Ad Operations

    | # | Module | Co |
    |---|---|---|
    | 49 | Exploit Chains | Pre-built full attack paths |
    | 50 | C2 Integration | Sliver, Havoc, Metasploit, Cobalt Strike payload delivery |
    | 51 | Loot Parser & Analyzer | Parse, deduplicate, score, and export loot |
    | 52 | AD Ad Playbook | WDAC, MDE/MDI, WMI filters, trusts, deception |

    Utilities

    | # | Utility | Purpose |
    |---|---|---|
    | 53 | AdStrike Agent (AI) | Optional AI-assisted planner/orchestrator |
    | 54 | Smart Analyst | Parse output, build an attack plan, optionally execute steps |
    | 55 | Kerberos Manager | TGT, PTT, S4U, ccache, kirbi, krb5.conf management |
    | 56 | Generate Report | HTML, Markdown, and JSON reporting |
    | 57 | Session Manager | Save, load, switch, and clear sessions |
    | 58 | Tool Checker | external tools and module imports |

    ---

    Output

    Runtime files are written under output/:

    | Path | Purpose |
    |---|---|
    | output/session.json | Persisted session state |
    | output/session_*.log | Launcher logs from run.sh |
    | output/enum/ | LDAP, SMB, GPO, and enumeration artifacts |
    | output/bloodhound/ | BloodHound collections and related data |
    | output/audit/capability_audit.json | Tool Checker and module health snapshot |
    | output/agent_logs/ | AdStrike Agent Markdown/JSON run logs |
    | output/agent_runtime/ | Kerberos config, ccache, hashes, and temporary agent artifacts |
    | output/reports/ | Generated reports |

    Review and redact e in output/ before sharing.

    ---

    Automatic Target Discovery

    During first-run session setup, entering a DC IP triggers a fast discovery pass:

    1. LDAP rootDSE query to derive DOMAIN, BASE_DN, and DC_FQDN when a.
    2. NetExec SMB fallback when LDAP does not reveal the domain.
    3. Optional quick nmap check of common AD ports.

    Force the port check:

    If a DC FQDN is discovered, AdStrike prints an /etc/hosts line for en where DNS resolution is unreliable. If clock skew is detected, it prints a time-sync hint before Kerberos-hea.

    ---

    Kerberos and NTLM-Disabled En

    For targets where NTLM is disabled or unreliable, use:

    This workflow can:

  • Generate target-specific krb5.conf

  • Add the DC FQDN mapping guidance

  • Request a TGT with Impacket

  • Set KRB5CCNAME and KRB5_CONFIG

  • Enable Kerberos mode for later modules

  • Print ready-to-use Kerberos commands for NetExec, Impacket, BloodHound, and E
  • Common Kerberos checks:

    ---

    AdStrike Agent

    AdStrike Agent is optional. Manual modules do not require AI.
    Want to try just the agent? → github.com/capture0x/AdAgent

    Supported backends:

    | Backend | Use Case | Requirement |
    |---|---|---|
    | Ollama | Local / private / offline lab usage | ollama serve, local model, Python requests |
    | Claude | API-backed reasoning | ANTHROPIC_API_KEY, internet / API access |

    Ollama example:

    Claude example:

    Agent modes:

    | Mode | Meaning |
    |---|---|
    | Full Auto | Agent executes tool calls and adapts to e |
    | Plan Only | Agent produces a prioritized plan without executing tools |

    OPSEC modes:

    | Mode | Meaning |
    |---|---|
    | Loud | Fast lab/CTF mode |
    | Normal | Balanced internal pentest mode; default |
    | Stealth | More conser nati behavior where possible |

    ---

    MCP Server (No API Key)

    > No ANTHROPIC_API_KEY, no Ollama, no local model. On this path AdStrike runs
    > no LLM of its own. It exposes its AD-attack tools over the
    > Model Context Protocol, and an MCP host you
    > already have — Claude Code, Cursor, Claude Desktop — drives the engagement
    > with its own subscription. The host is the brain; AdStrike is the toolbox.

    All 53 tools are published — the 52 attack tools (nmap_scan, enumerate_ldap,
    adcs_scan, e, gmsa_read, dcsync_attack, kerberoast, …) plus
    set_engagement — using the exact same schemas the standalone agent uses
    (modules/agent/_core.py), so there is one source of truth and no duplication.

    !AdStrike MCP server demo

    1. the server can load (uses the project venv):

    2. Register in Claude Code. The repo already ships a project .mcp.json with
    repo-relati, so if you start Claude Code from the AdStrike folder (step 3)
    you can skip this step — it is picked up automatically:

    To register it globally (so it works from any directory) use absolute paths via CLI:

    Cursor and Claude Desktop use the same command + args shape in their MCP config.

    3. Start Claude Code from the AdStrike folder. A project .mcp.json is only
    loaded when claude launches from the directory that contains it, so run it there:

    On first launch Claude Code asks you to approve the adstrike MCP server — accept
    it. Confirm the tools are live with /mcp inside Claude Code (or claude mcp list
    from the shell). Cursor and Claude Desktop pick the server up after a restart.

    4. Use it. Set the engagement once, then let the host drive:

    > set_engagement: dc_ip 10.0.0.1, domain corp.local, username alice, password … (or nt_hash)

    AdStrike stores the target and credentials in the session and **injects them into
    every later tool call**, so the host LLM never has to repeat the password and can't
    accidentally target the wrong host or account. From there the host reads each
    tool's output and picks the next tool — nmap → LDAP enum → BloodHound → the
    matching abuse primitive — just like the built-in agent loop, but funded by the
    host subscription.

    Example prompt — paste this into Claude Code (adjust the target) to set the
    engagement once and have the host drive the standard AdStrike workflow:

    You only pass the credential inside set_engagement; every later tool reuses the
    session value, so the host ne it again.

    Full walkthrough (requirements, config for each host, OPSEC notes):
    docs/mcp.md.

    ---

    Performance / GPU Acceleration

    Why the Ollama agent may feel slow

    The agent uses a rule engine for most decisions (no LLM call). Rounds that require LLM input call Ollama locally. If Ollama runs on CPU instead of GPU, each call takes 15–30 seconds instead of 2–5 seconds.

    which processor Ollama is using:

    ---

    Fix: Ollama not detecting the GPU (Kali / systemd)

    On some Kali Linux setups the ollama systemd service starts before CUDA libraries are on the library path, so GPULayers:[] appears in the logs and inference falls back to CPU.

    Step 1 — add CUDA en to the service:

    Add these three lines inside the [Service] block:

    Full [Service] block example after the edit:

    Step 2 — reload and restart:

    Step 3 — confirm GPU is in use:

    > Note: The CUDA path /usr/local/lib/ollama/cuda_v12 is created by the official Ollama Linux installer. If you installed Ollama a different way, adjust the path to match where libcublas.so.12 lives on your system.

    ---

    Recommended Ollama model for speed

    | Model | VRAM | Speed | Tool-call quality |
    |---|---|---|---|
    | qwen2.5-coder:7b | ~5 GB | Medium | Best for AD agent |
    | llama3.2:3b | ~2 GB | Fastest | Good for low-VRAM machines |
    | mistral:latest | ~4.5 GB | Medium | Decent fallback |

    Pull a model:

    ---

    Repair and Troubleshooting

    Check installed tools and module imports:

    Repair missing tools where possible:

    Scoped repairs:

    If the en is missing:

    If NetExec or Impacket fails, and rerun the repair script:

    If reports include sensiti, confirm redaction is enabled:

    Then review .env, output/session.json, and generated reports manually before sharing.

    ---

    Documentation

    Additional guides:

  • AdStrike and Agent Guide

  • MCP Server — No API Key (Claude Code / Cursor / Claude Desktop)
  • Security policy:

  • SECURITY.md
  • License:

  • GPLv3
  • ---

    Legal Disclaimer

    This software is provided for authorized security testing, red team engagements, and educational purposes only.

    Use against systems without explicit written authorization from the system owner is illegal and may the Computer Fraud and Abuse Act (CFAA), the Computer Misuse Act (CMA), and equi laws in your jurisdiction.

    The author accepts no liability for damage, data loss, service disruption, or legal consequences arising from misuse.

    ---

    De

    tmrswrr - GitHub: capture0x </br>
    contact - Mail : tmrswrr -at- gmail.com

    Maintained for authorized offensi research, lab , and professional red team operations.

    项目信息

    开发语言:Python

    Star 数:356

    技术要点

    该项目属于红蓝攻防方向的开源资源,代码结构清晰,适合安全研究人员学习参考。项目围绕AI-powered modular Active Directory red-team framework for authorized penetration testing, AD enumeration, attack-path analysis, Kerberos/ADCS workflows, reporting, operator automation, and MCP server integration.展开,提供了可运行的实现,对理解相关安全机制、工具原理与攻防技术具有较高的研究价值。

    从技术实现角度看,此类项目的核心在于对底层原理的深入理解与工程化落地。开发者在研究过程中可以结合官方文档与社区讨论,梳理项目的初始化流程、核心模块职责与数据流转,逐步掌握其中的技术细节与设计思路。

    使用与学习建议

    1. 下载源码压缩包,解压到本地环境。

    2. 根据项目类型准备对应的运行环境与依赖。

    3. 按照 README 中的步骤完成配置与部署。

    4. 在隔离的测试环境中运行验证,避免影响生产系统。

    免责声明

    本资源来源于开源社区,仅供安全研究、技术学习与合法授权范围内的攻防演练使用,请勿用于任何非法或侵害他人权益的用途。使用本项目产生的一切后果由使用者自行承担。

    资源标题AdStrike - AI-powered modular Active Directory red-team frame
    所属分类红蓝攻防
    发布作者admin
    发布时间2026-10-06 00:42:55
    下载权限 免费下载
    附件数量2 个下载链接
    浏览次数334
    讨论数量0
    主题状态正常讨论中

    本资源免费,登录后即可在本页「下载链接」区域获取全部附件。

    请在评论区留言说明具体链接,或联系作者补档。楼主更新后本页会同步最新的下载地址。

    请先阅读正文中的授权说明;未注明的默认仅限站内学习交流,禁止直接搬运到其他站点二次售卖。
    还没有讨论,快来抢沙发~
    登录 后才能参与讨论
    下载链接
    会员才能下载
    登录后开通会员
    同分类推荐
    暂无同类资源
    免费登录即可下载
    查看会员
    放大预览

    © 2026 剑庭安 - 网站开发定制 SEO 优化蜘蛛池代做 在线看手相算命. 保留所有权利。

    Powered by 酷像SEOv3.0

    网站地图 Sitemap.xml
    首页 全部分类 黑客安全 逆向|反编译 精品源码 站长工具自助开通会员其他资源SEO工具站群源码泛程序蜘蛛模板蜘蛛池外链工具创意乐园 搜索 会员服务 登录 注册