Initial Access (TA0001)(external, opens in a new tab or window)
text code block:data_stream.dataset:azure.aadgraphactivitylogs and user.id:* and source.as.number:(* and not ( 3598 or 7224 or 8068 or 8069 or 8070 or 8071 or 8072 or 8073 or 8074 or 8075 or 8987 or 12076 or 14618 or 15169 or 16509 or 19527 or 36040 or 36384 or 36385 or 36492 or 39111 or 394089 or 396982 ) )
Install detection rules in Elastic Security
Detect Azure AD Graph Access with Unusual User and ASN 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).