alert http $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET WEB_CLIENT GENERIC VB ShellExecute Function Inside of VBSCRIPT tag";
flow:to_client,established;
file_data;
content:"vbscript"; nocase;
content:"shellexecute"; nocase; fast_pattern;
content:"<script "; nocase;
pcre:"/^[^>]*?(?:language\s*?=\s*?[\x22\x27]vbscript[\x22\x27]|type\s*?=\s*?[\x22\x27]text/vbscript[\x22\x27](?:(?!<\/script>).)+?\WShellExecute)/Rsi";
classtype:attempted-user;
sid:2019707; rev:3;
metadata:affected_product Web_Browsers, affected_product Web_Browser_Plugins, attack_target Client_Endpoint, created_at 2014_11_14, deployment Perimeter, signature_severity Major, tag Web_Client_Attacks, updated_at 2019_10_08;
)