alert http $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET MALWARE Possible SharpShooter Framework Generated Script";
flow:established,to_client;
file_data;
content:"rc4=function|28|key,str|29|"; nocase;
content:"key.charCodeAt|28|i%key.length|29|"; fast_pattern; nocase; distance:0;
content:"String.fromCharCode|28|str.charCodeAt|28|";
content:"decodeBase64=function"; nocase; distance:0;
content:"b64block="; nocase; distance:0;
reference:url,www.mdsec.co.uk/2018/03/payload-generation-using-sharpshooter/;
reference:url,blog.morphisec.com/sharpshooter-pen-testing-framework-used-in-attacks;
classtype:trojan-activity;
sid:2026918; rev:1;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_and_Server, created_at 2019_02_18, deployment Perimeter, confidence Medium, signature_severity Major, updated_at 2019_07_26;
)