← Back to SOC feed Coverage →

Check FindWindowA iat

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-04-19T09:00:00Z · Confidence: medium

Hunt Hypothesis

The detection rule identifies potential adversary use of the FindWindowA function by inspecting the Import Address Table, which may indicate process injection or persistence techniques. SOC teams should proactively hunt for this behavior in Azure Sentinel to detect early-stage malware or advanced threats leveraging Windows API calls for lateral movement or stealthy execution.

YARA Rule

rule Check_FindWindowA_iat {

	meta:
		Author = "http://twitter.com/j0sm1"
		Description = "it's checked if FindWindowA() is imported"
		Date = "20/04/2015"
		Reference = "http://www.codeproject.com/Articles/30815/An-Anti-Reverse-Engineering-Guide#OllyFindWindow"

	strings:
		$ollydbg = "OLLYDBG"
		$windbg = "WinDbgFrameClass"

	condition:
		pe.imports("user32.dll","FindWindowA") and ($ollydbg or $windbg)
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 2 string patterns in its detection logic.

False Positive Guidance

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