红蓝攻防
点击放大


!Co
![Contributors]()
![Commit Activity]()
![Stars]()
![License]()
![Chat]()
Co is a .NET command and control framework that aims to highlight the attack surface of .NET, make the use of offensive .NET tradecraft easier, and serve as a collaborati and control platform for red teamers.
Co is an ASP.NET Core, cross-platform application that includes a web-based interface that allows for multi-user collaboration.
!Co Dashboard
Please see the Installation and Startup guide to get started with Co!
The Wiki documents most of Co's core features and how to use them.
Co has several key features that make it useful and differentiate it from other command and control frameworks:
* Intuiti - Co provides an intuitive web application to easily run a collaborative red team operation.
* Multi-Platform - Co targets .NET Core, which is multi-platform. This allows Co to run natively on Linux, MacOS, and Windows platforms. Additionally, Co has docker support, allowing it to run within a container on any system that has docker installed.
* Multi-User - Co supports multi-user collaboration. The ability to collaborate has become crucial for effective red team operations. Many users can interact with the same Co server and operate independently or collaboratively.
* API Driven - Co is driven by an API that enables multi-user collaboration and is easily extendible. Additionally, Co includes a Swagger UI that makes de and debugging easier and more con.
* Listener Profiles - Co supports listener “profiles” that control how the network communication between Grunt implants and Co listeners look on the wire.
* Encrypted Key Exchange - Co implements an encrypted key exchange between Grunt implants and Co listeners that is largely based on a similar exchange in the Empire project, in addition to optional SSL encryption. This achieves the cryptographic property of forward secrecy between Grunt implants.
* Dynamic Compilation - Co uses the Roslyn API for dynamic C# compilation. Every time a new Grunt is generated or a new task is assigned, the relevant code is recompiled and obfuscated with ConfuserEx, a totally static payloads. Co reuses much of the compilation code from the SharpGen project, which I described in much more detail in a previous post.
* Inline C# Execution - Co borrows code and ideas from both the SharpGen and SharpShell projects to allow operators to execute C# one-liners on Grunt implants. This allows for similar functionality to that described in the SharpShell post, but allows the one-liners to be executed on remote implants.
* Tracking Indicators - Co tracks “indicators” throughout an operation, and summarizes them in the Indicators menu. This allows an operator to conduct actions that are tracked throughout an operation and easily summarize those actions to the blue team during or at the end of an assessment for deconfliction and educational purposes. This feature is still in it’s infancy and still has room for impro.
* De in C# - Personally, I enjoy de in C#, which may not be a surprise for anyone that has read my latest blogs or tools. Not e might agree that de in C# is ideal, but hopefully e agrees that it is nice to have all components of the framework written in the same language. I’ it very con to write the server, client, and implant all in the same language. This may not be a true “feature”, but hopefully it allows others to contribute to the project fairly easily.
Ha or want to chat more about Co? Join the #Co channel in the BloodHound Gang Slack.
开发语言:C#
Star 数:4740
该项目属于红蓝攻防方向的开源资源,代码结构清晰,适合安全研究人员学习参考。项目围绕Covenant is a collaborative .NET C2 framework for red teamers.展开,提供了可运行的实现,对理解相关安全机制、工具原理与攻防技术具有较高的研究价值。
从技术实现角度看,此类项目的核心在于对底层原理的深入理解与工程化落地。开发者在研究过程中可以结合官方文档与社区讨论,梳理项目的初始化流程、核心模块职责与数据流转,逐步掌握其中的技术细节与设计思路。
1. 下载源码压缩包,解压到本地环境。
2. 根据项目类型准备对应的运行环境与依赖。
3. 按照 README 中的步骤完成配置与部署。
4. 在隔离的测试环境中运行验证,避免影响生产系统。
本资源来源于开源社区,仅供安全研究、技术学习与合法授权范围内的攻防演练使用,请勿用于任何非法或侵害他人权益的用途。使用本项目产生的一切后果由使用者自行承担。
| 资源标题 | Covenant - Covenant is a collaborative .NET C2 framework for |
| 所属分类 | 红蓝攻防 |
| 发布作者 | admin |
| 发布时间 | 2026-10-06 00:33:15 |
| 下载权限 | 免费下载 |
| 附件数量 | 2 个下载链接 |
| 浏览次数 | 467 |
| 讨论数量 | 0 |
| 主题状态 | 正常讨论中 |