alert dns $HOME_NET any -> any any (
msg:"ET MALWARE CASHY200 Style DNS Query - Getting CnC Data";
dns.query; bsize:>30;
content:"68643"; offset:5; depth:5;
content:"31303"; distance:7; within:5;
content:"|2e|"; distance:1; within:1;
pcre:"/^[a-zA-Z0-9]{5}6864(?:3[0-9]){4}31303[0-9]\./";
reference:url,unit42.paloaltonetworks.com/more-xhunt-new-powershell-backdoor-blocked-through-dns-tunnel-detection/;
classtype:command-and-control;
sid:2028670; rev:3;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2019_10_10, deployment Perimeter, performance_impact Significant, confidence High, signature_severity Major, updated_at 2020_10_19;
)