performing-red-team-with-covenant
它能做什么
这个工具借助一个名为 Covenant 的程序,模拟对已获授权系统的网络攻击。它能自动完成设置用于接收连接的“监听器”、创建用于投放攻击的“代理程序”,以及在被控制的电脑上执行命令等任务。
适用场景
- ✓在获得许可后测试网络安全性时。
- ✓在调查安全事件时。
- ✓在执行定期安全测试时。
技能链接
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-red-team-with-covenant/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“使用 Covenant 模拟一次经过授权的网络攻击,设置 HTTP 监听器并部署代理程序。”
每周 5 个新技能,1 分钟读完。
工作原理
该工具会使用访问密钥连接 Covenant。随后,它会配置程序开始监听连接,创建要投放到目标上的“代理程序”,并允许你在这些目标上执行命令,观察会发生什么。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Performing Red Team Operations with Covenant C2
Overview
Covenant is a collaborative .NET C2 framework for red teamers that provides a Swagger-documented REST API for managing listeners, launchers, grunts (agents), and tasks. This skill covers automating Covenant operations through its API for authorized red team engagements: creating HTTP/HTTPS listeners, generating binary and PowerShell launchers, deploying grunts, executing tasks on compromised hosts, and tracking lateral movement.
When to Use
- When conducting security assessments that involve performing red team with covenant
- When following incident response procedures for related security events
- When performing scheduled security testing or auditing activities
- When validating security controls through hands-on testing
Prerequisites
- Covenant C2 server deployed (Docker or .NET 6)
- Python 3.9+ with
requestslibrary - Covenant API token (obtained via /api/users/login)
- Written authorization for red team engagement
- Isolated lab or authorized target environment
Steps
Step 1: Authenticate to Covenant API
Obtain a JWT token by posting credentials to /api/users/login endpoint.
Step 2: Create Listener
Configure an HTTP or HTTPS listener with callback URLs and bind address.
Step 3: Generate Launcher
Create a binary, PowerShell, or MSBuild launcher tied to the listener for grunt deployment.
Step 4: Deploy and Manage Grunts
Monitor grunt callbacks, execute tasks, and collect output from compromised hosts.
Step 5: Document Operations
Generate an operations report documenting all actions, timestamps, and findings.
Expected Output
JSON report with listener configuration, active grunts, executed tasks, and task output for engagement documentation.
常见问题
什么是 Covenant?
Covenant 是一款安全专业人员常用的程序,用于在受控且经过授权的前提下模拟攻击并测试防御能力。
什么是“监听器”和“代理程序”?
监听器就像一扇等待连接的门,代理程序则是安装在被攻破电脑上、用于远程控制的小程序。
使用前需要获得许可吗?
需要。在进行任何攻击模拟之前,都必须获得书面授权,以确保操作合法合规。
详情
作者的原始描述
Conducts red team operations using the Covenant C2 framework for authorized adversary simulation, covering listener setup, grunt deployment, task execution, and lateral movement tracking. Use when standing up or operating a Covenant command-and-control server for an authorized red team engagement.
热度
- GitHub 星标
- 35k
- 排名
- #8297
- 许可证
- Apache-2.0
- 更新时间
- 2026/8/31
评论
- …
同一仓库的更多技能
abusing-dpapi-for-credential-access
35k为你的 AI 智能体提供针对特定任务的现成指令,让它完成得更好、更快。
abusing-shadow-credentials-for-privesc
35k教你的 AI 智能体写出清晰、结构良好的文本。
achieving-cmmc-level-2-compliance
35k帮助你的智能体搭建符合 CMMC Level 2 合规要求的环境。它会落实安全要求,并管理必要的文档。
acquiring-disk-image-with-dd-and-dcfldd
35k帮助你的智能体创建硬盘的精确副本。这能确保调查过程中信息不丢失、不被篡改。