Skip to content
Skillpedia
Deploy & cloud (DevOps)35k · #6134

performing-red-team-with-covenant

Teaches your AI agent to ship projects and manage infrastructure and organize tasks, calendar and projects.

What it does

This tool helps simulate cyber attacks on authorized systems using a program called Covenant. It automates tasks like setting up the program's 'ear' to receive connections, creating 'agents' to spread the attack, and executing commands on compromised computers.

When to use it

  • ✓When testing network security with permission.
  • ✓When investigating a security incident.
  • ✓When performing scheduled security tests.

Example of what to ask your AI

“Simulate an authorized cyber attack using Covenant, setting up an HTTP listener and deploying an agent.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-red-team-with-covenant/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-red-team-with-covenant/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

The tool connects to Covenant using an access code. It then configures the program to listen for connections, creates the 'agents' to be sent to targets, and allows executing commands on those targets to see what happens.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill performing-red-team-with-covenant

Or download just the file:

curl -L https://raw.githubusercontent.com/mukul975/Anthropic-Cybersecurity-Skills/main/skills/performing-red-team-with-covenant/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from 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 requests library
  • 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.

FAQ

What is Covenant?

Covenant is a program used by security professionals to simulate attacks and test defenses in a controlled and authorized manner.

What are 'listeners' and 'agents'?

Listeners are like open doors waiting for connections from agents. Agents are small programs installed on compromised computers to allow remote control.

Do I need permission to use this?

Yes, it is crucial to have written authorization before conducting any attack simulation to ensure it is legal and ethical.

Details

Original description by the author

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.

repo: mukul975/Anthropic-Cybersecurity-Skills

Popularity

GitHub stars
35k
Ranking position
#6134
License
Apache-2.0
Updated
8/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills