← Back to SOC feed Coverage →

hide data in jpeg

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 use JPEG files to hide malicious data, leveraging the format’s ability to embed payloads within image metadata. SOC teams should proactively hunt for this behavior in Azure Sentinel to identify potential data exfiltration or persistence mechanisms that evade traditional detection methods.

YARA Rule

rule hide_data_in_jpeg {
    strings: $ = /file_put_contents\(\$.{2,3},'JPEG-1\.1'\.base64_encode/
    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