alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE Sharik/Smoke CnC Beacon 12";
flow:established,to_server;
urilen:<6;
http.method;
content:"POST";
http.uri;
content:"/"; endswith;
content:!".";
content:!"&";
http.user_agent;
pcre:"/(?:MSIE|rv\x3a)/";
http.request_body;
pcre:"/^[\x20-\x7e\r\n]{0,20}[^\x20-\x7e\r\n]/";
http.connection;
content:"keep-alive"; nocase;
http.content_type;
content:"application/x-www-form-urlencoded";
http.content_len;
content:"63"; fast_pattern; depth:2; endswith;
http.header_names;
content:"|0d 0a|Content-Type|0d 0a|Accept|0d 0a|Host|0d 0a|Referer|0d 0a|User-Agent";
reference:md5,6ccf5004f5bd1ffd26a428961a4baf6e;
classtype:command-and-control;
sid:2026555; rev:4;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2018_10_25, deployment Perimeter, malware_family Sharik, malware_family SmokeLoader, confidence High, signature_severity Major, tag c2, updated_at 2020_09_16, mitre_tactic_id TA0010, mitre_tactic_name Exfiltration, mitre_technique_id T1041, mitre_technique_name Exfiltration_Over_C2_Channel;
)