alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE Win32/Rarog Stealer CnC Keep-Alive";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/check.php"; endswith; fast_pattern;
http.request_body;
content:"m="; depth:2;
pcre:"/^m=[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/si";
http.header_names;
content:!"Referer";
reference:md5,b38a63aea75bcf06fed11067cc75cc7e;
classtype:command-and-control;
sid:2025580; rev:4;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2018_05_16, deployment Perimeter, malware_family Win32_Rarog, performance_impact Moderate, confidence High, signature_severity Major, updated_at 2020_09_16;
)