alert http [$HOME_NET,$HTTP_SERVERS] any -> any any (
msg:"ET EXPLOIT Possible Mirai Infection Attempt via OS Command Injection Outbound (CVE-2021-32305)";
flow:to_server,established;
http.method;
content:"GET";
http.uri;
content:"/search.php?search=|22 3b|/bin/bash+wget+http://"; fast_pattern;
pcre:"/^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$/R";
content:"|3b|+"; distance:0; within:50;
reference:url,unit42.paloaltonetworks.com/cve-2021-32305-websvn/;
reference:cve,2021-32305;
classtype:attempted-admin;
sid:2033856; rev:3;
metadata:created_at 2021_08_31, cve CVE_2021_32305, deployment Perimeter, malware_family Mirai, confidence Medium, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2021_09_22, mitre_tactic_id TA0008, mitre_tactic_name Lateral_Movement, mitre_technique_id T1210, mitre_technique_name Exploitation_Of_Remote_Services;
)