alert http any any -> $HOME_NET any (
msg:"ET WEB_SPECIFIC_APPS pyLoad Remote Code Execution via js2py Sandbox Escape (CVE-2024-39205)";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/flash/addcrypted2"; fast_pattern;
http.host.raw;
content:"|3a|9666";
pcre:"/(?:127.0.0.1|\x5b\x3a{2}1\x5d)\x3a9666/";
http.request_body;
content:"crypted|3d|";
content:"jk|3d|";
content:"Object.getOwnPropertyNames"; distance:0;
content:"__class__"; distance:0;
content:"__base__"; distance:0;
content:"__getattribute__"; distance:0;
reference:url,github.com/Marven11/CVE-2024-39205-Pyload-RCE;
reference:cve,2024-39205;
classtype:web-application-attack;
sid:2057703; rev:1;
metadata:attack_target Server, tls_state TLSDecrypt, created_at 2024_11_18, cve CVE_2024_39205, deployment Perimeter, deployment Internal, deployment SSLDecrypt, confidence Medium, signature_severity Major, tag Exploit, updated_at 2024_11_18, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)