← Back to SOC feed Coverage →

This exe will attempt to use WMI to Call the Win32_Process event to spawn rundll - file wmi_rundll.exe

yara HIGH Yara-Rules
communitywmi
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-28T11:00:01Z · Confidence: medium

Hunt Hypothesis

This detection identifies adversaries leveraging Windows Management Instrumentation (WMI) to execute rundll32.exe via the Win32_Process event, a common technique for establishing persistence and evading traditional process monitoring by masquerading as legitimate system activity. Proactively hunting for this behavior in Azure Sentinel is critical because WMI-based process spawning often bypasses standard execution logs, allowing attackers to silently deploy malicious payloads like wmi_rundll.exe that could serve as a foothold for lateral movement or further compromise.

YARA Rule

rule iKAT_wmi_rundll {
	meta:
		description = "This exe will attempt to use WMI to Call the Win32_Process event to spawn rundll - file wmi_rundll.exe"
		author = "Florian Roth"
		date = "05.11.14"
		score = 65
		reference = "http://ikat.ha.cked.net/Windows/functions/ikatfiles.html"
		hash = "97c4d4e6a644eed5aa12437805e39213e494d120"
	strings:
		$s0 = "This operating system is not supported." fullword ascii
		$s1 = "Error!" fullword ascii
		$s2 = "Win32 only!" fullword ascii
		$s3 = "COMCTL32.dll" fullword ascii
		$s4 = "[LordPE]" ascii
		$s5 = "CRTDLL.dll" fullword ascii
		$s6 = "VBScript" fullword ascii
		$s7 = "CoUninitialize" fullword ascii
	condition:
		all of them and filesize < 15KB
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 8 string patterns in its detection logic.

References

False Positive Guidance

Here are 4 specific false positive scenarios for the WMI Win32_Process spawning rundll32.exe detection rule, along with targeted exclusion strategies:

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