ET ATTACK_RESPONSE JScriptToPowerShell Obfuscator Payload Inbound


Query · suricata

flow:established,to_client;
http.response_body;
content:"|23 20|Close|20 2a 2e|bat|2e|exe|20|processes";
content:"|23 20|Remove|20|specific|20|file|20|types|20|from|20|directories";
content:"Get|2d|ChildItem|20 2d|Path|20 24 5f 20 2d|Include|20 2a 2e|bat|2c 20 2a 2e|ps1|2c 20 2a 2e|lnk|2c 20 2a 2e|cmd|2c 20 2a 2e|vbs|20 2d|Recurse|20 2d|ErrorAction|20|SilentlyContinue"; fast_pattern;
content:"|23 20|Remove|20 2e|vbs|20|files";
target:dest_ip;
Raw source ET ATTACK_RESPONSE JScriptToPowerShell Obfuscator Payload Inbound · Suricata
Esc
Published by Emerging Threats Open ↗, licensed under BSD 3-Clause ↗. Line breaks added for readability; the rule is otherwise unchanged.
alert http $EXTERNAL_NET any -> $HOME_NET any (
    msg:"ET ATTACK_RESPONSE JScriptToPowerShell Obfuscator Payload Inbound";
    flow:established,to_client;
    http.response_body;
    content:"|23 20|Close|20 2a 2e|bat|2e|exe|20|processes";
    content:"|23 20|Remove|20|specific|20|file|20|types|20|from|20|directories";
    content:"Get|2d|ChildItem|20 2d|Path|20 24 5f 20 2d|Include|20 2a 2e|bat|2c 20 2a 2e|ps1|2c 20 2a 2e|lnk|2c 20 2a 2e|cmd|2c 20 2a 2e|vbs|20 2d|Recurse|20 2d|ErrorAction|20|SilentlyContinue"; fast_pattern;
    content:"|23 20|Remove|20 2e|vbs|20|files";
    reference:url,gist.github.com/andrew-petrus/05068fb8673040b21a3a6701df248570;
    classtype:trojan-activity;
    sid:2066483; rev:1;
    metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, tls_state TLSDecrypt, created_at 2025_12_26, deployment Perimeter, deployment SSLDecrypt, confidence High, signature_severity Major, updated_at 2025_12_26, mitre_tactic_id TA0011, mitre_tactic_name Command_And_Control, mitre_technique_id T1105, mitre_technique_name Ingress_Tool_Transfer;
    target:dest_ip;
)

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.