Initial Access (TA0001)(external, opens in a new tab or window)
text code block:event.dataset:o365.audit and event.provider:AzureActiveDirectory and event.category:authentication and o365.audit.ErrorNumber:( 20001 or 20012 or 20033 or 40008 or 40009 or 40015 or 50006 or 50008 or 50012 or 50013 or 50027 or 50048 or 50099 or 50132 or 75005 or 75008 or 75011 or 75016 or 81004 or 81009 or 81010 or 399284 or 500212 or 500213 or 700005 or 5000819 )
Install detection rules in Elastic Security
Detect M365 Identity Unusual SSO Authentication Errors for User in the Elastic Security detection engine by installing this rule into your Elastic Stack.
To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(external, opens in a new tab or window).