Hi,
The BadSpace/WarmCookie sigs may need reworked or new ones. This is from PCAP Malware-Traffic-Analysis.net - 2024-08-15 - Traffic analysis exercise: WarmCookie). It is using 5.0 instead of 4.0.
User-Agent: Mozilla / 5.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705)
alert http $HOME_NET any → $EXTERNAL_NET any (msg:“ET MALWARE W32/Badspace.Backdoor CnC Activity (GET)”; flow:established,to_server; urilen:1; http.method; content:“GET”; http.uri; content:“|2f|”; http.user_agent; bsize:75; content:“Mozilla|20 2f 20|4|2e|0|20 28|compatible|3b 20|MSIE|20|6|2e|0|3b 20|Windows|20|NT|20|5|2e|1|3b 20|SV1|3b 2e|NET|20|CLR|20|1|2e|0|2e|3705|29|”; fast_pattern; http.cookie; bsize:100<>130; pcre:“/^(?:[A-Za-z0-9+/=]){100,130}$/”; classtype:trojan-activity; sid:2052557; rev:1; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, tls_state plaintext, created_at 2024_05_13, deployment Perimeter, confidence Medium, signature_severity Major, tag c2, updated_at 2024_05_13, mitre_tactic_id TA0011, mitre_tactic_name Command_And_Control, mitre_technique_id T1071, mitre_technique_name Application_Layer_Protocol;)
alert http $HOME_NET any → $EXTERNAL_NET any (msg:“ET MALWARE W32/Badspace.Backdoor CnC Activity (POST)”; flow:established,to_server; urilen:1; http.method; content:“POST”; http.uri; content:“|2f|”; http.user_agent; bsize:75; content:“Mozilla|20 2f 20|4|2e|0|20 28|compatible|3b 20|MSIE|20|6|2e|0|3b 20|Windows|20|NT|20|5|2e|1|3b 20|SV1|3b 2e|NET|20|CLR|20|1|2e|0|2e|3705|29|”; fast_pattern; http.cookie; bsize:100<>130; pcre:“/^(?:[A-Za-z0-9+/=]){100,130}$/”; http.request_body; content:“|bd 79 12 da|”; offset:12; depth:4; content:“|ee d5 7a a3 3f ab 21|”; distance:1; within:7; content:“|c5 2c 21|”; distance:1; within:3; classtype:trojan-activity; sid:2052558; rev:1; metadata:attack_target Client_Endpoint, created_at 2024_05_13, deployment Perimeter, signature_severity Major, tag c2, updated_at 2024_05_13, mitre_tactic_id TA0011, mitre_tactic_name Command_And_Control, mitre_technique_id T1071, mitre_technique_name Application_Layer_Protocol;)