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;
)