threatdeck
Live 13:45 UTC ·

Detection library

KQLHunting query: tune before alertingCloud AI abuse: Azure OpenAI, Vertex AI, self-hosted

Azure OpenAI / AI Foundry account keys listed by a new caller

API keys for Azure OpenAI and other Cognitive Services accounts are read with Microsoft.CognitiveServices/accounts/listKeys/action. Storm-2139 used customer credentials scraped from public sources to reach generative AI services and resell access. This hunt lists callers that listed keys in the last day but not in the previous two weeks.

Log source
Microsoft Sentinel / Log Analytics: AzureActivity
Techniques
AML.T0055 Unsecured Credentials · AML.T0012 Valid Accounts · LLM10 Unbounded Consumption · AML.T0034 Cost Harvesting
MITRE ATT&CK
T1078.004Cloud AccountsT1496.004Cloud Service Hijacking
Reviewed
2026-11-10

Query

let lookback = 14d;
let recent = 1d;
let op = "Microsoft.CognitiveServices/accounts/listKeys/action";
let known_callers = AzureActivity
    | where TimeGenerated between (ago(lookback) .. ago(recent))
    | where OperationNameValue =~ op
    | distinct Caller;
AzureActivity
| where TimeGenerated > ago(recent)
| where OperationNameValue =~ op
| where ActivityStatusValue in~ ("Succeeded", "Success")
| where Caller !in (known_callers)
| summarize Calls = count(), Accounts = make_set(_ResourceId, 50), CallerIPs = make_set(CallerIpAddress, 20),
            FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated)
    by Caller, SubscriptionId
| order by Calls desc

Expected false positives

  • New deployment pipelines or engineers onboarding to an AI project
  • Key rotation automation and secret-sync tools (for example Key Vault sync jobs)

Sources

Reviewed against vendor documentation, not tested in your environment. Defensive use only.

Following

Follow the vendors, products, AI tools, techniques and actors you care about. Matching stories, CVEs and exploited bugs are marked, a Following tab appears in the feed, and returning visits show what changed. Saved only in this browser.

Presets

Get updates

A personal RSS feed of new stories on everything you follow. Paste it into any feed reader, Slack or Teams RSS app.