← Back to SOC feed Coverage →

Detects CobaltStrike beacons

yara LOW signature-base
cobalt-strikecobaltstrike_beaconflorian-roth
This rule was pulled from an open-source repository and enriched with AI. Validate in a test environment before deploying to production.
View original rule at signature-base →
Retrieved: 2026-08-02T23:00:00Z · Confidence: medium

Hunt Hypothesis

This rule detects the presence of Cobalt Strike beacon processes, which adversaries frequently deploy to establish persistent command-and-control channels for lateral movement and data exfiltration. Proactive hunting is essential in Azure Sentinel because these beacons often mimic legitimate system behavior, allowing attackers to remain undetected during early stages of an intrusion despite their low initial severity rating.

YARA Rule

rule APT_CobaltStrike_Beacon_Indicator {
   meta:
      description = "Detects CobaltStrike beacons"
      author = "JPCERT"
      reference = "https://github.com/JPCERTCC/aa-tools/blob/master/cobaltstrikescan.py"
      date = "2018-11-09"
      id = "8508c7a0-0131-59b1-b537-a6d1c6cb2b35"
   strings:
      $v1 = { 73 70 72 6E 67 00 }
      $v2 = { 69 69 69 69 69 69 69 69 }
   condition:
      uint16(0) == 0x5a4d and filesize < 300KB and all of them
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 2 string patterns in its detection logic.

References

False Positive Guidance

Here are 3-5 specific false positive scenarios for the “Detects CobaltStrike beacons” rule, including suggested filters and exclusions:

Original source: https://github.com/Neo23x0/signature-base/blob/main/yara/apt_cobaltstrike.yar