alert http any any -> [$HOME_NET,$HTTP_SERVERS] any (
msg:"ET EXPLOIT Possible Microsoft Exchange ProxyLogon Activity - OABVirtualDirectory SetObject (CVE-2021-27065)";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/ecp/";
content:"/SetObject?";
content:"schema=OABVirtualDirectory"; fast_pattern;
http.header;
content:"msExchLogonMailbox|3a|";
http.request_body;
content:"__type";
content:"Microsoft.Exchange.Management.ControlPanel"; distance:0;
content:"ExternalUrl"; distance:0;
reference:url,github.com/praetorian-inc/proxylogon-exploit/blob/main/exploit.py;
reference:cve,2021-27065;
classtype:attempted-admin;
sid:2033754; rev:1;
metadata:attack_target Server, created_at 2021_08_20, cve CVE_2021_27065, deployment Perimeter, deployment Internal, confidence Medium, signature_severity Major, tag Exploit, tag CISA_KEV, updated_at 2021_08_20, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
)