alert http any any -> [$HOME_NET,$HTTP_SERVERS] any (
msg:"ET EXPLOIT TerraMaster TOS Unauthenticated Command Injection Inbound M2 (CVE-2022-24989)";
flow:to_server,established;
http.method;
content:"POST";
http.uri;
content:"/module/api.php?mobile/createRaid"; fast_pattern;
http.request_body;
content:"raidtype="; nocase;
pcre:"/^(?:\x3b|\x0a|\x26|\x60|\x7c|\x24)/R";
reference:cve,2022-24989;
classtype:attempted-admin;
sid:2035630; rev:2;
metadata:attack_target Server, created_at 2022_03_29, cve CVE_2022_24989, deployment Perimeter, deployment Internal, confidence High, signature_severity Major, tag Exploit, updated_at 2022_03_29, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
)