Open-source .NET C2 framework

Covenant

Covenant is an open-source command-and-control framework written in .NET, published by Ryan Cobb for red teaming and .NET offensive tradecraft. It gives an operator a web-based server, a collaborative multi-user console, and in-memory implants called Grunts that run on compromised Windows, Linux, and macOS hosts.

It is dual-use: built for authorized testing, and picked up by real operators. MITRE tracks it as S1155, and state-sponsored groups including HAFNIUM and APT28 have used it in live intrusions.

  • Actively tracked
  • MITRE S1155
Dual-use framework

A .NET C2 server built for red teams, used by real operators

The framework is legitimate by design, written to exercise the attack surface of .NET and make offensive .NET tradecraft easier to run and collaborate on. It is profiled here because its servers turn up in the wild, and because groups like APT28 have reengineered the Grunt implant for long-term espionage. An exposed Covenant server is worth a closer look, since it may be a red team's lab as easily as an operator's live C2.

Covenant management consoles on port 7443 in Hunt.io's C2 Infrastructure view, with the monthly live trendFigure 01. The Covenant profile in Hunt.io's C2 Infrastructure view, with the monthly trend of live IPs and domains.
  • Aliases: Covenant, Covenant C2

  • Type: dual-use open-source .NET command-and-control framework

  • Author: Ryan Cobb, open source

  • Project: github.com/cobbr/Covenant (open-source framework, not linked here)

  • Written in: C#, targeting .NET Core for the server and the Elite client

  • Implant: Grunt, a .NET in-memory implant that targets the .NET framework

  • Transport: Grunts call home over HTTP, HTTPS, or SMB

  • Management interface: a web UI on port 7443, where Hunt.io sees the live servers

  • MITRE ATT&CK: S1155

  • Known abuse: HAFNIUM and APT28 (Fancy Bear / Sednit) in live operations

The console

The management interface on 7443 and the Grunts it controls

Covenant runs as a .NET Core server that exposes a browser-based management console. The console is where an operator creates listeners, builds launchers, and tasks implants, and it answers over HTTPS on port 7443 by default. That interface is the part of a Covenant deployment visible from the outside, so it is what Hunt.io tracks and what a detection filter keys on.

The implant is a Grunt: a .NET assembly that loads and runs in memory, communicating back to a Covenant listener over HTTP, HTTPS, or SMB. Grunt tasking leans on inline execution of .NET assemblies, so tools like SharpHound or Rubeus run in the Grunt's memory without touching disk. A listener's profile controls how that traffic appears on the wire, which means the payload side of a deployment varies, but the management console stays constant. An exposed console is also a liability for the operator running it, since a reachable management interface is a route to taking over the server itself.

Live servers

Covenant IOC feed: exposed .NET servers

In the last 30 days Hunt.io has โ€” Covenant servers in the feed. They answer on port 7443, the web management console, which is the clearest external sign that a host is running Covenant.

The feed earns its place two ways. It gives you the current hosting and the 7443 fingerprint so you can recognize a Covenant console, and it lets you check whether a server from an incident is a tracked Covenant controller and what else sits on the same infrastructure.

HuntSQL

Confirming Covenant servers on 7443 with HuntSQL

Covenant is tracked as a family, so the live-server count is a single query over the C2 infrastructure data:

count unique active servers
SELECT uniq(ip) AS unique_ips
FROM malware
WHERE malware.name = 'Covenant'
  AND is_active = true

The console is not pinned to 7443 everywhere, so grouping the active servers by country and port together shows which region-and-port pairs actually carry the deployments:

group results
SELECT asn.country_code, port, uniq(ip) AS servers
FROM malware
WHERE malware.name = 'Covenant'
  AND is_active = true
GROUP BY asn.country_code, port
ORDER BY servers DESC

The active servers, deduplicated across host, port, and network:

group results
SELECT ip, port, asn.name, asn.country_code
FROM malware
WHERE malware.name = 'Covenant'
  AND is_active = true
GROUP BY ip, port, asn.name, asn.country_code
ORDER BY ip DESC

Output example:

Live Covenant server in Hunt.io's SQL results on port 7443Figure 02. The active Covenant server returned by the query, on the 7443 management port, hosted by netcup in Germany.

Two pivots widen the view beyond the family tag. The management console answers over HTTPS on 7443, so the TLS certificate and the login response on that port anchor a host even when the family tag has not caught up. The Grunt side gives a second angle: a server that fronts a 7443 console and also serves .NET launchers, or sits beside PowerShell and SharpSploit-style tooling, is a Covenant deployment worth confirming on the console itself.

In the wild

Covenant in state-sponsored operations

Covenant is open source, so most deployments are red-team work. The exceptions matter: APT28, the Russian state group also tracked as Fancy Bear, Sednit, and UAC-0001, has run a heavily modified Covenant Grunt against Ukrainian and European targets, pairing it with a second implant and abusing legitimate cloud storage as C2.

ESET documented Sednit (APT28) deploying BeardShell, a PowerShell implant that runs inside a .NET runtime and uses Icedrive cloud storage for C2, alongside Covenant as the companion implant it drops to keep persistent access to high-value Ukrainian targets.

APT28 uses BeardShell and CovenantThe Hacker News, Mar 2026

Reporting on the same arsenal describes Covenant as "heavily" modified to support long-term espionage, with a new cloud-based network protocol that abuses Filen for C2, running next to BeardShell and a keylogger-screenshot tool codenamed SLIMAGENT.

Trellix tied a multi-stage chain against European military and government targets, including maritime and transport organizations in Poland, to a modified CovenantGrunt reengineered to use filen.io cloud storage, delivered alongside an Outlook VBA backdoor tracked as NotDoor.

Zscaler tracked Operation Neusploit against Central and Eastern Europe, where crafted RTF files exploiting CVE-2026-21509 led through a loader named PixyNetLoader to the deployment of a Covenant Grunt implant.

MITRE also records earlier abuse by HAFNIUM, so Covenant has a documented history on both the espionage and the intrusion side. What ties it together is the console plus the implant: a 7443 management interface, the .NET launchers it builds, and any sign the Grunt traffic has been bent onto a cloud service instead of a plain listener.

Triage

Triaging a Covenant server you find

Covenant runs its operation from a web management interface served over HTTPS on 7443 by default, where an operator defines Listeners, builds Launchers, and tasks the Grunt implants that call back. Start the confirmation there: the login interface and the self-signed certificate Covenant generates on first run are steadier tells than the port, which an operator can change. A box answering on 7443 with that interface and Grunts checking in is worth separating from an idle console on a lab host.

Hunt.io IP detail for a live Covenant host, the Kestrel console tagged Covenant on port 7443 beside a SOCKS5 proxyFigure 03. A live Covenant host in detail. The 7443 service answers as Kestrel, the .NET web server Covenant runs on, and carries the Covenant tag, while a SOCKS5 proxy on 1080 on the same box is the kind of tunneling service an operator stands beside the console.

From a confirmed server the pivots are the certificate and the listener profile. Covenant's generated certificate and JARM fingerprint group servers provisioned the same way, and the HTTP listener profile, its request paths and headers, tends to carry across one operator's deployments. Pivot on those and on the hosting to pull the wider set, the way you would with a sibling Windows and .NET framework like Cobalt Strike.

The caveat specific to Covenant is the modified implant. The APT28 activity tied to it ran Grunts that leaned on a cloud service for C2, so a tasked implant may never answer on an obvious listener at all. When a server does not behave like a stock Covenant, the certificate and the co-located tooling are what keep the thread, not the listener.

Questions

Things analysts ask about Covenant

Is Covenant malware?

Covenant is a dual-use framework, not malware in itself. It is an open-source .NET C2 framework published for red teaming and security research, and the same framework has been modified and used by state-sponsored actors such as APT28 and HAFNIUM. An unsanctioned Covenant server is worth investigating, but the framework itself is legitimate red-team software.

What does Covenant do?

It gives an operator a .NET C2 server with a web console to create listeners, build launchers, and task Grunt implants. Grunts are .NET in-memory implants that run on Windows, Linux, and macOS and execute .NET assemblies inline, so post-exploitation tools run in memory without touching disk.

What port does a Covenant server use?

The web management interface defaults to port 7443 over HTTPS, which is where Hunt.io sees the live servers. The listener ports that Grunts call home on are set per deployment and vary, so confirm on the 7443 console rather than the Grunt port.

How do you detect Covenant?

Look for the management console on port 7443, anchor on the TLS certificate and login response there, and check the Hunt.io feed of live servers. On the endpoint, watch for PowerShell launchers and inline .NET assembly loading tied to Grunt activity.

Who uses Covenant?

Red teams and penetration testers use it for authorized .NET post-exploitation. On the malicious side, MITRE records HAFNIUM, and multiple vendors have tied a heavily modified Covenant Grunt to APT28 espionage against Ukraine and Europe.

Who made Covenant?

It is an open-source project authored by Ryan Cobb, written in C# and maintained on a public repository, built to make .NET offensive tradecraft easier for red teamers to use and collaborate on.