← Back to SOC feed Coverage →

detect zark20rk(a variant of RedLeaves) in memory

yara LOW 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-07-02T23:00:00Z · Confidence: medium

Hunt Hypothesis

This hunt targets adversaries executing the Zark20rk (RedLeaves) malware variant within Azure Sentinel workloads by identifying its specific in-memory signatures to confirm active infection. Proactively hunting for this behavior is critical because early detection of this low-severity threat allows the SOC team to isolate compromised assets before the malware establishes persistence or exfiltrates sensitive data.

YARA Rule

rule zark20rk {
          meta:
            description = "detect zark20rk(a variant of RedLeaves) in memory"
            author = "JPCERT/CC Incident Response Group"
            rule_usage = "memory scan"
            reference = "internal research"
            hash1 = "d95ad7bbc15fdd112594584d92f0bff2c348f48c748c07930a2c4cc6502cd4b0"

          strings:
            $a1 = { C7 ?? ?? 7A 61 72 6B }
            $a2 = { C7 ?? ?? 32 30 72 6B }

          condition: 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 5 specific false positive scenarios for the detect zark20rk (a variant of RedLeaves) rule, tailored for a legitimate enterprise environment:

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