Command and Control (TA0011)(external, opens in a new tab or window)
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).