Key Eater: Stolen Entra App Secrets Hit 27 Organisations

By 12 min read
Key Eater campaign using stolen Microsoft Entra ID app secrets to reach MSP client tenants

One operator, one rented server and a pile of stolen app passwords reached 27 organisations in about three days, without exploiting a single vulnerability. The security firm Todyl named the campaign Key Eater, because every credential it touched was used to find the next one.

In short: Key Eater is a campaign, first reported on 3 November 2026, in which an unattributed actor signed in to Microsoft Entra ID as other companies’ applications using valid client secrets, harvested more secrets from Azure Key Vault, and used managed service provider (MSP) apps to reach client tenants. Microsoft linked the same infrastructure to an agentic framework that searched public GitHub for leaked secrets. If your organisation has app registrations with client secrets, you should check for it.

What is Key Eater?

Key Eater is a credential-abuse campaign against Microsoft Entra ID, documented by Todyl in a running incident post first published on 3 November 2026 and last updated on 25 November. The operator did not phish people. It signed in as software.

In Entra ID, an app registration is the identity a piece of software uses to call Microsoft APIs, and a service principal is that app’s instance inside a given tenant. Many apps authenticate with a client secret, which is a long password stored in code or configuration. Todyl’s summary of the problem is blunt: “If the credential is valid, the app is in.” A client secret sign-in has no MFA prompt and no user to notice.

Four Key Eater figures: 45 app registrations, 27 organisations, 2,279 mailbox items and 95 percent scripted sign-ins.
A few dozen app secrets reached 27 organisations, and Todyl says even these counts are a floor. Data: Todyl.

Who found it?

Todyl, a security vendor that runs managed detection for MSPs, saw the activity in customer logs and published it while it was still running. Cybersecurity Dive reported it on 4 November and added that Huntress had traced the activity to a hosting IP in Poland.

Two days later, on 5 November, Microsoft Threat Intelligence and Microsoft Security Research published a report on threat actors using agentic AI tooling to find and abuse exposed secrets. Microsoft said the activity overlaps with Todyl’s research and uses the same IP address. Todyl’s 6 November update states that Microsoft’s findings match its own assessment.

How big was the Key Eater campaign?

Todyl’s figures are the most detailed public count. They cover only organisations that send logs to Todyl, so the real scope is likely larger.

Measure Figure (Todyl)
App registrations targeted about 45, at about 18 organisations
Apps that authenticated more than 33
Organisations reached 27, including MSP client tenants
Tenants searched with Microsoft Graph about 25
Files downloaded 81
Mailbox items accessed about 2,279
Sign-in attempts from the main IP in 7 days 412
Sign-ins made by scripted clients 95%

The jump from 18 targeted organisations to 27 reached is the key number. The extra victims were downstream clients of MSPs in government, energy, food and agriculture, transport, construction, legal, education and the nonprofit sector, according to Todyl. Cybersecurity Dive rounded the mailbox figure to about 2,300.

How did the Key Eater attack work?

Todyl and Microsoft describe the same loop from two angles: Todyl from inside victim tenants, Microsoft from its own telemetry across customers.

Step 1: find a working secret

Microsoft reports that, starting in August 2026, the framework submitted large volumes of GitHub code searches. The queries often combined a target organisation’s name with secret keywords, cloud service names or AI provider names. Microsoft does not describe a separate validity check; the sign-in attempt itself was the test.

Todyl adds a detail that complicates the GitHub story. Several of the seed secrets had only ever been used from staff devices and office networks, and some arrived as pairs of current and expired secrets. Todyl says that pattern points to a file store or a live backend, not only to crawling the internet.

Step 2: sign in as the app and ask for tokens

With a valid secret, the operator signed in as the service principal. Todyl saw a consistent sequence: an Azure Resource Manager (ARM) token first, then a Key Vault token, often followed within seconds by tokens for Microsoft Graph, Storage and Cognitive Services. Microsoft lists the same pattern of credential-returning operations: storage keys, App Service settings, connection strings, publishing credentials and AI connections.

Microsoft also observed the tooling adapt on its own. When an ARM or Key Vault call failed because of an outdated API version, it retried about 28, 60 and 80 seconds later with a supported version and succeeded.

Six-stage chain from a secret found on GitHub to downstream MSP client tenants.
Each vault the app could read supplied secrets for the next sign-in. Data: Microsoft Threat Intelligence, Todyl.

Step 3: turn one secret into many

This is where the name comes from. Secrets read from Key Vault became new sign-ins. Todyl saw previously unused apps authenticate within minutes of a vault read, and in one case measured about 2.5 minutes between downloading a connector archive and signing in as that connector’s app.

Microsoft’s fastest example is starker. In one case, it says, an AI agent went from searching GitHub for a client secret to exfiltrating data from Azure Key Vault in five minutes.

Step 4: search, download and read mail

Inside tenants, the operator ran Microsoft Graph searches using a single wildcard, 29 of them across about 25 tenants by Todyl’s count. It then downloaded SharePoint files at roughly one per second, focusing on names containing words like pass, key and access. Todyl says the likely contents included password lists, private keys, VPN profiles, MFA and remote management API keys, backup storage credentials, firewall and RDP configurations, and service account maps.

Microsoft adds that in some cases the agent searched Azure DevOps for secrets and used Run Command on virtual machines.

Step 5: go downstream through the MSP

MSPs manage clients through multitenant apps (one app registration trusted by many tenants) and GDAP, Microsoft’s granular delegated admin privileges for partners. Todyl saw the operator sweep 15 client tenants through one multitenant app in loops about 10 seconds apart. One MSP app obtained a Partner Center token; its GDAP automation app was tried against client tenants without success.

Microsoft separately reports a multitenant app credential stolen at the vendor and used to sign in across dozens of applications in downstream tenants.

Step 6: abuse AI services and adapt

Todyl recorded four AI service tokens issued at two MSPs and says one partner was billed thousands of dollars of API usage in about 10 minutes. After detections fired, the operator switched from curl and Python clients to spoofed browser user agents, then tried replaying users’ refresh tokens, which Conditional Access blocked. Todyl saw no persistence: no new consents, credentials, roles or users.

Key Eater timeline

Timeline from GitHub secret searches in August 2026 to a sweep of 15 client tenants on 3 November.
Months of quiet searching came before three days of fast, scripted access. Data: Microsoft Threat Intelligence, Todyl.
Date (UTC) Event Source
August 2026 Large volumes of GitHub secret searches begin Microsoft
4 to 27 October Azure CLI password spray from 65.87.223.26 (low-to-moderate link) Todyl
28 October First service principal sign-ins from 199.19.77.84 Microsoft
1 November, 08:45 First access with a stolen app credential Todyl
1 November, 14:39 Azure DevOps federated workload identity used Todyl
2 November, 10:39 First replay of a user’s Azure DevOps session token Todyl
2 November, 17:40 First Graph search in a victim tenant; bulk downloads from 20:36 Todyl
3 November, 07:56 Sweep of 15 client tenants; spoofed browser user agents Todyl
3 November, 21:31 Latest attempt seen, a blocked token replay Todyl
5 November Microsoft publishes its report on agentic secret abuse Microsoft

Who is behind Key Eater?

Nobody has said. Todyl describes the activity as unattributed and assesses it as a single operator working from one server with a stock of secrets gathered before 1 November. Todyl initially rated any AI or agentic tooling as low confidence. After Microsoft’s report, Todyl’s update described the root cause as an automated agentic credential crawler.

Microsoft names the framework ARTEX and says threat actors deployed it to scan GitHub. It does not name a group. Earlier coverage on this site explains why ARTEX became popular with attackers and how ARTEX agents stole LLM API keys in a separate campaign.

How does Key Eater compare with Storm-0940?

Key Eater broke one month after another app-identity campaign. Microsoft attributed an October 2026 compromise of ConnectWise Cloud Backup (formerly SkyKick) to Storm-0940, which it describes as China state-aligned. Todyl assesses the two as unrelated.

  Key Eater Storm-0940 (ConnectWise Cloud Backup)
Entry point Victims’ own app secrets One vendor’s app identity
Reported scale 27 organisations (Todyl, a floor) 2,250+ tenants (Microsoft, as cited by Todyl)
Infrastructure 199.19.77.84, Poland-geolocated hosting Different, per Todyl
Persistence None observed Not compared by Todyl
Attribution Unattributed Storm-0940, per Microsoft

The common thread is a trusted app identity used from the wrong place. A similar lesson came from the wfx-loot GitHub Actions secret stealer and the n0n extortion group’s vendor breaches: non-human credentials now open more doors than user passwords.

Who is affected and how do you check exposure?

Any Entra tenant with app registrations that use client secrets is in scope. MSPs and their clients carry the most risk, because one partner app can reach many tenants. Organisations that have ever committed a secret to a public GitHub repository should assume it was found; Microsoft’s advice is to treat exposed secrets as compromised even if the repository was later edited.

Start with three questions:

  • Do any app registrations have secrets you cannot account for, or secrets older than your rotation policy?
  • Can those apps read Key Vaults, storage accounts or SharePoint sites that hold other credentials?
  • Does any multitenant or partner app have access to your tenant that you have not reviewed?

How do you detect Key Eater activity?

Both Todyl and Microsoft publish hunting guidance. Search back as far as log retention allows, and at least to 28 October 2026.

Log sources

  • Entra service principal sign-in logs and non-interactive user sign-in logs
  • Azure Activity logs, plus Key Vault and Storage diagnostic logs
  • Entra audit logs and Azure DevOps audit logs
  • Microsoft 365 unified audit log

Microsoft’s report includes five KQL hunting queries over Defender tables, including EntraIdSpnSignInEvents, GraphAPIAuditEvents and CloudAuditEvents. Todyl provides one query that unions AADServicePrincipalSignInLogs and AADNonInteractiveUserSignInLogs for the main IP. Use the source pages for the full queries.

Behaviours that matter

  • A sign-in error AADSTS7000215 (invalid secret) or AADSTS7000222 (expired secret) followed by a successful sign-in within minutes. Microsoft calls a failure followed by success urgent.
  • One IP authenticating to three or more service principals, with mixed results.
  • One app requesting ARM, Key Vault, Storage and Graph tokens in a short window, then new apps signing in from the same tenant.
  • App-only SharePoint downloads at about one per second after a wildcard Graph search.
  • Fixed retry loops about 11 seconds apart, and bursts of up to 24 sign-ins in 10 seconds.
  • Azure CLI password grant (ROPC) sign-ins from hosting providers, and new Azure DevOps personal access tokens or federated service connections.

Published indicators

Indicator Role Source
199.19.77.84 Main sign-in address Todyl, Microsoft
199.19.77.18 Sign-ins; Tor exit node that may carry unrelated traffic Microsoft
65.87.223.26 Password spray; App Service token attempts Todyl, Microsoft
157.22.126.128 Reconnaissance of Azure AI workloads Microsoft

Todyl also lists client user agents unique to the actor and Microsoft service addresses that should not be blocked. Use its page for those. Earlier advice on spotting machine-speed intrusions is in how to detect AI agent attacks.

How do you stop and clean up Key Eater?

The steps below follow Microsoft’s and Todyl’s order.

  1. Block the operator. Create a Conditional Access named location for 199.19.77.84/32 and a block policy for workload identities assigned to service principals, plus a user-scoped block for replayed sessions. Workload identity policies need Workload ID Premium and cover only single-tenant apps.
  2. Revoke sessions. Revoke Entra sessions, Azure DevOps personal access tokens and SSH keys for affected users.
  3. Strip the app’s credentials. Remove all client secrets, certificates and federated credentials from affected apps, and disable the service principal if needed. Tokens already issued stay valid until they expire.
  4. Rotate downstream. Rotate everything in any Key Vault the app could read, and every credential in documents it opened. As Todyl puts it, “Rotating credentials isn’t enough on its own” if the vault contents leaked.
  5. MSPs: check partners and customers. Review Partner Center access, GDAP relationships and client tenants, and notify customers.
  6. Rotate AI service keys and check billing. Look for unexpected Azure AI and Cognitive Services usage.
  7. Harden for next time. Move apps to managed identities or workload identity federation, restrict who can create app passwords and cap secret lifetimes with app management policies, apply least privilege to service principals, and turn on secret scanning for your GitHub organisations.

What is still unknown?

  • The source of every seed secret. Microsoft points to GitHub crawling. Todyl’s evidence that some secrets were used only from staff devices suggests at least some came from elsewhere.
  • Who the operator is. Neither source attributes the campaign.
  • Whether data left the tenants. Todyl says data was accessed, and recommends treating that as exposure, but saw no extortion, encryption or destruction.
  • Whether Key Vault reads and Azure DevOps PATs were used. Todyl lists both as still under review.
  • How wide it really is. Todyl’s numbers cover only its own log sources.
  • Blocking scope. Todyl’s page gives conflicting advice: earlier updates say to block only the exact IP, while the 6 November update suggests blocking the 199.19.77.0/24 range. Microsoft says to block the exact IP, not the whole network.

The bottom line

Key Eater did not break Entra ID; it used it exactly as designed, with app secrets that were valid and unprotected. One leaked secret led to vaults full of others, and MSP trust turned 18 targets into 27 victims. Find every client secret you own, retire the ones you can, and assume any secret that has touched a public repository is already in someone’s queue.

Sources

This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.

Frequently asked questions

What is the Key Eater campaign?

Key Eater is the name the security firm Todyl gave to a campaign first reported on 3 November 2026. An unattributed operator used stolen client secrets to sign in to Microsoft Entra ID as service principals, harvested more credentials from Azure Key Vault, and used managed service provider apps to reach their client tenants.

Was Key Eater caused by a Microsoft vulnerability?

No. Todyl states that no Microsoft vulnerability is involved. The operator used application credentials that were valid, so Entra ID treated each sign-in as the real app.

How did the attackers get the Entra app secrets?

Todyl says the original source is unknown. Microsoft reports that an agentic AI framework searched public GitHub repositories for exposed secrets from August 2026, and Todyl's later update says Microsoft's findings match its assessment. Todyl also noted that some seed secrets had only been used from staff devices, so not every secret may have come from GitHub.

Which IP address is linked to Key Eater?

Both Todyl and Microsoft name 199.19.77.84 as the main sign-in address. Microsoft also lists 199.19.77.18, a Tor exit node, 65.87.223.26 and 157.22.126.128. Microsoft advises blocking the exact IP rather than the whole hosting network.

Why are MSPs at higher risk from Key Eater?

Managed service providers use multitenant apps and delegated admin (GDAP) relationships to manage many client tenants. A secret for one of those apps can open a route into every customer that trusts it, which is how 18 targeted organisations became 27 reached.

How do I check if my tenant was hit by Key Eater?

Search the Entra service principal and non-interactive sign-in logs for the published IPs back to at least 28 October 2026, including failures. Treat an invalid or expired secret error followed by a success within minutes as urgent, then review Key Vault, Storage, Azure DevOps and Microsoft 365 audit logs.

Is Key Eater related to Storm-0940 and the ConnectWise campaign?

Todyl assesses it as unrelated. Both campaigns abused app identities to reach many tenants, but Key Eater used the victims' own app credentials, different infrastructure, and showed no persistence.

Keep reading

Key EaterMicrosoft Entra IDservice principalsMSP securitycredential theftcloud securityincident response