alert http $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET ATTACK_RESPONSE Base64 Encoded Powershell Performing Byte Operations Inbound";
flow:established,to_client;
http.response_body;
content:"dmFyaWFibGU"; depth:25; fast_pattern;
base64_decode:bytes 11, offset 0;
base64_data;
content:"|5b|byte|5b 5d 5d|"; nocase;
reference:md5,046722bd15c75486ec47c89c8088b707;
classtype:trojan-activity;
sid:2058067; rev:2;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, affected_product Windows_11, attack_target Client_Endpoint, tls_state plaintext, created_at 2024_12_04, deployment Perimeter, confidence High, signature_severity Minor, updated_at 2024_12_12;
)