nickvourd/Weaponize-CobaltStrike

GitHub: nickvourd/Weaponize-CobaltStrike

该工具一键自动化下载和编译多个社区开源 BOF 及进攻性安全工具,帮助红队快速搭建和扩展 Cobalt Strike 武器库。

Stars: 16 | Forks: 4

# Weaponize-CobaltStrike 你的 Cobalt Strike 武器化工具包



GitHub License GitHub Repo stars
GitHub forks GitHub watchers GitHub contributors

## 描述 Weaponize-CobaltStrike 是一个自动化工具包,用于设置和配置 Cobalt Strike,并包含全面的 Beacon Object Files (BOFs) 和进攻性安全工具集合。该项目简化了依赖项的安装以及多个开源 BOF 和实用程序的编译过程,让你能够轻松通过社区驱动的功能扩展你的 Cobalt Strike 军火库。 ![Static Badge](https://img.shields.io/badge/Bash-darkgreen?style=flat&logoSize=auto) ![Static Badge](https://img.shields.io/badge/BOF-red?style=flat&logoSize=auto) ![Static Badge](https://img.shields.io/badge/Mingw--w64-blue?style=flat&logoSize=auto) ![Static Badge](https://img.shields.io/badge/LLVM-cyan?style=flat&logoSize=auto) ## 功能 Weaponize-CobaltStrike 自动化了以下工具和 BOF 的部署: - [CS-Aggressor-Kit](https://github.com/nickvourd/CS-Aggressor-Kit) - 用于 Cobalt Strike 的 Aggressor 脚本框架 - [CS-Remote-OPs-BOF](https://github.com/trustedsec/CS-Remote-OPs-BOF) - 远程操作 Beacon Object Files - [CS-Situational-Awareness-BOF](https://github.com/trustedsec/CS-Situational-Awareness-BOF) - 态势感知与侦察 BOF - [GetWebDAVStatus](https://github.com/nickvourd/GetWebDAVStatus) - WebDAV 状态枚举 - [C2-Tool-Collection](https://github.com/outflanknl/c2-tool-collection) - 综合 C2 工具集合 - [sekken-enum](https://github.com/Nomad0x7/sekken-enum) - 枚举 BOF - [WebcamBOF](https://github.com/CodeXTF2/WebcamBOF) - 摄像头访问 BOF - [COM-Hunter](https://github.com/nickvourd/COM-Hunter) - COM 对象枚举 - [PrivKit](https://github.com/mertdas/PrivKit) - 提权工具包 - [RegPersist](https://github.com/leftp/RegPersist) - 基于注册表的持久化 BOF - [HelpColor](https://github.com/outflanknl/HelpColor) - 颜色格式化实用工具 - [PersisTask-BOF](https://github.com/nickzer0/PersisTask-BOF) - 通过计划任务实现持久化 ## 免责声明 本项目的作者和贡献者对任何非法使用本工具的行为不承担责任。本工具仅供授权的安全测试和教育目的使用。用户有责任确保合法使用,并在进行任何进攻性安全活动之前获得适当的授权。 ## 目录 - [Weaponize-CobaltStrike](#weaponize-cobaltstrike) - [描述](#description) - [功能](#features) - [免责声明](#disclaimer) - [目录](#table-of-contents) - [致谢](#acknowledgement) - [前置条件](#prerequisites) - [使用说明](#usage) - [参考](#references) ## 前置条件 Weaponize-CobaltStrike 要求你的系统上安装以下工具: - **git** - 版本控制系统 - **make** - 构建自动化工具 - **mingw-w64** - 用于 Windows 可执行文件的交叉编译工具链 - **LLVM/Clang** - C 编译器及相关工具 ### 支持的操作系统 - **macOS**(Intel 和 Apple Silicon,通过 Homebrew) - **Linux**(Debian/Ubuntu、Fedora/RHEL、Arch) ## 使用说明 ### 安装模式 克隆所有仓库并编译所有 BOF 和工具: ``` ./WeaponizeCobaltStrike.sh install ``` 此命令将: 1. 安装缺失的依赖项 2. 将所有 BOF 仓库克隆到 `/opt` 3. 编译所有可用工具 4. 组织编译后的文件以集成到 Cobalt Strike ### 清理模式 移除所有已安装的工具和编译后的文件: ``` ./WeaponizeCobaltStrike.sh clean ``` ⚠️ 这将删除 `/opt` 下除 `/opt/homebrew` 之外的所有内容 ### CNA 发现模式 查找所有已编译的 Cobalt Strike Aggressor 脚本(.cna 文件): ``` ./WeaponizeCobaltStrike.sh cna ``` 如果未找到 .cna 文件,将自动运行安装过程。 ## 参考 - [Cobalt Strike 官网](https://www.cobaltstrike.com/) - [Beacon Object Files (BOF) 文档](https://www.cobaltstrike.com/help-beacon-object-files) - [TrustedSec 安全研究](https://www.trustedsec.com/) - [Outflank 研究](https://outflank.nl/)
标签:Bash, BOF, Cobalt Strike, DNS 反向解析, 应用安全, 攻击诱捕, 欺骗防御, 自动化编译