alert http any any -> $HOME_NET any (
msg:"ET EXPLOIT glibc iconv Abitrary File Read RCE (CVE-2024-2961)";
flow:established,to_server;
http.method;
content:"POST";
http.request_body;
content:"php%3a%2f%2ffilter%2fread%3d"; nocase;
pcre:"/^(?:(?:convert\x2e(?:quoted-printable-(?:en|de)code|iconv(?:\x2e[a-z0-9_-]+){2}|base64-(?:de|en)code)|zlib\x2e(?:(?:in|de)flate)|string\x2e(?:(?:to(?:upp|low)er)|rot13|strip_tags)|dechunk|consumed)(?:\x7c|\x2f)?)+/R";
content:"|2e|ISO-2022-CN-EXT%7c"; fast_pattern; nocase;
content:"%2fresource%3d"; nocase; distance:0;
reference:url,www.ambionics.io/blog/iconv-cve-2024-2961-p1;
reference:cve,2024-2961;
classtype:web-application-attack;
sid:2056446; rev:1;
metadata:attack_target Server, tls_state TLSDecrypt, created_at 2024_10_03, cve CVE_2024_2961, deployment Perimeter, deployment Internal, deployment SSLDecrypt, confidence High, signature_severity Major, tag Exploit, updated_at 2024_10_03, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)