Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2021-36798: Cobalt Strike Teamserver Denial of Service

Published Aug 9, 2021 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.5High · v3.1
EPSS4.3%92nd percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendor
Helpsystems
IdentifiersCVE-2021-36798CWE-400

CVE-2021-36798 is a denial-of-service vulnerability in HelpSystems Cobalt Strike Teamserver versions 4.2 and 4.3. The vulnerable server-side handling of Beacon callback task replies reads a length field without sanity checks and allocates memory directly from the attacker-controlled reply size. An attacker able to communicate with Teamserver as a Beacon can register a fake Beacon and submit crafted replies that exhaust memory, crash the web thread responsible for HTTP stagers and Beacon communications, and render Teamserver unresponsive.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation disrupts Cobalt Strike command-and-control operations. Existing Beacons can no longer communicate with Teamserver, new Beacons cannot be installed, and ongoing operations may be interrupted. The Teamserver can remain unresponsive until restarted, and it can be repeatedly targeted if it remains unpatched or its Beacon configuration is unchanged.

Mitigation

If you can’t patch tonight, do this now.

Restarting Teamserver can restore service temporarily but does not prevent repeated exploitation. Changing the Beacon configuration can prevent reuse of the affected configuration, but invalidates existing live Beacons until they are updated with the new configuration.

Remediation

Patch, then assume compromise.

Upgrade Cobalt Strike to version 4.4 or later. HelpSystems released Cobalt Strike 4.4 with a fix for CVE-2021-36798 on August 4, 2021.

Public exploits

Exploits

2 exploits validated by Mallory's analysis.

View more in app →
CobaltStrikeDosThis repository contains a Python exploit script (CobaltStrikeDos.py) and a README.md. The exploit targets Cobalt Strike C2 servers vulnerable to CVE-2021-36798 (versions prior to 4.4), which are susceptible to a denial of service (DoS) attack. The script works by crafting and sending specially formed payloads that mimic or manipulate beacon registration traffic, exploiting the server's handling of such data to crash or halt the C2 service. The README provides usage instructions, example output, and references to further information about the vulnerability. The exploit is operational and requires network access to the target Cobalt Strike C2 server. No detection or scanning functionality is present; the script is designed to actively exploit and disrupt the target service.JamVayne · Disclosed Sep 6, 2021 · python · networkOperationalCVE-2021-36798This repository provides a proof-of-concept exploit for CVE-2021-36798, a Denial of Service (DoS) vulnerability affecting Cobalt Strike C2 servers prior to version 4.3. The main exploit script, CVE-2021-36798.py, connects to a specified Cobalt Strike C2 server URL, retrieves beacon configuration data, and then forges a random beacon registration. It sends specially crafted and oversized task data to the server, exploiting the vulnerability to crash or halt the C2 server's operations. The exploit leverages knowledge of Cobalt Strike's malleable C2 profiles and communication protocol, as implemented in the supporting modules (beacon_utils.py, comm.py, parse_beacon_config.py). The attack vector is network-based, requiring only HTTP(S) access to the C2 server. The repository is structured with modular Python scripts: the main exploit, utilities for beacon parsing and communication, and a configuration parser. No hardcoded IPs or domains are present; the target endpoint is provided by the user at runtime. The exploit is operational as a DoS tool and does not provide post-exploitation capabilities beyond service disruption.M-Kings · Disclosed Aug 19, 2021 · python · networkPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
HelpsystemsCobalt Strikeapplication
FAQ

Frequently asked questions

Is CVE-2021-36798 exploited in the wild?
As of Oct 16, 2026, Mallory has no reports of CVE-2021-36798 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2021-36798?
Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2021-36798, the earliest disclosed Aug 19, 2021.
Is there a patch for CVE-2021-36798?
Upgrade Cobalt Strike to version 4.4 or later. HelpSystems released Cobalt Strike 4.4 with a fix for CVE-2021-36798 on August 4, 2021.
What products are affected by CVE-2021-36798?
Helpsystems Cobalt Strike.
How severe is CVE-2021-36798?
CVE-2021-36798 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 4.3% (92nd percentile) as of Oct 16, 2026.
Activity feed

Recent activity

1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malware1Malware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.