alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE Win32/Valyria Maldoc Payload Request M1";
flow:established,to_server;
http.uri;
content:"/IMG"; fast_pattern;
content:".exe"; endswith;
pcre:"/\/IMG[-_]?[0-9\-]{7,9}\.exe$/";
http.user_agent;
content:"Microsoft-CryptoAPI/"; startswith;
http.host;
pcre:"/^[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}$/";
http.header_names;
content:!"|0d 0a|Referer|0d 0a|";
reference:url,microsoft.com/en-us/wdsi/threats/malware-encyclopedia-description?Name=Trojan:VBS/Valyria;
reference:url,community.emergingthreats.net/t/new-signature-for-valyria/203;
classtype:trojan-activity;
sid:2042658; rev:1;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2022_12_12, deployment Perimeter, deployment SSLDecrypt, malware_family Win32_Valyria, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2022_12_12, reviewed_at 2025_10_24;
)