alert tcp $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE Backdoor family PCRat/Gh0st CnC traffic (OUTBOUND) 38";
flow:established,to_server;
stream_size:server,<,5;
dsize:>11;
content:"|49 a5|"; offset:8;
byte_jump:4,-10,relative,little,from_beginning, post_offset -1;
isdataat:!2,relative;
pcre:"/^[\x20-\x7e]+?.{8}\x49\xa5/s";
reference:url,www.securelist.com/en/descriptions/10155706/Trojan-GameThief.Win32.Magania.eogz;
reference:url,www.microsoft.com/security/portal/Threat/Encyclopedia/Entry.aspx?Name=Backdoor:Win32/PcClient.ZR&ThreatID=-2147325231;
reference:md5,c8564898ab2598a075cbb478d104e750;
classtype:command-and-control;
sid:2018638; rev:3;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2014_07_03, deployment Perimeter, malware_family Gh0st, malware_family PCRAT, performance_impact Significant, confidence Medium, signature_severity Critical, tag PCRAT, tag Gh0st, tag RAT, updated_at 2021_09_03;
)