Credential Access (TA0006)(external, opens in a new tab or window)
Initial Access (TA0001)(external, opens in a new tab or window)
text code block:data_stream.dataset: "azure.activitylogs" and azure.activitylogs.operation_name: ( "MICROSOFT.COGNITIVESERVICES/ACCOUNTS/LISTKEYS/ACTION" or "MICROSOFT.COGNITIVESERVICES/ACCOUNTS/REGENERATEKEY/ACTION" or "MICROSOFT.COGNITIVESERVICES/ACCOUNTS/CONNECTIONS/LISTSECRETS/ACTION" or "MICROSOFT.COGNITIVESERVICES/ACCOUNTS/PROJECTS/CONNECTIONS/LISTSECRETS/ACTION" ) and azure.activitylogs.identity.authorization.evidence.role: ( "Owner" or "Contributor" or "Cognitive Services Contributor" or "Cognitive Services OpenAI Contributor" or "User Access Administrator" ) and event.outcome: "success"
Install detection rules in Elastic Security
Detect Microsoft Foundry Keys or Connection Secrets Accessed by New Principal 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).