alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE OSX/OceanLotus.D Requesting Commands from CnC";
flow:established,to_server;
threshold:type limit, count 1, seconds 30, track by_src;
http.method;
content:"GET";
http.uri;
content:".css"; endswith;
http.user_agent;
content:"curl/";
http.cookie;
content:"m_pixel_ratio="; fast_pattern; depth:14;
pcre:"/^[a-f0-9]{32}\x3b$/R";
http.header_names;
content:"Host|0d 0a|User-Agent|0d 0a|Accept|0d 0a|";
content:!"Referer";
content:!"Cache";
content:!"Accept-";
reference:md5,306d3ed0a7c899b5ef9d0e3c91f05193;
reference:url,blog.trendmicro.com/trendlabs-security-intelligence/new-macos-backdoor-linked-to-oceanlotus-found/;
classtype:command-and-control;
sid:2025465; rev:4;
metadata:affected_product Mac_OSX, attack_target Client_Endpoint, created_at 2018_04_05, deployment Perimeter, malware_family OSX_OceanLotus_D, performance_impact Low, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2020_11_04;
)