Initial Access (TA0001)(external, opens in a new tab or window)
Defense Evasion (TA0005)(external, opens in a new tab or window)
text code block:data_stream.dataset: "azure.signinlogs" and event.action: "Sign-in activity" and event.outcome: "success" and azure.signinlogs.properties.user_type: "Member" and azure.signinlogs.properties.client_app_used: ( "Authenticated SMTP" or "Autodiscover" or "Exchange ActiveSync" or "Exchange Online PowerShell" or "Exchange Web Services" or "IMAP4" or "MAPI Over HTTP" or "Offline Address Book" or "Outlook Anywhere" or "Outlook Service" or "POP3" or "Reporting Web Services" or "Other clients" )
Install detection rules in Elastic Security
Detect Entra ID User Sign-In via Unusual Legacy Authentication Client 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).