← Back to SOC feed Coverage →

Detects WannaCryptor spreaded during 2017-May-12th campaign and variants 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-11T23:00:01Z · Confidence: medium

Hunt Hypothesis

This hunt targets adversary behavior where ransomware variants, specifically those resembling the 2017 WannaCryptor campaign, execute malicious processes directly within system memory to evade traditional disk-based detection. Proactively hunting for these in-memory signatures within Azure Sentinel is critical because it allows the SOC team to identify stealthy lateral movement and early-stage infections that standard file-integrity rules might miss, thereby reducing dwell time before encryption occurs.

YARA Rule

rule wannacry_memory_ransom : wannacry_memory_ransom {

meta:

description = "Detects WannaCryptor spreaded during 2017-May-12th campaign and variants in memory"

author = "Blueliv"

reference = "https://blueliv.com/research/wannacrypt-malware-analysis/"

date = "2017-05-15"

strings:

$s01 = "%08X.eky"

$s02 = "%08X.pky"

$s03 = "%08X.res"

$s04 = "%08X.dky"

$s05 = "@WanaDecryptor@.exe"

condition:

all of them

}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 5 string patterns in its detection logic.

References

False Positive Guidance

Here are 4 specific false positive scenarios for the WannaCryptor detection rule, tailored to a legitimate enterprise environment:

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