百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
A

ADSyncDump-BOF

> 编程语言
开源

ADSyncDump BOF 是 Dirk-Jan Mollema 的 adconnectdump.py / ADSyncDecrypt 程序的一个移植版本,采用零依赖关系的 Beacon Object File (BOF) 格式。

182 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

ADSyncDump BOF 是 Dirk-Jan Mollema 的 adconnectdump.py / ADSyncDecrypt 程序的一个移植版本,采用零依赖关系的 Beacon Object File (BOF) 格式。

ADSyncDump BOF

The ADSyncDump BOF is a port of Dirkjan Mollema's adconnectdump.py / ADSyncDecrypt into a Beacon Object File (BOF) for use with Cobalt Strike, Sliver and Havoc.

[!NOTE] The tool has been tested on a Windows Server 2019 with Azure AD Connect version 2.2.1.0. The 32 bit version of the BOF is untested, but I included it for completeness sake. Use at your own risk.

Compilation

To compile the BOF, simply run make in the directory containing the source code. This will generate both 32-bit and 64-bit versions of the BOF.

bash
make

Usage

On Cobalt Strike, load the adsyncdump.cna script, for Sliver, use the extension install and extension load command to install the BOF. Once installed, laterally move to the AD Sync server as NT AUTHORITY\SYSTEM and run the adsyncdump command:

bash
beacon> adsyncdump

Background

This BOF came into existence a couple of years ago during an engagement after I ran into issues with the fact that the original Python script was too intrusive on client systems, and I had trouble getting the .NET version to run properly. As such I decided to reverse engineer the exact Win32 API calls used for the decryption process in my spare time and port it to a BOF.

Originally, I didn't plan to share this project due to the fact I felt doing so was irresponsible, given that the ADSync account held some absurd privileges, and detection of the existing tooling wasn't great. However, since then, the privileges of the ADSync account have been severely limited by Microsoft, making the impact less severe (still not great, but at least you can't edit conditional access policies anymore^wtf-microsoft).

In addition, given that other researchers have already published the information about the inner workings of the decryption process (lots of props to Dr Syynimaa[^aadinternals] and Dirkjan Mollema[^dirk-jan]), and the fact that detection has become more widespread, I now feel more comfortable sharing this BOF with the rest of the community (sorry for being late to the party).

License

This project is licensed under the MIT License - see the LICENSE file for details. I take no responsibility for any misuse or damages caused by the use of this tool. Only use it in environments where you have explicit permission to do so.

[^dirk-jan]:

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言