Collection (TA0009)(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.graphactivitylogs and azure.graphactivitylogs.result_signature:200 and azure.graphactivitylogs.properties.c_idtyp:user and azure.graphactivitylogs.properties.client_auth_method:0 and http.request.method:(DELETE or GET or PATCH or POST or PUT) and url.path:((/beta/me/* or /beta/users/* or /v1.0/me/* or /v1.0/users/*) and (*inbox* or *mail* or *messages*) and not *mailboxSettings*) and azure.graphactivitylogs.properties.app_id:* and azure.graphactivitylogs.properties.user_principal_object_id:* and source.as.number:*
Install detection rules in Elastic Security
Detect Microsoft Graph Email Access by Unusual User and 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).