alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET ADWARE_PUP OSX/Adware.Pirrit CnC Activity 1";
flow:established,to_server;
http.method;
content:"GET";
http.uri;
content:"?mid="; fast_pattern;
pcre:"/\/(cld|update-effect)\?mid=[A-F0-9]{8}-[A-F0-9]{4}-[A-F0-9]{4}-[A-F0-9]{4}-[A-F0-9]{12}&(ct|st)=[a-z0-9]+$/i";
http.user_agent;
content:"curl/"; startswith;
http.header_names;
content:!"Referer|0d 0a|";
reference:url,go.cybereason.com/rs/996-YZT-709/images/Cybereason-Lab-Analysis-OSX-Pirrit-4-6-16.pdf;
reference:md5,85846678ad4dbff608f2e51bb0589a16;
classtype:pup-activity;
sid:2022717; rev:4;
metadata:created_at 2016_04_08, signature_severity Minor, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2020_08_31;
)