← Back to SOC feed Coverage →

Identifies strings used in Cobalt Strike Beacon DLL

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 detection rule identifies specific string signatures embedded within Cobalt Strike Beacon DLLs to uncover potential post-exploitation command and control infrastructure. Proactively hunting for these artifacts in Azure Sentinel is critical because Cobalt Strike is a ubiquitous adversary tool often deployed early in the kill chain, allowing analysts to detect stealthy lateral movement before significant compromise occurs.

YARA Rule

rule HKTL_CobaltStrike_Beacon_Strings {
   meta:
      author = "Elastic"
      description = "Identifies strings used in Cobalt Strike Beacon DLL"
      reference = "https://www.elastic.co/blog/detecting-cobalt-strike-with-memory-signatures"
      date = "2021-03-16"
      id = "af558aa2-a3dc-5a7a-bc74-42bb2246091c"
   strings:
      $s1 = "%02d/%02d/%02d %02d:%02d:%02d"
      $s2 = "Started service %s on %s"
      $s3 = "%s as %s\\%s: %d"
   condition:
      2 of them
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 3 string patterns in its detection logic.

References

False Positive Guidance

Here are 5 specific false positive scenarios for the “Identifies strings used in Cobalt Strike Beacon DLL” detection rule, including suggested filters and exclusions:

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