alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE Sharik/Smoke CnC Beacon 2";
flow:established,to_server;
urilen:1;
http.method;
content:"POST";
http.header;
content:"Cache-Control|3a 20|no-cache|0d 0a|Pragma|3a 20|no-cache|0d 0a|Content-Type|3a 20|application/x-www-form-urlencoded|0d 0a|User-Agent|3a 20|"; depth:104; fast_pattern;
http.user_agent;
pcre:"/(?:MSIE|rv\x3a)/";
http.connection;
content:"Keep-Alive";
http.header_names; bsize:87;
content:!"Accept";
content:!"Referer|0d 0a|";
content:"|0d 0a|Cache-Control|0d 0a|Pragma|0d 0a|Content-Type|0d 0a|User-Agent|0d 0a|Connection|0d 0a|Content-Length|0d 0a|Host|0d 0a 0d 0a|";
http.request_body;
pcre:"/^[\x20-\x7e\r\n]{0,20}[^\x20-\x7e\r\n]/";
reference:md5,789ee114125a6e1db363b505a643c03d;
classtype:command-and-control;
sid:2021631; rev:5;
metadata:attack_target Client_Endpoint, created_at 2015_08_14, deployment Perimeter, signature_severity Major, tag c2, updated_at 2024_03_12, mitre_tactic_id TA0010, mitre_tactic_name Exfiltration, mitre_technique_id T1041, mitre_technique_name Exfiltration_Over_C2_Channel;
)