alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE Jupyter Stealer CnC Checkin M2";
flow:established,to_server;
http.start;
content:"POST / HTTP/1.1|0d 0a|Host|3a 20|"; startswith;
http.host.raw;
pcre:"/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/";
http.header_names;
content:"|0d 0a|Host|0d 0a|Content-Length|0d 0a|Expect|0d 0a|Connection|0d 0a 0d 0a|"; bsize:46; fast_pattern;
http.content_len;
byte_test:0,>=,200,0,string,dec;
byte_test:0,<=,999,0,string,dec;
http.connection;
content:"Keep-Alive"; bsize:10;
http.request_body;
content:!"|0d 0a|";
pcre:"/^[\x20-\x7e\r\n]{0,20}[^\x20-\x7e\r\n]/";
reference:md5,772816f913a48aabe00ab1e7db8aa48e;
reference:url,blogs.vmware.com/security/2023/11/jupyter-rising-an-update-on-jupyter-infostealer.html;
classtype:trojan-activity;
sid:2050051; rev:1;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, affected_product Windows_11, attack_target Client_Endpoint, created_at 2024_01_12, deployment Perimeter, malware_family Stealer, malware_family Jupyter, confidence Medium, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2024_01_12, mitre_tactic_id TA0009, mitre_tactic_name Collection, mitre_technique_id T1005, mitre_technique_name Data_from_local_system;
target:src_ip;
)