alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE Revcode RAT CnC";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:".php";
http.user_agent;
content:"WinHttpRequest";
http.request_body;
content:"keyauth="; fast_pattern; depth:8;
content:"&key="; distance:0;
content:"&uid="; distance:0;
http.header_names;
content:!"Referer|0d 0a|";
reference:md5,3f652d9bc17a4be3c0e497ea19848344;
classtype:command-and-control;
sid:2024500; rev:3;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2017_07_27, deployment Perimeter, performance_impact Moderate, confidence High, signature_severity Major, updated_at 2020_08_11;
)