← Back to SOC feed Coverage →

base64 hidden in image

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

Hunt Hypothesis

Adversaries may embed base64-encoded payloads within images to exfiltrate data or execute malicious code covertly. SOC teams should proactively hunt for this behavior in Azure Sentinel to identify potential data exfiltration or command and control channels disguised as benign image files.

YARA Rule

rule base64_hidden_in_image {
    strings: $ = /JPEG-1\.1[a-zA-Z0-9\-\/]{32}/
    condition: any of them
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

False Positive Guidance

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