← Back to SOC feed Coverage →

Testing the base64 encoded file in sys32

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-10T11:00:01Z · Confidence: medium

Hunt Hypothesis

This detection targets adversaries attempting to obfuscate malicious payloads by executing Base64-encoded files directly within the %SystemRoot%\SysWOW64 or Sys32 directories to evade standard file path monitoring. Proactively hunting for this behavior in Azure Sentinel is critical because low-severity, legitimate-looking activity in system folders often masks early-stage lateral movement and living-off-the-land tactics that could escalate into significant compromises if left uninvestigated.

YARA Rule

rule winxml_dll
{
meta:
	author = "@patrickrolsen"
	maltype = "Point of Sale (POS) Malware"
    reference = "ce0296e2d77ec3bb112e270fc260f274"
	version = "0.1"
	description = "Testing the base64 encoded file in sys32"
	date = "01/30/2014"
strings:
	$s1 = "\\system32\\winxml.dll"
	//$s2 = "cmd /c net start %s"
	//$s3 = "=== pid:"
	//$s4 = "GOTIT"
	//$s5 = ".memdump"
	//$s6 = "POSWDS"
condition:
	uint16(0) == 0x5A4D and (all of ($s*))
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 6 string patterns in its detection logic.

References

False Positive Guidance

Here are 5 specific false positive scenarios for the detection rule “Testing the base64 encoded file in sys32”, along with suggested filters or exclusions:

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