alert http $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET EXPLOIT Possible Inbound Flash Exploit with Stack-Based wininet";
flow:established,from_server;
http.stat_code;
content:"200";
http.content_type;
content:"application|2f|x-shockwave-flash";
file.data;
content:"FWS"; depth:3;
content:"hnet|00|hwini"; fast_pattern; distance:0; nocase; within:1000;
content:".exe|00|";
pcre:"/^.{1,10}(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)/R";
classtype:attempted-user;
sid:2027790; rev:2;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, created_at 2019_08_02, deployment Perimeter, performance_impact Low, confidence Medium, signature_severity Major, tag Exploit, updated_at 2020_08_31;
)