← Back to SOC feed Coverage →

Suspiciously packed executable

yara MEDIUM 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-27T23:00:00Z · Confidence: medium

Hunt Hypothesis

This detection identifies adversaries utilizing packing tools to obfuscate malicious executables and evade signature-based analysis by compressing or encrypting binary content. Proactive hunting for these artifacts in Azure Sentinel is critical because packed binaries often conceal advanced threats that standard antivirus solutions may miss, allowing attackers to establish persistence before triggering broader alerts.

YARA Rule

rule CN_Packed_Scanner {
	meta:
		description = "Suspiciously packed executable"
		author = "Florian Roth"
		hash = "6323b51c116a77e3fba98f7bb7ff4ac6"
		score = 40
		date = "06.10.2014"
	strings:
		$s1 = "kernel32.dll" fullword ascii
		$s2 = "CRTDLL.DLL" fullword ascii
		$s3 = "__GetMainArgs" fullword ascii
		$s4 = "WS2_32.DLL" fullword ascii
	condition:
		all of them and filesize < 180KB and filesize > 70KB
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 4 string patterns in its detection logic.

False Positive Guidance

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