alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS D-Link DIR820 ping.ccp Command Injection Attempt (CVE-2023-25280)";
flow:established,to_server;
http.method;
content:"POST";
http.uri; bsize:9;
content:"/ping.ccp"; fast_pattern;
http.request_body;
content:"ccp_act|3d|";
content:"ping_addr|3d|";
pcre:"/^[^\x26]*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24))+/R";
reference:url,unit42.paloaltonetworks.com/mirai-variant-targets-iot-exploits/;
reference:cve,2023-25280;
classtype:attempted-admin;
sid:2057248; rev:1;
metadata:affected_product D_Link, attack_target Networking_Equipment, tls_state plaintext, created_at 2024_11_05, cve CVE_2023_25280, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag Exploit, tag CISA_KEV, updated_at 2024_11_05, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)