alert http $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET POLICY Inbound PowerShell Capable of Enumerating Internal Network via WMI";
flow:established,from_server;
http.stat_code;
content:"200";
file.data;
content:"|20|Win32_NetworkAdapterConfiguration"; nocase;
content:"_.IPEnabled|20|-ne|20|$null"; within:200; nocase;
content:"_.DefaultIPGateway|20|-ne|20|$null"; within:200; nocase;
content:"select|20|IPAddress"; within:200; nocase; fast_pattern;
reference:md5,e5a9c413812b5217ef0da962668e9651;
classtype:trojan-activity;
sid:2027338; rev:3;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, created_at 2019_05_08, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag PowerShell, tag T1086, updated_at 2020_11_18;
)