alert http any any -> $HOME_NET any (
msg:"ET WEB_SERVER SonicWall SMA Post-Auth Python Management API Remote Code Execution (CVE-2021-20044)";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/__api__/v1/management/systemsettings/file"; fast_pattern;
http.request_body;
content:"name|3d 22|upfile|22|";
content:"|50 4b|"; distance:0;
reference:url,www.nccgroup.com/us/research-blog/technical-advisory-sonicwall-sma-100-series-post-authentication-remote-command-execution-cve-2021-20044/;
reference:cve,2021-20044;
classtype:web-application-attack;
sid:2061724; rev:1;
metadata:affected_product SonicWall, attack_target Server, tls_state TLSDecrypt, created_at 2025_04_17, cve CVE_2021_20044, deployment Perimeter, deployment Internal, deployment SSLDecrypt, confidence Medium, signature_severity Major, tag Exploit, updated_at 2025_04_17, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)