alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET RETIRED MacOS/Realst CnC Checkin";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/opened"; fast_pattern;
http.header_names;
content:!"|0d 0a|Referer|0d 0a|";
http.request_body;
content:"Content-Disposition|3a 20|form-data|3b 20|name|3d 22|buildName|22 0d 0a 0d 0a|";
content:"Content-Disposition|3a 20|form-data|3b 20|name|3d 22|buildVersion|22 0d 0a 0d 0a|";
content:"Content-Disposition|3a 20|form-data|3b 20|name|3d 22|uid|22 0d 0a 0d 0a|";
pcre:"/^[a-f0-9]{8}-(?:[a-f0-9]{4}-){3}[a-f0-9]{12}/R";
reference:url,www.sentinelone.com/blog/apple-crimeware-massive-rust-infostealer-campaign-aiming-for-macos-sonoma-ahead-of-public-release/;
reference:md5,b56f0f689caf2997a67383d25ef9f64a;
classtype:trojan-activity;
sid:2047005; rev:2;
metadata:attack_target Client_Endpoint, created_at 2023_07_31, deployment Perimeter, former_category MALWARE, malware_family MacOS_Realst, performance_impact Low, confidence High, signature_severity Major, updated_at 2025_04_17, reviewed_at 2025_04_17;
target:src_ip;
)