alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET ADWARE_PUP Win32/Adware.Adposhel.A Checkin 5";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/q/"; depth:3; fast_pattern;
http.request_body;
content:"q="; depth:2;
pcre:"/^[a-zA-Z0-9_-]+$/R";
http.connection;
content:"close"; nocase; endswith;
http.content_type;
content:"application/x-www-form-urlencoded"; depth:33; endswith;
http.header_names;
content:!"Accept";
content:!"Referer";
reference:md5,f0e02ba660cfcb122b89bc780a6555ac;
classtype:pup-activity;
sid:2025094; rev:5;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2017_12_01, deployment Internet, malware_family Adposhel, performance_impact Moderate, confidence High, signature_severity Minor, tag Adware, updated_at 2020_09_17;
)