← Back to SOC feed Coverage →

Detects a tiny SVG file that loads an URL (as seen in CryptoWall malware infections)

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

Hunt Hypothesis

This hunt targets adversaries leveraging malicious, lightweight SVG files to initiate external network connections, mimicking the initial infection vector observed in CryptoWall ransomware campaigns. Proactively searching for this behavior within Azure Sentinel is critical because these small file sizes often evade traditional signature-based defenses, allowing attackers to establish command-and-control channels before broader detection mechanisms trigger.

YARA Rule

rule SVG_LoadURL {
	meta:
		description = "Detects a tiny SVG file that loads an URL (as seen in CryptoWall malware infections)"
		author = "Florian Roth"
		reference = "http://goo.gl/psjCCc"
		date = "2015-05-24"
		hash1 = "ac8ef9df208f624be9c7e7804de55318"
		hash2 = "3b9e67a38569ebe8202ac90ad60c52e0"
		hash3 = "7e2be5cc785ef7711282cea8980b9fee"
		hash4 = "4e2c6f6b3907ec882596024e55c2b58b"
		score = 50
	strings:
		$s1 = "</svg>" nocase
		$s2 = "<script>" nocase
		$s3 = "location.href='http" nocase
	condition:
		all of ($s*) and filesize < 600
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 3 string patterns in its detection logic.

References

False Positive Guidance

Here are 4 specific false positive scenarios for the “Tiny SVG with Embedded URL” detection rule, including suggested filters and exclusions:

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