alert http $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET ATTACK_RESPONSE PowerShell Base64 Encoded Content Command Common In Powershell Stagers M2";
flow:established,to_client;
file.data;
content:!"|22|manifestVersion|22|";
content:!"<html";
content:"powershell"; fast_pattern; nocase;
content:"FromBase64String|28|"; nocase; distance:0;
classtype:bad-unknown;
sid:2026993; rev:3;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, created_at 2019_02_28, deployment alert_only, performance_impact Low, confidence Low, signature_severity Minor, tag PowerShell, updated_at 2023_04_20, reviewed_at 2023_10_11;
)