ET HUNTING schtasks create Command in HTTP Body Response


Query · suricata

flow:established,to_client;
http.stat_code;
content:"200";
http.response_body;
content:"schtasks"; fast_pattern; nocase;
pcre:"/^.*?\x2fcreate.*?\x2f(?:sc|tn)/Ri";
target:dest_ip;
Raw source ET HUNTING schtasks create Command in HTTP Body Response · 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 HUNTING schtasks create Command in HTTP Body Response";
    flow:established,to_client;
    http.stat_code;
    content:"200";
    http.response_body;
    content:"schtasks"; fast_pattern; nocase;
    pcre:"/^.*?\x2fcreate.*?\x2f(?:sc|tn)/Ri";
    reference:url,learn.microsoft.com/en-us/windows-server/administration/windows-commands/schtasks;
    classtype:bad-unknown;
    sid:2064542; rev:1;
    metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, affected_product Windows_11, attack_target Client_and_Server, tls_state plaintext, created_at 2025_09_11, deployment Perimeter, performance_impact Low, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2025_09_11, mitre_tactic_id TA0002, mitre_tactic_name Execution, mitre_technique_id T1059, mitre_technique_name Command_And_Scripting_Interpreter;
    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.