alert tcp $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET EXPLOIT [CORELIGHT] RAR File ADS Path Traversal Inbound via raw tcp (CVE-2025-8088)";
flow:established,to_client;
app-layer-protocol:!http;
content:"|00 00 03|STM"; fast_pattern;
pcre:"/^.{2}\x3a[^\x00]{0,64}(?:\x2f|\x5c|%5[Cc]|%2[Ff])?(?:(?:\x2e|%2[Ee]){1,2}(?:\x2f|\x5c|%5[Cc]|%2[Ff]){1,}){2,}/R";
threshold:type limit, seconds 600, count 1, track by_src;
reference:url,travisgreen.net/2025/08/11/CVE-2025-8088.html;
reference:cve,2025-8088;
classtype:bad-unknown;
sid:2063967; rev:1;
metadata:attack_target Client_Endpoint, created_at 2025_08_11, cve CVE_2025_8088, deployment Perimeter, performance_impact Moderate, confidence High, signature_severity Major, tag Exploit, updated_at 2025_08_11, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1189, mitre_technique_name Drive_by_Compromise;
target:dest_ip;
)