alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE [TGI] Cobalt Strike Malleable C2 Request (O365 Profile)";
flow:established,to_server;
http.uri;
content:"/owa/?wa="; startswith;
content:"&path=/calendar"; endswith;
http.cookie;
content:"MicrosoftApplicationsTelemetryDeviceId="; startswith;
content:"|3b|ClientId="; distance:0;
content:"|3b|MSPAuth="; distance:0;
content:"|3b|xid="; distance:0;
content:"|3b|wla42="; distance:0;
http.header_names;
content:!"Referer";
content:"Cookie";
reference:md5,a26722fc7e5882b5a273239cddfe755f;
reference:url,attack.mitre.org/groups/G0080/;
classtype:command-and-control;
sid:2028588; rev:2;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2019_09_17, deployment Perimeter, malware_family Cobalt_Strike, confidence Medium, signature_severity Major, updated_at 2020_09_02, mitre_tactic_id TA0011, mitre_tactic_name Command_And_Control, mitre_technique_id T1001, mitre_technique_name Data_Obfuscation;
)