Potential Azure OpenAI Model Theft

Last updated 15 days ago on 2025-03-20
Created a month ago on 2025-02-25

About

Monitors for suspicious activities that may indicate theft or unauthorized duplication of machine learning (ML) models, such as unauthorized API calls, atypical access patterns, or large data transfers that are unusual during model interactions.
Tags
Domain: LLMData Source: Azure OpenAIData Source: Azure Event HubsUse Case: Model TheftMitre Atlas: T0044Language: esql
Severity
medium
Risk Score
47
False Positive Examples
Authorized model trainingLegitimate high volume data exchanges during scheduled updates
License
Elastic License v2(opens in a new tab or window)

Definition

Integration Pack
Prebuilt Security Detection Rules
Related Integrations

(opens in a new tab or window)

Query
from logs-azure_openai.logs-*
| where azure.open_ai.operation_name == "ListKey" and azure.open_ai.category == "Audit"
| KEEP @timestamp, azure.open_ai.operation_name , azure.open_ai.category, azure.resource.group, azure.resource.name, azure.open_ai.properties.response_length
| stats count = count(), max_data_transferred = max(azure.open_ai.properties.response_length) by azure.resource.group , azure.resource.name
| where count >= 100 or max_data_transferred >= 1000000
| sort count desc

Install detection rules in Elastic Security

Detect Potential Azure OpenAI Model Theft 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(opens in a new tab or window).