← Back to SOC feed Coverage →

Detects an embedded executable with a malformed header - known from Tavdig malware

yara HIGH Yara-Rules
community
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-06-05T11:00:00Z · Confidence: medium

Hunt Hypothesis

The hypothesis is that an adversary is attempting to execute a malicious payload by embedding a malformed executable within a legitimate file, leveraging the Tavdig malware’s technique to evade standard detection mechanisms. SOC teams should proactively hunt for this behavior in Azure Sentinel to identify and mitigate potential stealthy malware execution attempts that bypass traditional signature-based detection.

YARA Rule

rule RUAG_Tavdig_Malformed_Executable 
{

  meta:
    description = "Detects an embedded executable with a malformed header - known from Tavdig malware"
    author = "Florian Roth"
    reference = "https://goo.gl/N5MEj0"
    score = 60
  
  condition:
  /* MZ Header and malformed PE header > 0x0bad */
    uint16(0) == 0x5a4d and uint32(uint32(0x3C)) == 0x0000AD0B 
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

References

False Positive Guidance

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