alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS Hytec popen.cgi command Parameter Command Injection Attempt (CVE-2022-36553)";
flow:established,to_server;
http.method;
content:"GET";
http.uri;
content:"/cgi-bin/popen.cgi|3f|"; startswith; fast_pattern;
content:"command|3d|"; distance:0;
pcre:"/^[^\x26]*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24))+/R";
reference:url,gist.github.com/Nwqda/b27418ab801eb0b9cdbe8d042cb0249b;
reference:cve,2022-36553;
classtype:attempted-admin;
sid:2072397; rev:1;
metadata:affected_product Hytec, attack_target Networking_Equipment, tls_state plaintext, created_at 2026_10_08, cve CVE_2022_36553, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, updated_at 2026_10_08, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)