Cobalt Strike Command and Control Beacon

Last updated 9 days ago on 2026-07-16
Created 6 years ago on 2020-07-06

About

Cobalt Strike is a threat emulation platform commonly modified and used by adversaries to conduct network attack and exploitation campaigns. This rule detects a network activity algorithm leveraged by Cobalt Strike implant beacons for command and control.
Tags
Use Case: Threat DetectionTactic: Command and ControlDomain: EndpointLanguage: esql
Severity
high
Risk Score
73
MITRE ATT&CK™

Command and Control (TA0011)(external, opens in a new tab or window)

False Positive Examples
This rule should be tailored to either exclude systems, as sources or destinations, in which this behavior is expected.
License
Elastic License v2(external, opens in a new tab or window)

Definition

Integration Pack
Prebuilt Security Detection Rules
Related Integrations

network_traffic(external, opens in a new tab or window)

Query
text code block:
from packetbeat-*, filebeat-*, logs-network_traffic.* metadata _id, _version, _index | where ( (event.category in ("network", "network_traffic") and network.protocol in ("tls", "http")) or data_stream.dataset in ("network_traffic.tls", "network_traffic.http") ) | where destination.domain RLIKE "[a-z]{3}\\.stage\\.[0-9]{8}\\..*" | keep @timestamp, destination.domain, source.ip, destination.ip, network.protocol, data_stream.dataset, _id, _version, _index

Install detection rules in Elastic Security

Detect Cobalt Strike Command and Control Beacon in the Elastic Security detection engine by installing this rule into your Elastic Stack.

To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(external, opens in a new tab or window).