← Back to SOC feed Coverage →

Identifies deobfuscation routine used in Cobalt Strike Beacon DLL version 4.2

yara LOW signature-base
cobalt-strikecobaltstrike_beaconevasionflorian-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 specific deobfuscation routine employed by Cobalt Strike Beacon DLL version 4.2, which adversaries often use to hide command-and-control traffic and evade signature-based detection. SOC teams should proactively hunt for this behavior in Azure Sentinel to identify early-stage post-exploitation activities that may indicate a persistent threat actor leveraging the widely adopted Cobalt Strike framework.

YARA Rule

rule HKTL_CobaltStrike_Beacon_4_2_Decrypt {
   meta:
      author = "Elastic"
      description = "Identifies deobfuscation routine used in Cobalt Strike Beacon DLL version 4.2"
      reference = "https://www.elastic.co/blog/detecting-cobalt-strike-with-memory-signatures"
      date = "2021-03-16"
      id = "63b71eef-0af5-5765-b957-ccdc9dde053b"
   strings:
      $a_x64 = { 4C 8B 53 08 45 8B 0A 45 8B 5A 04 4D 8D 52 08 45 85 C9 75 05 45 85 DB 74 33 45 3B CB 73 E6 49 8B F9 4C 8B 03 }
      $a_x86 = { 8B 46 04 8B 08 8B 50 04 83 C0 08 89 55 08 89 45 0C 85 C9 75 04 85 D2 74 23 3B CA 73 E6 8B 06 8D 3C 08 33 D2 }
   condition:
      any 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 specific false positive scenarios for the Cobalt Strike Beacon DLL v4.2 Deobfuscation detection rule, including suggested filters and exclusions:

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