alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE APT LuckyMouse Polpo Malware CnC";
flow:established,to_server;
http.method;
content:"GET";
http.uri;
content:".cgi/?SSID="; fast_pattern;
pcre:"/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$/R";
http.header_names;
content:!"User-Agent";
content:!"Referer";
reference:url,decoded.avast.io/luigicamastra/apt-group-targeting-governmental-agencies-in-east-asia/;
classtype:command-and-control;
sid:2031314; rev:2;
metadata:attack_target Client_Endpoint, created_at 2020_12_09, deployment Perimeter, performance_impact Low, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2020_12_10;
)