Skip to content

Covenant

85 commands

A collaborative .NET command-and-control framework with a web interface, built for red teams emulating adversaries.

  • C2
  • red team
  • .NET

Install Covenant

git clone --recurse-submodules https://github.com/cobbr/Covenant && cd Covenant/Covenant && docker build -t covenant . && docker run -it -p 7443:7443 -p 80:80 -p 443:443 covenant

Server Startup4

git clone --recurse-submodules https://github.com/cobbr/Covenant

Clones the Covenant repository including all necessary submodules

dotnet build

Compiles the Covenant solution using the .NET SDK

dotnet run --project Covenant

Starts the Covenant C2 server and web interface

docker-compose up -d

Starts Covenant using the Docker containerized workflow

Web Interface1

Navigate to https://127.0.0.1:7443

Accesses the administrative dashboard to register the initial user

Link

Listener Management2

Create HTTP Listener

Configures a standard HTTP listener for Grunt callbacks

Link
Create HTTPS Listener

Configures an encrypted HTTPS listener with a valid SSL certificate

Link

Profile Management1

Create Custom Profile

Defines custom network traffic indicators to blend in with legitimate traffic

Link

Launcher Generation4

Generate PowerShell Launcher

Creates a one-liner PowerShell command to execute the Grunt stager

Link
Generate Binary Launcher

Compiles a customized executable artifact to launch the Grunt

Link
Generate MSBuild Launcher

Creates an XML project file executable via the MSBuild utility

Link
Generate HTML Application (HTA)

Creates an HTML Application file for client-side execution vectors

Link

Grunt Session Interaction5

Interact

Opens the console session for a specific active Grunt

Link
Task Info

Displays detailed metadata about the current Grunt session

Link
SetDelay

Changes the sleep interval between callbacks to 10 seconds

Link
SetJitter

Adds a percentage of randomization to the callback interval

Link
Kill

Terminates the Grunt process on the remote host

Link

Tasking2

ShellCmd

Executes a basic command prompt command on the target

Link
PowerShell

Executes a PowerShell script block or command

Link

File System5

ListDirectory

Lists the contents of the specified directory

Link
ChangeDirectory

Changes the current working directory of the Grunt process

Link
GetCurrentDirectory

Prints the current working directory path

Link
Download

Downloads a file from the target machine to the Covenant server

Link
Upload

Uploads a file from the Covenant server to the target machine

Link

Process Operations3

GetProcess

Enumerates all running processes on the target system

Link
KillProcess

Terminates a specific process by its Process ID (PID)

Link
CreateProcess

Spawns a new process on the target system

Link

Registry Operations1

RegistryRead

Reads a value from the Windows Registry

Link

Network Enumeration7

GetNetLocalGroup

Enumerates members of a local group using .NET

Link
GetNetDomainUser

Enumerates user accounts in the current domain

Link
GetNetDomainController

Identifies the domain controllers for the current domain

Link
GetNetComputer

Enumerates computers in the domain and checks reachability

Link
GetNetShare

Lists network shares available on a specific computer

Link
ArpScan

Performs an ARP scan to identify live hosts on the local subnet

Link
PortScan

Performs a TCP connect scan on the specified target and ports

Link

Host Enumeration3

Seatbelt

Runs the Seatbelt safety check tool to enumerate system security settings

Link
Seatbelt User

Runs Seatbelt checks specifically related to the current user context

Link
WhoAmI

Displays extensive information about the current user and privileges

Link

Keylogging1

Keylogger

Starts the keylogging module to capture keystrokes

Link

Screen Capture1

Screenshot

Captures a screenshot of the current user's desktop

Link

Credential Access3

SafetyKatz

Safely executes Mimikatz logic to dump LSASS credentials

Link
DumpLsass

Creates a minidump of the LSASS process for offline analysis

Link
SamDump

Dumps the Security Account Manager (SAM) database hashes

Link

Token Manipulation4

GetSystem

Attempts to elevate privileges to SYSTEM using various techniques

Link
ImpersonateUser

Enumerates and impersonates available tokens to escalate privileges

Link
MakeToken

Creates a new token with specified credentials for network authentication

Link
RevertToSelf

Reverts the current thread impersonation back to the original process token

Link

Kerberos3

Rubeus

Interacts with Kerberos tickets using the Rubeus assembly

Link
Kerberoast

Attempts to roast service tickets to recover plaintext passwords

Link
ASREPRoast

Attacks users without Kerberos pre-authentication enabled

Link

Lateral Movement4

WMI

Executes a command on a remote system via Windows Management Instrumentation

Link
SharpWMI

Uses C# implementation of WMI for stealthier lateral movement

Link
SharpSsh

Executes commands over SSH using a .NET implementation

Link
PowerShellRemoting

Uses native PowerShell Remoting (WinRM) for lateral movement

Link

Pivoting2

Connect

Connects to a peer-to-peer SMB Grunt for internal pivoting

Link
Link

Links to a named pipe listener on a remote host

Link

Assembly Execution2

Assembly

Loads and executes a .NET assembly in memory without dropping to disk

Link
InlineAssembly

Executes an assembly within the same AppDomain as the Grunt

Link

OPSEC & Evasion3

BlockDLLs

Enables process mitigation policy to block non-Microsoft signed DLLs

Link
AMSIBypass

Patches memory to disable the Antimalware Scan Interface

Link
ETWBypass

Patches memory to disable Event Tracing for Windows logging

Link

Persistence3

Persist-Registry

Establishes persistence via a Registry Run key

Link
Persist-ScheduledTask

Creates a scheduled task to execute the Grunt payload

Link
Persist-WMI

Creates a WMI event subscription for persistence

Link

Management2

Jobs

Lists currently running background jobs on the Grunt

Link
KillJob

Terminates a specific background job

Link

Database Recon1

SharpSQL

Executes SQL queries against MSSQL instances

Link

Web Recon2

SharpChrome

Extracts cookies and saved data from Google Chrome

Link
SharpChromium

Extracts data from Chromium-based browsers like Edge

Link

Cleanup2

Rm

Deletes a file from the target filesystem

Link
Remote Task Kill

Removes the Grunt process to stop beaconing

Link

Graph View1

Graph View

Visualizes the relationship between listeners and Grunts

Link

Data Management2

Credentials Tab

View and manage captured credentials and hashes

Link
Downloads Tab

Access files exfiltrated from target systems

Link

Advanced7

Shellcode

Injects and executes raw shellcode into the Grunt process

Link
Inject

Injects shellcode into a remote process

Link
Mimikatz

Executes custom Mimikatz commands directly

Link
SharpUp

Checks for common local privilege escalation misconfigurations

Link
SharpDump

Creates a memory dump of a specific process using C#

Link
SharpRDP

Executes commands over RDP without GUI interaction

Link
StandBy

Places the Grunt into a low-activity standby mode

Link

Users1

User Management

Adds new operators to the Covenant server for collaboration

Link

Themes1

Theme Configuration

Customizes the visual appearance of the Covenant console

Link

Validation2

Event Log

Reviews the audit log of all actions taken by operators

Link
Export Data

Exports campaign data for reporting and analysis

Link