alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE [PTsecurity] Win32/SpyAgent.Raptor (realtime-spy) CnC activity 1";
flow:established,to_server;
http.method;
content:"GET";
http.uri;
content:".php?username="; fast_pattern;
content:"&password="; distance:0;
pcre:"/^(?:(?:(?:[a-f0-9]){2}){16})/R";
content:"&id="; distance:0;
content:"&comp="; distance:0;
content:"&user="; distance:0;
http.header_names;
content:"Accept|0d 0a|Accept-Language|0d 0a|UA-CPU|0d 0a|Accept-Encoding|0d 0a|User-Agent|0d 0a|Host|0d 0a|Connection";
content:!"Referer";
reference:md5,ec88a1185714684b6388beddeef79e15;
classtype:command-and-control;
sid:2025633; rev:3;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2018_07_03, deployment Perimeter, malware_family SpyAgent_Raptor, performance_impact Low, confidence High, signature_severity Major, tag Spyware, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2022_09_13;
)