alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE Sharik/Smoke CnC Beacon 8";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/"; endswith;
http.user_agent;
content:"Mozilla/5.0 (Windows NT 6.1|3b 20|WOW64|3b 20|Trident/7.0|3b 20|rv:11.0) like Gecko"; endswith;
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;
byte_test:0,<,100,0,string,dec;
http.header_names;
content:"|0d 0a|Cache-Control|0d 0a|Connection|0d 0a|Pragma|0d 0a|Content-Type|0d 0a|"; depth:51; fast_pattern;
reference:md5,5b0e06e3e896d541264a03abef5f30c7;
classtype:command-and-control;
sid:2025142; rev:4;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2017_12_07, deployment Perimeter, confidence High, signature_severity Major, tag Smoke_Loader, 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;
)