alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE OSX/OceanLotus.D Sending Data to CnC";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:".js"; endswith;
http.user_agent;
content:"curl/"; fast_pattern;
http.content_type;
content:"application/x-www-form-urlencoded"; startswith;
http.header_names;
content:"Host|0d 0a|User-Agent|0d 0a|Accept|0d 0a|Content-Length|0d 0a|Content-Type";
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:2025464; rev:3;
metadata:affected_product Mac_OSX, attack_target Client_Endpoint, created_at 2018_04_05, deployment Perimeter, malware_family OceanLotus, performance_impact Low, confidence High, signature_severity Major, updated_at 2020_09_16;
)