alert http any any -> [$HOME_NET,$HTTP_SERVERS] any (
msg:"ET EXPLOIT Azure Automation Authentication Bypass";
flow:established,to_server;
http.uri;
content:"/oauth2/token";
http.request_body;
content:"resource";
content:"management.azure.com"; within:60; fast_pattern;
http.header;
content:"metadata"; nocase;
content:!"X-IDENTITY-HEADER"; nocase;
reference:url,orca.security/resources/blog/autowarp-microsoft-azure-automation-service-vulnerability/;
classtype:attempted-admin;
sid:2035403; rev:2;
metadata:created_at 2022_03_07, deployment Perimeter, deployment Internal, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2022_03_07, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application;
target:dest_ip;
)