alert http any any -> [$HOME_NET,$HTTP_SERVERS,$SMTP_SERVERS] any (
msg:"ET EXPLOIT Microsoft Exchange Remote Code Execution Attempt (CVE-2022-41040, CVE-2022-41082)";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"autodiscover.json"; nocase; fast_pattern;
content:"Powershell"; nocase; distance:0;
reference:url,msrc-blog.microsoft.com/2022/09/29/customer-guidance-for-reported-zero-day-vulnerabilities-in-microsoft-exchange-server/;
classtype:attempted-admin;
sid:2039065; rev:2;
metadata:affected_product Microsoft_Exchange, attack_target Server, created_at 2022_09_30, cve CVE_2022_41040, deployment Perimeter, deployment Internal, deployment SSLDecrypt, performance_impact Low, confidence High, signature_severity Major, tag CISA_KEV, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2022_12_23, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
)