alert http $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET WEB_CLIENT PowerShell call in script 2";
flow:from_server,established;
file_data;
content:"vbscript"; nocase;
content:"shell"; nocase;
pcre:"/^\W/Rs";
content:"powershell.exe"; fast_pattern;
content:"<script";
pcre:"/^((?!<\/script>).)+?powershell\.exe/Rsi";
classtype:attempted-user;
sid:2025062; rev:4;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2017_11_27, deployment Perimeter, performance_impact Low, signature_severity Major, tag Web_Client_Attacks, updated_at 2020_08_19;
)