alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE CozyCar CnC Beacon";
flow:established,to_server;
http.uri;
content:"=11&";
content:"=2"; distance:1; within:8;
content:"&"; distance:6; within:7;
content:"=410&"; distance:1; within:11;
content:"=650&"; distance:1; within:11; fast_pattern;
content:"=51"; distance:1; within:9;
pcre:"/=11&[^&]{1,7}?=2[^&]{6,12}&[^&]{1,7}?=410&[^&]{1,7}?=650&[^&]{1,7}?=51$/";
reference:url,www.us-cert.gov/security-publications/GRIZZLY-STEPPE-Russian-Malicious-Cyber-Activity;
classtype:command-and-control;
sid:2023965; rev:3;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2017_02_17, deployment Perimeter, malware_family APT29_CozyCar, confidence High, signature_severity Major, tag c2, updated_at 2020_08_04, mitre_tactic_id TA0010, mitre_tactic_name Exfiltration, mitre_technique_id T1041, mitre_technique_name Exfiltration_Over_C2_Channel;
)