alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS Tenda HG9 Router Command Injection Attempt (CVE-2022-30023)";
flow:established,to_server;
http.method;
content:"POST";
http.uri; bsize:17;
content:"/boaform/formPing"; fast_pattern;
http.request_body;
content:"pingAddr|3d|";
pcre:"/^[^\x26]*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24))+/R";
reference:cve,2022-30023;
reference:url,unit42.paloaltonetworks.com/mirai-variant-targets-iot-exploits/;
classtype:attempted-admin;
sid:2057319; rev:1;
metadata:affected_product Tenda, attack_target Networking_Equipment, tls_state plaintext, created_at 2024_11_07, cve CVE_2022_30023, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, updated_at 2024_11_07, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)