Discovery (TA0007)(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.aadgraphactivitylogs" and azure.aadgraphactivitylogs.properties.actor_type : "User" and azure.aadgraphactivitylogs.properties.app_id: (* and not ( "74658136-14ec-4630-ad9b-26e160ff0fc6" or "bb8f18b0-9c38-48c9-a847-e1ef3af0602d" or "00000006-0000-0ff1-ce00-000000000000" or "18ed3507-a475-4ccb-b669-d66bc9f2a36e") ) and user.id:*
Install detection rules in Elastic Security
Detect Azure AD Graph Access with Unusual Client and 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).