← Back to SOC feed Coverage →

CozyDuke / CozyCar / CozyBear Implant by APT29

yara CRITICAL Yara-Rules
aptcommunity
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 Yara-Rules →
Retrieved: 2026-05-26T11:00:01Z · Confidence: medium

Hunt Hypothesis

The detection identifies potential CozyDuke / CozyCar / CozyBear implants deployed by APT29, leveraging unusual file execution patterns and network communication indicative of command and control activity. SOC teams should proactively hunt for this behavior to detect and mitigate advanced persistent threats before they exfiltrate data or escalate within the Azure Sentinel environment.

YARA Rule

rule IMPLANT_10_v1 {
   meta:
      description = "CozyDuke / CozyCar / CozyBear Implant by APT29"
      author = "US CERT"
      reference = "https://www.us-cert.gov/ncas/current-activity/2017/02/10/Enhanced-Analysis-GRIZZLY-STEPPE"
      date = "2017-02-10"
      score = 85
   strings:
      $STR1 = {33 ?? 83 F2 ?? 81 E2 FF 00 00 00}
      $STR2 = {0F BE 14 01 33 D0 ?? F2 [1-4] 81 E2 FF 00 00 00 66 89 [6] 40 83
         F8 ?? 72}
   condition:
      uint16(0) == 0x5A4D and ($STR1 or $STR2)
}

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

Original source: https://github.com/Yara-Rules/rules/blob/main/malware/APT_Grizzlybear_uscert.yar