alert http $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET MALWARE SharpExec EXE Lateral Movement Tool Downloaded";
flow:established,to_client;
file_data;
content:"MZ"; within:2;
byte_jump:4,58,relative,little;
content:"PE|00 00|"; distance:-64; within:4;
content:"|00|S|00|h|00|a|00|r|00|p|00|E|00|x|00|e|00|c|00 2e 00|e|00|x|00|e|00 20|"; distance:0; fast_pattern;
content:"M|00|y|00|P|00|@|00|s|00|s|00|w|00|0|00|r|00|d"; distance:0;
reference:url,github.com/anthemtotheego/SharpExec;
classtype:trojan-activity;
sid:2029574; rev:1;
metadata:attack_target Client_Endpoint, created_at 2020_03_04, deployment Perimeter, performance_impact Low, confidence High, signature_severity Major, updated_at 2020_03_04;
)