alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS Sonicwall Diagnostics page target Parameter Command Injection Attempt (CVE-2023-44221)";
flow:established,to_server;
http.method;
content:"POST";
http.uri; bsize:17;
content:"/spog/diagnostics"; fast_pattern;
http.request_body;
content:"tool|3d|TRACEROUTE6_CMD";
content:"target|3d|";
pcre:"/^[^\x26]*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24))+/R";
reference:url,labs.watchtowr.com/sonicboom-from-stolen-tokens-to-remote-shells-sonicwall-sma100-cve-2023-44221-cve-2024-38475/;
reference:cve,2024-38475;
classtype:attempted-admin;
sid:2071315; rev:1;
metadata:affected_product SonicWall, attack_target Networking_Equipment, tls_state plaintext, created_at 2026_07_27, cve CVE_2023_44221, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, tag CISA_KEV, updated_at 2026_07_27, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)