alert http $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET MALWARE Observed Possible PowerSploit/PowerView .ps1 Inbound";
flow:established,to_client;
http.stat_code;
content:"200";
file.data;
content:"PowerSploit File|3a 20|PowerView.ps1"; within:200; fast_pattern;
content:"function New-InMemoryModule"; distance:0;
isdataat:5000,relative;
classtype:trojan-activity;
sid:2029275; rev:1;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2020_01_14, deployment Perimeter, confidence Medium, signature_severity Major, updated_at 2020_01_14;
)