alert smtp any any -> $SMTP_SERVERS any (
msg:"ET EXPLOIT Possible Barracuda Email Security Gateway Remote Code Execution Attempt (CVE-2023-2868) M2";
flow:established,to_server;
file.data;
content:"|60 27|";
content:"|75 73 74 61 72|"; distance:0; fast_pattern;
content:"|27 60|"; distance:0; within:500;
reference:url,www.mandiant.com/resources/blog/barracuda-esg-exploited-globally;
reference:cve,2023-2868;
classtype:attempted-admin;
sid:2048146; rev:2;
metadata:affected_product Barracuda_ESG, attack_target SMTP_Server, created_at 2023_09_21, cve CVE_2023_2868, deployment Perimeter, deployment Internal, performance_impact Low, confidence Low, signature_severity Major, tag CISA_KEV, updated_at 2023_09_29, reviewed_at 2024_10_02, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)